{"uid":"cap_W3RGlyOyBZmYeGSNayz3L","slug":"x402-broker-mcp-gateway-preflight-849cee6f","name":"X402-BROKER MCP Gateway Preflight","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/preflight?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":{"url":{"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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XIIZEZ5cv6w1OObLG8d8l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a preflight check on an HTTP endpoint to determine routing, payment requirements, and execution metadata before committing to a paid call through the MCP/x402 broker network.","exampleAgentPrompt":"Before we call that MCP server at https://api.example.com/mcp/tool, can you run a preflight check on it using the X402-BROKER gateway to see if it's reachable, what payment it requires, and whether it's worth routing through?","exampleUseCases":[{"title":"Pre-flight check before agent dispatch","prompt":"I want to call the tool at https://search.agentservice.io/v1/run via GET — can you do a preflight check through the X402-BROKER to confirm it's up, see what payment is required, and get the routing metadata before we actually execute it?"},{"title":"Discovering x402 payment requirements","prompt":"Before my agent spends any USDC, can you probe https://data.agentdiet.dev/v1/weather with a GET request through the MCP gateway preflight so we know the cost and whether it accepts x402 micropayments?"},{"title":"Validating MCP server reachability","prompt":"Check if the MCP server at https://mcp.mytool.dev/v1/execute is accessible and properly registered in the broker network — do a GET preflight and tell me the status and any compression or ROI proof it returns."}],"resultDescription":"Returns a JSON object with a status field ('ok' or error), a data object containing routing and endpoint metadata, and an roi_proof object showing compression ratio percentage — allowing an agent to confirm reachability, payment requirements, and efficiency of routing before committing to the full paid call.","failureModes":["Target URL unreachable or times out — returns non-ok status","Invalid or missing 'url' query parameter — schema validation error","Target endpoint is not an x402/MCP-compatible service — data may be empty or status non-ok","Payment settlement failure on Base/USDC layer — call may not complete","Rate limiting or quota exhaustion on the broker gateway"],"whenToPreferThis":"Use this endpoint when an AI agent needs to validate whether a downstream MCP server, x402 API, or A2A agent endpoint is reachable and payment-ready before committing to execution. Prefer it over direct calls when operating in a multi-agent workflow where cost discovery, routing validation, and ROI estimation are required upfront. It is the right choice when integrating with the AgentDiet broker network's 31,000+ registered services and you need deterministic preflight intelligence rather than blind dispatch.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:28.180Z","isFirstParty":false,"canonicalSlug":"x402-broker-mcp-gateway-preflight-849cee6f"}