Skip to main content
Glama

Verify result

verify_result
Read-onlyIdempotent

Recompute a prior inventory's audit hash and conservation checks. Pass the prior result object as JSON; tampering or stale factor lineage is flagged.

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": {
      "result_json": "<result_json>"
    },
    "name": "verify_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
result_jsonYesThe full calculate_inventory result, as a JSON string, unchanged.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed1 schema field changed
    • addedInput schema / properties / result_json / description
      Added value: +"The full calculate_inventory result, as a JSON string, unchanged."
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description's added value is the substance of the check: audit hash recomputation, conservation checks, and that tampering or stale factor lineage is surfaced. That is genuine behavioral context beyond the annotations, though it doesn't say whether a failure raises an error or returns a flag.

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

Conciseness5/5

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

Two short sentences with the core action front-loaded and the input requirement plus failure signal following immediately. No filler or repeated annotation content.

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

Completeness4/5

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

For a one-parameter verification tool with an output schema and full annotation coverage, the description supplies purpose, the exact input, and what gets flagged. The only real gap is the shape of the failure outcome (error vs. returned verdict), which matters given the tool's whole point is detecting problems.

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

Parameters3/5

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

Schema coverage is 100% and the schema already says the value is the full calculate_inventory result as an unchanged JSON string. The description reinforces 'prior result object' and explains why it must be unchanged (tampering is flagged), which is a modest addition over the schema rather than new syntax or format guidance.

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

Purpose5/5

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

States a specific verb+resource pair: 'Recompute a prior inventory's audit hash and conservation checks.' It is clearly distinguishable from the sibling calculate_inventory (compute vs. re-verify an existing result) without opening either schema.

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 is implied rather than stated: 'a prior inventory's' and 'the prior result object' signal this runs after calculate_inventory, but there is no explicit 'use this after X' instruction and no exclusions or alternative paths. An agent can infer the context but is not told when verification is warranted.

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.