{"uid":"cap_dvjX2ZHoBuYbJZZtjDgA2","slug":"agent-tool-router-trust-layer-ee5eac45","name":"Agent Tool Router + Trust Layer","description":"Finds and ranks machine-payable services for an agent capability.","url":"https://mcp.dropenginehq.com/api/route-tool?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","maxLength":300},"capability":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_.-]*$","maxLength":80,"minLength":2},"constraints":{"type":"object","properties":{"max_price_usd":{"type":"number","maximum":1000000,"minimum":0},"max_latency_ms":{"type":"integer","maximum":600000,"minimum":1},"min_success_rate":{"type":"number","maximum":1,"minimum":0}},"additionalProperties":false},"preferences":{"type":"object","properties":{"optimize_for":{"enum":["cheapest","fastest","quality","reliability","balanced"],"type":"string"}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"cached":false,"success":true,"degraded":true,"capability":"crypto_price","checked_at":"2026-01-01T00:00:00.000Z","match_found":false,"recommended":null,"alternatives":[],"routing_reason":[],"candidates_found":0,"registry_sources":["local_registry"],"candidates_after_filters":0}},"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_LQ9I6KM8gPmm6jsFANigB","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":"Finds, ranks, and recommends machine-payable services for a given agent capability query, applying price, latency, and quality constraints.","exampleAgentPrompt":"Find me the best machine-payable service for crypto price lookups — optimize for speed, keep it under $0.005 per call, and make sure it has at least a 95% success rate.","exampleUseCases":[{"title":"Route to cheapest web scraping tool","prompt":"My agent needs to scrape public web pages — find me the cheapest available machine-payable service for structured web extraction, with a max latency of 3000ms."},{"title":"Discover reliable token audit service","prompt":"I'm building an agent that audits EVM tokens before trades — route me to the most reliable token security service available, optimized for quality, and cap the price at $0.01 per call."},{"title":"Find fastest crypto price API","prompt":"My trading bot needs real-time crypto prices — find me the fastest available machine-payable service for the crypto_price capability, optimized for speed with a max latency of 200ms."}],"resultDescription":"Returns a JSON object indicating whether a matching service was found, the recommended service endpoint with its details, a list of alternative candidates, routing reasons explaining the recommendation, the number of candidates found and filtered, registry sources queried, and whether the result is cached or degraded.","failureModes":["No matching service found for the requested capability (match_found: false, recommended: null)","All candidates filtered out by constraints (candidates_after_filters: 0)","Registry sources unavailable, returning degraded response","Invalid capability name format (must match ^[a-zA-Z][a-zA-Z0-9_.-]*$)","Query string exceeds 300 character limit","Price or latency constraints out of valid range"],"whenToPreferThis":"Use this endpoint when an AI agent needs to dynamically discover and select the best machine-payable API for a given capability at runtime, especially when multiple competing services exist and you want constraint-based filtering (price, latency, reliability) plus optimization preferences. Prefer this over hardcoding service URLs when building adaptive agentic workflows that should route to the cheapest, fastest, or highest-quality provider automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:31:00.350Z","isFirstParty":false,"canonicalSlug":"agent-tool-router-trust-layer-ee5eac45"}