{
  "x402Version": 2,
  "id": 32111,
  "slug": "32111",
  "resource": "https://www.mahastrategies.com/api/v1/micro/tool-argument-validation",
  "description": "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.",
  "type": "http",
  "serviceName": "Tool Argument Contract Check",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786099228/bazaar-icons/1a820036513dff1d.png",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4500",
      "amountUsd": 0.0045,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "arguments": [
              {
                "name": "count",
                "valueJson": "3"
              }
            ],
            "dataClass": "synthetic",
            "fields": [
              {
                "maxLength": 80,
                "maximum": 10,
                "minimum": 1,
                "name": "count",
                "required": true,
                "type": "integer"
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "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"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "arguments": {
                    "maxItems": 32,
                    "minItems": 0,
                    "type": "array"
                  },
                  "dataClass": {
                    "enum": [
                      "public",
                      "synthetic"
                    ],
                    "type": "string"
                  },
                  "fields": {
                    "maxItems": 32,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "dataClass",
                  "fields",
                  "arguments"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "declaration-integrity": {
      "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/tool-argument-validation",
      "declarationDigest": "sha256:7294873b66dff4248199845370f2057653556a77b11aeb03fcfc8b72a91e54a0",
      "metadataVersion": "2026-08-10"
    },
    "maha-offer": {
      "amount": "4500",
      "asset": "USDC",
      "assetDecimals": 6,
      "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/tool-argument-validation",
      "declarationInline": "compact",
      "declarationUrl": "https://www.mahastrategies.com/api/discovery/x402-offers/tool-argument-validation",
      "fullSourceTextStored": false,
      "maxRequestBytes": 32768,
      "method": "POST",
      "network": "eip155:8453",
      "offerId": "tool-argument-validation",
      "payableInProduction": true,
      "status": "available",
      "verbatimExcerptsRetained": false
    }
  },
  "tags": [
    "bounded-computation",
    "evidence",
    "deterministic",
    "microproduct",
    "expansion-20261011",
    "bazaar",
    "declaration-integrity",
    "maha-offer"
  ],
  "sourceHost": "www.mahastrategies.com",
  "lastUpdated": "2026-10-11T10:37:00.3Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-11T10:37:00.092Z"
  },
  "metadata": {
    "serviceName": "Tool Argument Contract Check",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786099228/bazaar-icons/1a820036513dff1d.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "arguments": [
                {
                  "name": "count",
                  "valueJson": "3"
                }
              ],
              "dataClass": "synthetic",
              "fields": [
                {
                  "maxLength": 80,
                  "maximum": 10,
                  "minimum": 1,
                  "name": "count",
                  "required": true,
                  "type": "integer"
                }
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "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"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "arguments": {
                      "maxItems": 32,
                      "minItems": 0,
                      "type": "array"
                    },
                    "dataClass": {
                      "enum": [
                        "public",
                        "synthetic"
                      ],
                      "type": "string"
                    },
                    "fields": {
                      "maxItems": 32,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "dataClass",
                    "fields",
                    "arguments"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "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"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "declaration-integrity": {
        "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/tool-argument-validation",
        "declarationDigest": "sha256:7294873b66dff4248199845370f2057653556a77b11aeb03fcfc8b72a91e54a0",
        "metadataVersion": "2026-08-10"
      },
      "maha-offer": {
        "amount": "4500",
        "asset": "USDC",
        "assetDecimals": 6,
        "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/tool-argument-validation",
        "declarationInline": "compact",
        "declarationUrl": "https://www.mahastrategies.com/api/discovery/x402-offers/tool-argument-validation",
        "fullSourceTextStored": false,
        "maxRequestBytes": 32768,
        "method": "POST",
        "network": "eip155:8453",
        "offerId": "tool-argument-validation",
        "payableInProduction": true,
        "status": "available",
        "verbatimExcerptsRetained": false
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "www.mahastrategies.com",
    "manifest_name": "www.mahastrategies.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "amountBaseUnits": "4500",
      "boundaries": [
        "value"
      ],
      "inputDigest": "string",
      "offerId": "tool-argument-validation",
      "receiptDigest": "string",
      "result": {},
      "version": "maha-microproducts/0.1"
    },
    "type": "string"
  }
}