Skip to main content
Glama

Compute Ledger

Verify inventory chain

verify_inventory_chain
Read-onlyIdempotent

Verify an agent's inventory hash chain independently of compute work.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "verify_inventory_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesId of the agent whose compute or inventory is recorded or read.

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 / agent_id / description
      Added value: +"Id of the agent whose compute or inventory is recorded or read."
  3. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds one meaningful behavioral fact — that verification is decoupled from compute work — but says nothing about failure modes (what a broken chain looks like) or any ordering requirements.

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?

One front-loaded sentence with no filler; the scope qualifier arrives before any potential ambiguity. Nothing to trim and nothing repeated from the title.

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?

The tool is low-complexity (one documented parameter, an output schema, rich annotations), so the description need not explain return values. A brief note on the relationship to verify_chain or on preconditions for a verifiable chain would make it fully complete.

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?

With 100% schema coverage on a single required agent_id, the schema already carries the parameter documentation. The description adds no meaning beyond it, such as whether the id refers to the recording agent or a chain owner, so the baseline 3 applies.

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?

States a specific verb and resource ("verify an agent's inventory hash chain") plus a scope qualifier ("independently of compute work") that implicitly separates it from the sibling verify_chain. It stops short of naming the alternative, so an agent must infer that verify_chain covers the compute-side chain.

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?

"Independently of compute work" hints at when this tool is preferred over compute-chain verification, but there is no explicit when-to-use, when-not, or prerequisite statement (e.g., must inventory have been recorded via record_inventory first). Usage is implied rather than stated.

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.