{"uid":"cap_eA9hcytxtoCRYY-nqhKZ8","slug":"tool-schemas-declared-bound-audit-07867155","name":"Tool Schemas Declared-Bound Audit","description":"Compare declared tool-schema declaration request/response byte ceilings with caller limits, including total declared response bytes. Values are declarations, not real traffic or measured costs. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.","url":"https://www.mahastrategies.com/api/v1/verify/tool-schemas/declared-bound-audit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"contracts":{"type":"array","maxItems":32,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"},"maximumRequestBytes":{"type":"integer","maximum":1000000,"minimum":0},"nonpersonalMetadata":{"type":"boolean","const":true},"maximumResponseBytes":{"type":"integer","maximum":1000000,"minimum":0},"maximumTotalResponseBytes":{"type":"integer","maximum":1000000,"minimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.010106","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.010106/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.010106","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.010106","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EjEZpPFr4dje0jId-qvpg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.010106","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits declared tool-schema request/response byte ceilings against caller-specified limits, reporting compliance without executing real traffic.","exampleAgentPrompt":"Audit these 5 tool schema contracts for me — they should be classified as public data, with a maximum request size of 8192 bytes, maximum response size of 16384 bytes, and maximum total response bytes of 65536. Flag anything that exceeds those declared ceilings.","exampleUseCases":[{"title":"Pre-deployment schema size gate","prompt":"Before I deploy my agent's tool suite, audit these 12 tool schema contracts against a 4096-byte request limit, 8192-byte response limit, and 131072-byte total response ceiling — data class is synthetic — and tell me which ones would breach the bounds."},{"title":"Compliance check for public tool catalog","prompt":"I need to validate that our public tool catalog entries all stay within declared byte limits: max request 2048 bytes, max response 4096 bytes, max total response 32768 bytes. Here are the 20 contracts to audit."},{"title":"Routine schema bound review in CI pipeline","prompt":"Run a declared-bound audit on these 8 tool schema contracts — data class public, request ceiling 16384 bytes, response ceiling 32768 bytes, total response 262144 bytes — and return any violations so I can fail the build."}],"resultDescription":"Returns a comparison of each submitted tool schema contract's declared request/response byte ceilings against the caller-specified limits, including total declared response bytes. Identifies which contracts exceed specified bounds. Results are retained for 24 hours; minimal receipt metadata is kept for 90 days. No real traffic is measured; all values are declarations only.","failureModes":["Empty or missing contracts array returns validation error","contracts array exceeding 32 items is rejected","nonpersonalMetadata must be exactly true or request is rejected","dataClass must be 'public' or 'synthetic' or request fails","byte ceiling values exceeding 1,000,000 are rejected","Payment failure via x402 results in 402 response and no audit performed"],"whenToPreferThis":"Use this endpoint when you need a lightweight, offline compliance check of declared tool-schema byte limits without executing real API calls or measuring live traffic. Ideal for CI/CD pipelines, pre-deployment gates, or auditing tool catalogs against organizational size policies. Prefer this over live traffic monitoring when you only need to validate declarations and want fast, stateless results with no side effects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:44:44.644Z","isFirstParty":false,"canonicalSlug":"tool-schemas-declared-bound-audit-07867155"}