{"uid":"cap_JF2rOzONwioSjn58gGtpS","slug":"agentdiet-mcp-gateway-guard-endpoint-ede1b6ea","name":"AgentDiet MCP Gateway Guard Endpoint","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/guard?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":{"text":{"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.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0LUN8zeRMJqljOogpx5oP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Acts as a deterministic routing and execution guard node for accessing 31,390+ MCP servers, x402 APIs, and A2A agents, settling micropayments in USDC on Base.","exampleAgentPrompt":"Route my GET request through the AgentDiet MCP gateway guard to fetch data about 'large language models', using HTTP type and GET method, and settle the $0.005 USDC payment on Base.","exampleUseCases":[{"title":"Brokering an MCP tool call","prompt":"I need to call one of the 31,000+ MCP servers through the AgentDiet gateway — send a GET request with the text 'weather forecast tools' and let the guard node route it and settle in USDC."},{"title":"Validating agent workflow execution","prompt":"Run a guard-node check on my A2A agent pipeline by sending a GET through the MCP gateway with input type HTTP and query text 'summarization agent', and show me the ROI proof and compression ratio in the response."},{"title":"Accessing x402-gated API via broker","prompt":"I want to reach an x402 API without building my own payment logic — can you use the AgentDiet guard endpoint with a GET and text query 'code interpreter' to broker the call and pay the $0.005 USDC fee automatically?"}],"resultDescription":"Returns a JSON object with a 'status' field (e.g. 'ok'), a 'data' object containing the routed response payload, and an 'roi_proof' object that includes a compression_ratio_pct metric indicating efficiency of the brokered call.","failureModes":["Insufficient USDC balance causes payment failure and 402 response","Invalid or missing 'type' and 'method' fields in input object return a 400 validation error","Unreachable downstream MCP server results in timeout or error propagation","Malformed queryParams object causes schema validation rejection","Non-whitelisted HTTP methods (anything other than GET or POST) are rejected"],"whenToPreferThis":"Choose this endpoint when you need a single unified broker to access a large catalog of MCP servers, x402 APIs, or A2A agents without managing individual payment channels or protocol handshakes. It is best suited for agents that need deterministic routing with automatic USDC micropayment settlement on Base, especially when you want ROI proof metrics alongside execution results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:55.500Z","isFirstParty":false,"canonicalSlug":"agentdiet-mcp-gateway-guard-endpoint-ede1b6ea"}