{"uid":"cap_MgZ0fFH3cmidEZGtH8nTD","slug":"mcp-schema-tdqs-compiler-632f5703","name":"MCP Schema TDQS Compiler","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/mcp-schema-tdqs-compiler?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":{"target":{"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_naAVcQVq10kqC3x-HxGJK","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":"Compiles and returns a compressed schema/TDQS representation for a target MCP server, x402 API, or A2A agent endpoint.","exampleAgentPrompt":"Can you compile the TDQS schema for the MCP server at https://example-mcp-server.dev using a GET request so I can inspect its capabilities?","exampleUseCases":[{"title":"Inspect MCP server capabilities","prompt":"Fetch and compile the TDQS schema for the MCP server at https://some-mcp-server.example.com using GET so I can see what tools it exposes."},{"title":"Validate x402 API schema before routing","prompt":"Can you pull the compressed schema for the x402 API at https://api.myservice.dev using GET so I can verify its schema structure before wiring it into my agent pipeline?"},{"title":"Agent discovery for A2A endpoint","prompt":"Compile the TDQS schema for the A2A agent endpoint at https://agent.example.io with a GET method — I need to understand its input/output structure for routing decisions."}],"resultDescription":"Returns a JSON object with a 'data' field containing the compiled schema, a 'status' field ('ok' on success), and a 'roi_proof' object showing the compression ratio percentage (e.g. 91.4% compression). The compiled schema represents the target MCP server or API in a compact TDQS format.","failureModes":["Missing or invalid 'target' query parameter returns an empty or error data payload","Unreachable target URL results in a failed fetch with non-ok status","Invalid HTTP method enum value (not GET or POST) causes schema validation rejection","Payment not settled in USDC on Base results in 402 response before processing","Target endpoint not recognized as a valid MCP/x402/A2A schema source may return empty data object"],"whenToPreferThis":"Use this endpoint when you need a compressed, deterministic TDQS schema representation of a specific MCP server, x402 API, or A2A agent — particularly when building agent routing tables or capability registries. Prefer this over manual schema fetching when you need the compression ratio guarantee and normalized output format that TDQS provides. Best suited for agent infrastructure tooling rather than end-user data retrieval tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:22.740Z","isFirstParty":false,"canonicalSlug":"mcp-schema-tdqs-compiler-632f5703"}