{"uid":"cap_SxYykXkiZzbM7WBmUUOl-","slug":"genesis-agent-tools-tool-contract-lint-8487f1af","name":"GENESIS Agent Tools — Tool Contract Lint","description":"Pay-per-call x402 APIs for autonomous agents on Base USDC: API compatibility analysis, bounded HTTP/JSON workflows, URL evidence analysis, crypto price consensus, and agent/MCP readiness checks.","url":"https://genesis-agent-tools.genesisagenttools.workers.dev/api/tools/tool-contract-lint?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["tool"],"properties":{"tool":{"type":"object"}}},"responseSchema":{"type":"object","properties":{"valid":{"type":"boolean"},"findings":{"type":"array"}}},"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_7JgxbXCBCLOTW-j42JDmo","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":"Validates and lints an agent tool definition object for API compatibility and correctness, returning a validity flag and list of findings.","exampleAgentPrompt":"Can you lint this tool definition object and tell me if it's valid and what issues it has before I deploy it to my agent?","exampleUseCases":[{"title":"Pre-deployment tool contract check","prompt":"Before I publish this tool to my agent fleet, can you run it through the linter and tell me if it's valid and flag any issues?"},{"title":"MCP tool schema debugging","prompt":"I'm getting weird errors from my MCP tool — can you lint the tool definition object and tell me exactly what findings come back?"},{"title":"Agent readiness audit","prompt":"Can you check this tool contract object for any compatibility problems or missing fields that would prevent it from working with an autonomous agent?"}],"resultDescription":"Returns a JSON object with a boolean 'valid' field indicating whether the tool contract passes all checks, and a 'findings' array listing any issues, warnings, or errors detected in the tool definition.","failureModes":["Missing required 'tool' field in request body returns validation error","Malformed or non-object 'tool' value may cause parsing failure","Payment not provided or insufficient USDC results in HTTP 402 response","Empty tool object may return findings without meaningful lint results","Network timeout to workers.dev endpoint"],"whenToPreferThis":"Use this endpoint when you need to validate an agent or MCP tool definition object before deployment, especially in x402 pay-per-call agent workflows where correctness is critical. Prefer this over manual schema inspection when you need structured findings with a clear validity signal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:36:39.919Z","isFirstParty":false,"canonicalSlug":"genesis-agent-tools-tool-contract-lint-8487f1af"}