{"uid":"cap_Jxcv2xMQeWxwsCPwJVVdA","slug":"tool-schemas-unit-label-consistency-check-f509e5e4","name":"Tool Schemas — Unit-Label Consistency Check","description":"Compare declared request/response coordinates for each tool-schema declaration. UTF-8 bytes, codepoints and tokens stay distinct; no tokenizer, conversion or remote execution. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.","url":"https://www.mahastrategies.com/api/v1/verify/tool-schemas/unit-label-consistency?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"contracts":{"type":"array","maxItems":32,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"},"observations":{"type":"array","maxItems":32,"minItems":1},"nonpersonalMetadata":{"type":"boolean","const":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012304","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.012304/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012304","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012304","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pi0RMNyg07B6Roou2Yvf5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012304","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares declared request and response coordinates in tool-schema declarations to detect unit-label inconsistencies, keeping UTF-8 bytes, codepoints, and tokens distinct without any tokenizer or remote execution.","exampleAgentPrompt":"Can you check these tool schema contracts for unit-label consistency — I want to make sure the request and response coordinates are declaring bytes, codepoints, and tokens in a consistent and non-conflated way? The data is public metadata, nonpersonal only.","exampleUseCases":[{"title":"Audit SDK tool schema declarations","prompt":"I've got a batch of up to 20 tool-schema contracts from our SDK and I want to verify that the unit labels — bytes, codepoints, tokens — are used consistently between request and response fields. Can you run a unit-label consistency check on them? The data is synthetic and nonpersonal."},{"title":"Catch unit-label drift before release","prompt":"Before we ship this release, can you compare the declared coordinates in these tool schemas and flag any places where a request field says 'bytes' but the response field calls the same thing 'codepoints' or vice versa? Use public data class and nonpersonal metadata only."},{"title":"Validate third-party tool contracts","prompt":"We're integrating some third-party tool schemas and I want to make sure their unit labeling is internally consistent — no mixing up of bytes, codepoints, and tokens across the request and response declarations. Can you run the consistency check on up to 32 of them? Mark data class as public."}],"resultDescription":"A report indicating whether unit labels (UTF-8 bytes, codepoints, tokens) are used consistently across declared request/response coordinates in each submitted tool-schema. Highlights any mismatches or inconsistencies between coordinate declarations. Results are retained for 24 hours; minimal receipt metadata for 90 days.","failureModes":["Submitting more than 32 contracts or observations in a single call returns a validation error","Setting nonpersonalMetadata to false (or omitting the const:true) is rejected","Providing an unsupported dataClass value other than 'public' or 'synthetic' causes a schema error","Empty contracts or observations arrays are not accepted (minItems: 1)","Network or payment failure may result in no result being returned and a 402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need to verify that tool-schema declarations maintain unit-label coherence across request and response coordinates specifically — particularly when working with schemas that distinguish UTF-8 bytes, codepoints, and tokens and you want to catch conflation before deployment. This is the right choice for offline, nonpersonal metadata validation of typed tool schemas without any tokenizer, conversion, or remote execution dependency. Prefer this over general-purpose schema validators when the specific concern is unit-label consistency rather than structural or type correctness.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:46:52.346Z","isFirstParty":false,"canonicalSlug":"tool-schemas-unit-label-consistency-check-f509e5e4"}