Check up to 32 JSON argument values against a closed, declared scalar tool contract: ty…
Check up to 32 JSON argument values against a closed, declared scalar tool contract: types, required fields, code-point length and exact safe-integer bounds. Rounded fractions/underflow are not integers. Returns unknown fields and mismatches. No remote refere…
by www.mahastrategies.com · discovered, not yet claimed by its owner · updated 2026-10-11
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Check up to 32 JSON argument values against a closed, declared scalar tool contract: types, required fields, code-point length and exact safe-integer bounds. Rounded fractions/underflow are not integers. Returns unknown fields and mismatches. No remote references, arbitrary patterns, tool execution or MCP conformance certification.
Tags: bounded-computation · evidence · deterministic · microproduct · expansion-20261011 · bazaar · declaration-integrity · maha-offer
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-11
{
"arguments": [
{
"name": "count",
"valueJson": "3"
}
],
"dataClass": "synthetic",
"fields": [
{
"maxLength": 80,
"maximum": 10,
"minimum": 1,
"name": "count",
"required": true,
"type": "integer"
}
]
}{
"amountBaseUnits": "4500",
"boundaries": [
"Public or synthetic inputs only. Caller labels are declarations,…"
],
"inputDigest": "sha256:b5960ff60a62defd95105c155b9396fcf240f6ce34ce297a4b336c562…",
"offerId": "tool-argument-validation",
"receiptDigest": "sha256:e588d1fbf79036b3cbf1b375f2d8322d85411b9bcc3af19a8318e1b8d…",
"result": {
"checks": [
{
"codes": [],
"id": "count"
}
],
"consistent": true,
"executionAuthorized": false
},
"version": "maha-microproducts/0.1"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/32111.jsonfor the price and payment options. - Pay. Call
GET https://www.mahastrategies.com/api/v1/micro/tool-argument-validation. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.0045 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.0045 | 0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28 | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4500",
"amountUsd": 0.0045,
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"amountBaseUnits": {
"enum": [
"4500"
],
"type": "string"
},
"boundaries": {
"maxItems": 128,
"minItems": 0,
"type": "array"
},
"inputDigest": {
"maxLength": 71,
"type": "string"
},
"offerId": {
"enum": [
"tool-argument-validation"
],
"type": "string"
},
"receiptDigest": {
"maxLength": 71,
"type": "string"
},
"result": {
"type": "object"
},
"version": {
"enum": [
"maha-microproducts/0.1"
],
"type": "string"
}
},
"required": [
"version",
"offerId",
"amountBaseUnits",
"inputDigest",
"result",
"boundaries",
"receiptDigest"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"amountBaseUnits": "4500",
"boundaries": [
"value"
],
"inputDigest": "string",
"offerId": "tool-argument-validation",
"receiptDigest": "string",
"result": {},
"version": "maha-microproducts/0.1"
},
"type": "string"
}Examples
curl "https://www.mahastrategies.com/api/v1/micro/tool-argument-validation"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://www.mahastrategies.com/api/v1/micro/tool-argument-validation");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://www.mahastrategies.com/api/v1/micro/tool-argument-validation")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- www.mahastrategies.com
- Endpoint
- https://www.mahastrategies.com/api/v1/micro/tool-argument-validation
- Machine-readable
/resources/32111.json