{"uid":"cap_jpDC6LBvRLgY7Kwld75Ur","slug":"mcp-tool-cost-registry-pre-execution-per-tool-cost-estimation-brief-778bccc5","name":"MCP Tool Cost Registry & Pre-Execution Per-Tool Cost Estimation Brief","description":"Paid agent-facing brief on MCP tool cost registry and pre-execution per-tool cost estimation for x402-paid tool servers; browser-action payment receipt verification standard-0. Blunt decision procedure, not marketing.","url":"https://k2so.wrong.systems/api/services/mcp-tool-cost-registry-and-pre-execution-per-too","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"MCP tool cost registry and pre-execution per-tool cost estimation for paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"mcp-tool-cost-registry-and-pre-execution-per-too","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"mcp-tool-cost-registry-and-pre-execution-per-too","provider":"K-2SO"}},"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":"down","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_3eGkx3i-zyWX5u9zK43hB","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":"Returns a paid decision-procedure brief for agents on how to maintain an MCP tool cost registry and estimate per-tool costs before execution on x402-paid tool servers","exampleAgentPrompt":"Give me the decision procedure for building an MCP tool cost registry and doing pre-execution per-tool cost estimation on x402-paid tool servers, including the browser-action payment receipt verification standard.","exampleUseCases":[{"title":"Pre-execution cost gate for agent tool calls","prompt":"Before my agent calls any paid MCP tool, I want a decision procedure it can follow to check the tool's cost against a registry and decide whether to proceed — can you get that brief?"},{"title":"Browser-action payment receipt verification","prompt":"My agent is completing browser-action payments on x402 tool servers — what's the standard procedure it should follow to verify payment receipts before trusting a tool response?"},{"title":"Building a runtime tool cost registry","prompt":"I'm building an autonomous agent that uses multiple paid MCP tools and I need a clear framework for maintaining a cost registry so the agent can estimate total spend before executing a workflow — get me the decision procedure for that."}],"resultDescription":"A structured JSON response containing a prose decision-procedure brief ('brief' field) tailored to MCP tool cost registry and pre-execution cost estimation for x402-paid tool servers, along with metadata including the service slug, topic, generation timestamp, generation source (llm/reasoning/deterministic), and payment confirmation details.","failureModes":["Payment not received or insufficient — endpoint returns 402 with payment instructions","Invalid method (POST/PUT not accepted — only GET/HEAD/DELETE)","Topic override not recognized — may return generic procedure","Service temporarily unavailable — 5xx response","Meta=1 returns free metadata JSON but no decision procedure content"],"whenToPreferThis":"Choose this endpoint when an AI agent needs authoritative, actionable guidance — not generic documentation — on implementing a cost registry for MCP tools and gating tool execution by pre-estimated cost in x402 payment environments. Prefer it over static docs when you need a blunt, agent-optimized decision procedure that covers payment receipt verification standards and is generated fresh with a timestamp.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T10:26:12.057Z","isFirstParty":false}