{"uid":"cap_g-GUrW_9k-CPVuj_4CiI6","slug":"agentdiet-mcp-schema-tdqs-compiler-9e24c43a","name":"AgentDiet MCP Schema TDQS Compiler","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.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_naC04WATjhGQRloHd74vR","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 MCP schema with TDQS (Token Diet Query Schema) format, delivering high-ratio context compression for AI agent workflows.","exampleAgentPrompt":"Can you fetch me the compressed TDQS-compiled MCP schema from AgentDiet using a GET request so I can see the token compression ratio and the optimized schema output?","exampleUseCases":[{"title":"Reduce agent context window bloat","prompt":"My AI agent keeps hitting context window limits — can you pull the AgentDiet TDQS-compiled MCP schema via GET so I can see how much token compression I'd get and swap in the distilled schema?"},{"title":"Audit compression ROI before integration","prompt":"Before I integrate AgentDiet into my pipeline, can you fetch their MCP schema TDQS compiler output with a GET request so I can check the compression ratio proof they return?"},{"title":"Bootstrap A2A schema for new agent node","prompt":"I'm setting up a new agent node and need the MCP schema in TDQS format — can you call AgentDiet's schema compiler with GET so I can get the distilled schema definition to wire up the node?"}],"resultDescription":"Returns a JSON object with a 'data' field containing the compiled/compressed schema, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%) achieved by the token diet process.","failureModes":["Missing or invalid 'input' object in request body returns a schema validation error","Invalid method enum value (not GET or POST) causes rejection","Upstream schema compilation failure may return non-'ok' status","Payment failure via x402/USDC on Base results in 402 response before processing","Invalid 'type' field (must be 'http') causes input validation error"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, pre-compiled MCP schema in TDQS format with verifiable compression ratios for AI agent context window optimization. It is especially suitable for A2A or B2A workflows on the Base blockchain where x402/USDC micropayment settlement is already in use and you want measurable token cost reduction with an ROI proof in the response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:20.783Z","isFirstParty":false,"canonicalSlug":"agentdiet-mcp-schema-tdqs-compiler-9e24c43a"}