{"uid":"cap_u-GuT3HbLSk8sl-MDd5qh","slug":"x402-broker-repair-endpoint-mcp-gateway-agentdiet-dev-79d7f15c","name":"X402-BROKER Repair Endpoint (mcp-gateway.agentdiet.dev)","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/repair?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"raw_json":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gH1NJkpq8MzJzc6Dc0284","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a repaired or normalized data payload from the X402-BROKER gateway, settling in USDC on Base via x402 protocol.","exampleAgentPrompt":"Can you send this raw JSON through the AgentDiet X402-BROKER repair endpoint using a GET request and give me back the repaired data and the compression ratio?","exampleUseCases":[{"title":"Repair malformed API response data","prompt":"I have a raw JSON blob that came back malformed from another service — can you run it through the X402-BROKER repair endpoint and tell me what the fixed version looks like and how much it compressed?"},{"title":"Validate and normalize agent pipeline data","prompt":"Before I pass this structured data to the next step in my agent workflow, can you send it to the AgentDiet repair gateway using GET to check and normalize it, then return the status and ROI proof?"},{"title":"Compress and clean data for downstream processing","prompt":"Can you submit this JSON object to the X402-BROKER repair endpoint via GET so I can see both the cleaned output and the compression ratio proof before I store it?"}],"resultDescription":"Returns a JSON object with a 'data' field containing the repaired output, a 'status' field (e.g. 'ok'), and an 'roi_proof' object including a 'compression_ratio_pct' value indicating how much the data was compressed or optimized.","failureModes":["Missing required 'input' field returns validation error","Invalid HTTP method enum value (not GET or POST) causes rejection","Malformed raw_json query parameter may result in parse error","Payment failure or insufficient USDC balance on Base blocks execution","Gateway timeout if upstream MCP server is unresponsive"],"whenToPreferThis":"Choose this endpoint when you need a USDC-settled, x402-protocol-compliant data repair or normalization step with verifiable compression metrics, especially within an agent-to-agent or MCP workflow running on the AgentDiet gateway. Prefer this over generic transformation APIs when you need on-chain payment settlement and an ROI proof of compression.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:17.770Z","isFirstParty":false,"canonicalSlug":"x402-broker-repair-endpoint-mcp-gateway-agentdiet-dev-79d7f15c"}