{"uid":"cap_V_df74gbhME6AKry9xcBB","slug":"writerslogic-calibration-coverage-checker-2f1d9626","name":"WritersLogic Calibration Coverage Checker","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/calibration-coverage?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"use":{"type":"object","required":["min","max","unit"],"properties":{"max":{"type":"string","pattern":"^-?\\d{1,15}(\\.\\d{1,12})?$","maxLength":30,"description":"Decimal string such as \"-12.50\" (up to 15 integer and 12 fraction digits). JSON numbers are not accepted: they are binary floats."},"min":{"type":"string","pattern":"^-?\\d{1,15}(\\.\\d{1,12})?$","maxLength":30,"description":"Decimal string such as \"-12.50\" (up to 15 integer and 12 fraction digits). JSON numbers are not accepted: they are binary floats."},"unit":{"type":"string","maxLength":24,"minLength":1},"usedOn":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of the measurement, when different from asOf."},"requiredUncertainty":{"type":"string","pattern":"^-?\\d{1,15}(\\.\\d{1,12})?$","maxLength":30,"description":"Largest acceptable expanded uncertainty, absolute, in `unit`."}},"additionalProperties":false},"asOf":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The reference date for validity; required, never defaulted to today."},"certificate":{"type":"object","required":["unit","ranges","calibratedOn"],"properties":{"unit":{"type":"string","maxLength":24,"minLength":1},"ranges":{"type":"array","items":{"type":"object","required":["min","max"],"properties":{"max":{"type":"string","pattern":"^-?\\d{1,15}(\\.\\d{1,12})?$","maxLength":30,"description":"Decimal string such as \"-12.50\" (up to 15 integer and 12 fraction digits). JSON numbers are not accepted: they are binary floats."},"min":{"type":"string","pattern":"^-?\\d{1,15}(\\.\\d{1,12})?$","maxLength":30,"description":"Decimal string such as \"-12.50\" (up to 15 integer and 12 fraction digits). JSON numbers are not accepted: they are binary floats."},"uncertainty":{"type":"string","pattern":"^-?\\d{1,15}(\\.\\d{1,12})?$","maxLength":30,"description":"Expanded uncertainty over this range, absolute, in `unit`."}},"additionalProperties":false},"maxItems":50,"minItems":1},"validUntil":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due date on the certificate, inclusive."},"calibratedOn":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Calendar date YYYY-MM-DD."},"intervalMonths":{"type":"integer","maximum":120,"minimum":1,"description":"Calibration interval when no due date is printed."}},"additionalProperties":false}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WhVvung-j8Z0GnYCyu_V-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether an instrument's calibration certificate covers a specified measurement range, uncertainty requirement, and is current on given dates","exampleAgentPrompt":"Can you check whether this thermocouple's calibration certificate — calibrated on 2024-03-15, with a 12-month interval, covering -50 to 150 °C with ±0.5 °C uncertainty — is valid as of 2025-01-10 and covers my intended measurement range of 20 to 80 °C with a required uncertainty of no more than ±1.0 °C?","exampleUseCases":[{"title":"Pre-measurement instrument validation","prompt":"Before I accept a reading from this pressure transducer, can you verify its calibration certificate covers 0 to 500 kPa with an uncertainty ≤ 2 kPa? The certificate says it was calibrated on 2024-11-01 for 0 to 600 kPa with ±1.5 kPa uncertainty, valid for 6 months. Today is 2025-04-20 and I'll be using it on 2025-04-21."},{"title":"Receiving calibrated equipment from supplier","prompt":"A supplier just delivered a mass balance they say is calibrated. The certificate shows calibratedOn 2024-09-10, interval 12 months, covering 0 to 200 g with ±0.05 g uncertainty. I need to weigh samples in the 50 to 150 g range with uncertainty ≤ 0.1 g. As of today, 2025-04-20, is this instrument's calibration still current and does it cover my needs?"},{"title":"Audit readiness check for lab instrument","prompt":"For our upcoming audit on 2025-06-01, I need to confirm our pH meter's calibration is still valid. It was calibrated on 2024-12-01, interval 6 months, covering pH 4.0 to 10.0 with ±0.05 pH uncertainty. We measure samples between pH 6.5 and 8.5 requiring uncertainty no larger than ±0.1 pH. Can you check coverage and validity as of 2025-06-01?"}],"resultDescription":"Returns three structured check results: (1) range coverage — whether the intended [min, max] measurement interval falls within the joined calibrated ranges; (2) uncertainty compliance — whether the expanded uncertainty on every used range is within the required limit, or 'unknown' if uncertainty data is missing; (3) currency — whether the calibration is current on the asOf date (and optionally the usedOn date), based on validUntil or calibratedOn + intervalMonths clamped to month end, returning 'unknown' if no due date can be computed. Units must match exactly; no conversion is performed.","failureModes":["Units mismatch between certificate and intended use — returns error or mismatch, no conversion attempted","Missing uncertainty on a certificate range when requiredUncertainty is specified — returns 'unknown' for uncertainty check","No validUntil and no intervalMonths provided — calibration currency returns 'unknown'","Intended range falls outside all calibrated ranges even after joining overlapping segments — range check fails","asOf date not supplied — required field, request will be rejected","Decimal strings provided as JSON numbers instead of strings — schema validation error","Certificate ranges array empty or exceeds 50 items — rejected by schema constraints"],"whenToPreferThis":"Use this endpoint when an AI agent needs a deterministic, rule-based check that a calibration certificate is adequate for a specific measurement — covering range, uncertainty, and validity — without needing to convert units, assess lab accreditation, or evaluate drift. Ideal for procurement acceptance workflows, pre-measurement instrument checks, audit preparation, and any automated pipeline where a calibrated instrument reading is about to be trusted. Prefer this over manual checks or general-purpose reasoning when precision decimal arithmetic and date boundary logic (month-end clamping) are critical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:37:22.528Z","isFirstParty":false,"canonicalSlug":"writerslogic-calibration-coverage-checker-2f1d9626"}