Skip to main content
Glama

Verify a claim with a signed receipt

verify_claim
Read-only

Verify a structured arithmetic, formal policy/business-rules (exact SMT), cash-flow (XNPV/XIRR), A/B test, statistics, shadow, ephemeris or route claim with a bounded native engine. Returns a model-scoped verdict and portable Ed25519 server receipt; never truth, authenticity, financial, legal or fraud certification. Route claims explicitly distinguish optimality from a supplied tour total. Native failures return no scientific verdict. Parameters and examples: /verify and /docs/mcp/.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "<domain>",
      "parameters": "<parameters>"
    },
    "name": "verify_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
claimNo
domainYes
parametersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / claim / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "claimed_total_km": {
      -        "maximum": 1000000000000,
      -        "minimum": 0,
      -        "type": "number"
      -      },
      -      "kind": {
      -        "enum": [
      -          "optimality",
      -          "tour_total"
      -        ],
      -        "type": "string"
      -      },
      -      "order": {
      -        "items": {
      -          "maximum": 255,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "maxItems": 256,
      -        "minItems": 2,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "claimed_total_km"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "claimed_value": {
      -        "maximum": 1e+300,
      -        "minimum": -1e+300,
      -        "type": "number"
      -      },
      -      "kind": {
      -        "enum": [
      -          "irr",
      -          "npv"
      -        ],
      -        "type": "string"
      -      },
      -      "tolerance_absolute": {
      -        "maximum": 1000000000000,
      -        "minimum": 0,
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "claimed_value"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "alpha": {
      -            "default": 0.05,
      -            "maximum": 0.5,
      -            "minimum": 0.000001,
      -            "type": "number"
      -          },
      -          "direction": {
      -            "default": "any",
      -            "enum": [
      -              "any",
      -              "positive",
      -              "negative"
      -            ],
      -            "type": "string"
      -          },
      -          "kind": {
      -            "const": "significant_difference",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "kind"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "claimed_lift": {
      -            "maximum": 1,
      -            "minimum": -1,
      -            "type": "number"
      -          },
      -          "kind": {
      -            "const": "absolute_lift",
      -            "type": "string"
      -          },
      -          "tolerance_absolute": {
      -            "maximum": 1,
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "kind",
      -          "claimed_lift"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "claimed_total_km": {
      +        "maximum": 1000000000000,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "kind": {
      +        "enum": [
      +          "optimality",
      +          "tour_total"
      +        ],
      +        "type": "string"
      +      },
      +      "order": {
      +        "items": {
      +          "maximum": 255,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "maxItems": 256,
      +        "minItems": 2,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "claimed_total_km"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "claimed_value": {
      +        "maximum": 1e+300,
      +        "minimum": -1e+300,
      +        "type": "number"
      +      },
      +      "kind": {
      +        "enum": [
      +          "irr",
      +          "npv"
      +        ],
      +        "type": "string"
      +      },
      +      "tolerance_absolute": {
      +        "maximum": 1000000000000,
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "claimed_value"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "alpha": {
      +            "default": 0.05,
      +            "maximum": 0.5,
      +            "minimum": 0.000001,
      +            "type": "number"
      +          },
      +          "direction": {
      +            "default": "any",
      +            "enum": [
      +              "any",
      +              "positive",
      +              "negative"
      +            ],
      +            "type": "string"
      +          },
      +          "kind": {
      +            "const": "significant_difference",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "kind"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "claimed_lift": {
      +            "maximum": 1,
      +            "minimum": -1,
      +            "type": "number"
      +          },
      +          "kind": {
      +            "const": "absolute_lift",
      +            "type": "string"
      +          },
      +          "tolerance_absolute": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "claimed_lift"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "kind": {
      +        "enum": [
      +          "verified_clean",
      +          "invariants_hold"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / domain / enum
      Previous value: -[
      -  "numbers",
      -  "shadow",
      -  "ephemeris",
      -  "statistics",
      -  "route",
      -  "cashflow",
      -  "ab_test"
      -]New value: +[
      +  "numbers",
      +  "policy",
      +  "shadow",
      +  "ephemeris",
      +  "statistics",
      +  "route",
      +  "cashflow",
      +  "ab_test"
      +]
  2. Changed6 schema fields changed
    • removedInput schema / properties / claim / additionalProperties
      Removed value: -false
    • addedInput schema / properties / claim / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "claimed_total_km": {
      +        "maximum": 1000000000000,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "kind": {
      +        "enum": [
      +          "optimality",
      +          "tour_total"
      +        ],
      +        "type": "string"
      +      },
      +      "order": {
      +        "items": {
      +          "maximum": 255,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "maxItems": 256,
      +        "minItems": 2,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "claimed_total_km"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "claimed_value": {
      +        "maximum": 1e+300,
      +        "minimum": -1e+300,
      +        "type": "number"
      +      },
      +      "kind": {
      +        "enum": [
      +          "irr",
      +          "npv"
      +        ],
      +        "type": "string"
      +      },
      +      "tolerance_absolute": {
      +        "maximum": 1000000000000,
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "claimed_value"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "alpha": {
      +            "default": 0.05,
      +            "maximum": 0.5,
      +            "minimum": 0.000001,
      +            "type": "number"
      +          },
      +          "direction": {
      +            "default": "any",
      +            "enum": [
      +              "any",
      +              "positive",
      +              "negative"
      +            ],
      +            "type": "string"
      +          },
      +          "kind": {
      +            "const": "significant_difference",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "kind"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "claimed_lift": {
      +            "maximum": 1,
      +            "minimum": -1,
      +            "type": "number"
      +          },
      +          "kind": {
      +            "const": "absolute_lift",
      +            "type": "string"
      +          },
      +          "tolerance_absolute": {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "claimed_lift"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  }
      +]
    • removedInput schema / properties / claim / properties
      Removed value: -{
      -  "claimed_total_km": {
      -    "maximum": 1000000000000,
      -    "minimum": 0,
      -    "type": "number"
      -  },
      -  "kind": {
      -    "enum": [
      -      "optimality",
      -      "tour_total"
      -    ],
      -    "type": "string"
      -  },
      -  "order": {
      -    "items": {
      -      "maximum": 255,
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    "maxItems": 256,
      -    "minItems": 2,
      -    "type": "array"
      -  }
      -}
    • removedInput schema / properties / claim / required
      Removed value: -[
      -  "kind",
      -  "claimed_total_km"
      -]
    • removedInput schema / properties / claim / type
      Removed value: -"object"
    • changedInput schema / properties / domain / enum
      Previous value: -[
      -  "numbers",
      -  "shadow",
      -  "ephemeris",
      -  "statistics",
      -  "route"
      -]New value: +[
      +  "numbers",
      +  "shadow",
      +  "ephemeris",
      +  "statistics",
      +  "route",
      +  "cashflow",
      +  "ab_test"
      +]
  3. Added

TDQS

B3.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnly/openWorld/destructive annotations, the description discloses the return contract (model-scoped verdict plus a portable Ed25519 server receipt), the scope limit (not a certification of truth, authenticity, financial, legal or fraud status), the failure mode (native failures yield no scientific verdict), and a domain-specific caveat distinguishing route optimality from a supplied tour total. That is meaningful behavioral context; it stops short of 5 only because cost, bounds and idempotency behavior of repeated verification are not addressed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence front-loads the action and the full claim taxonomy, then adds caveats in decreasing order of importance with no filler or repetition. The trailing documentation pointer is the weakest element, substituting a URL for explanation, but the overall text is dense and well ordered.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a verification tool with no output schema and a highly branched nested input, the description covers the verdict/receipt contract and the epistemic limits well. It is incomplete on the input side: the nested claim union and the free-form 'parameters' object are not explained, and the only compensation is an external docs pointer that an agent may not be able to follow at call time.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for three parameters whose 'claim' field is a deeply nested anyOf across many domain-specific shapes, and the description adds almost nothing -- it defers to '/verify and /docs/mcp/' rather than explaining field meaning. The one genuine hint is that route claims separate optimality from a supplied tour total, which explains one branch of the union, but domain/parameters semantics and the per-domain shape of 'parameters' remain undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'verify' and the resource 'structured claim' are stated precisely, and the description enumerates the exact claim families (arithmetic, SMT policy, XNPV/XIRR, A/B, statistics, shadow, ephemeris, route) which maps cleanly onto the domain enum. It falls short of a 5 because it never distinguishes itself from sibling tools that appear to cover the same ground (verify_policy, check_arithmetic, check_ephemeris, evaluate_ab_test), leaving the agent to guess which entry point to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage scope is implied by the domain list, and the disclaimer ('never truth, authenticity, financial, legal or fraud certification') plus 'native failures return no scientific verdict' set expectations about results. However, there is no explicit when-to-use versus the overlapping siblings, and no stated prerequisites or conditions under which a caller should prefer a domain-specific verifier instead.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources