Skip to main content
Glama

Cold-Chain Custody Excursion Ledger

grade_chain

Grade a chain at receipt (CLEAN / GRADED / SPOILED). Requires Authorization.

Input Schema

NameRequiredDescriptionDefault
chain_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden; it does add a real disclosure that Authorization is required, which the structured data does not. However it does not say whether grading mutates or locks the chain state, whether it is reversible, or what happens if the chain was already graded — significant gaps for an unannotated tool.

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?

Two short, front-loaded sentences with zero filler; the outcome enum sits right after the verb. It is arguably terse to the point of under-specification, but nothing in it is wasted.

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

Completeness2/5

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

For a tool with no annotations, no output schema, and 0% parameter documentation, the description leaves major questions open: what the three grades mean behaviorally, what is returned, whether the chain is consumed or altered, and what receipt actually refers to. The auth note is a start but far from sufficient.

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 coverage is 0% and the single parameter chain_id is only typed as a string with no description. The description never explains the expected identifier format, where chain_id comes from, or how it relates to 'receipt', so it does not compensate for the coverage gap.

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 ('Grade a chain') plus a scope ('at receipt') and names the concrete outcome states CLEAN / GRADED / SPOILED, so the agent knows what the call produces. It does not differentiate itself from siblings like originate_envelope or extend_custody, and 'grade' vs 'extend custody' is only inferable from the parenthetical.

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?

'at receipt' implies the moment the tool applies, which is a useful timing cue, but there is no explicit when-to-use/when-not guidance and no mention of the sibling alternatives. The agent must infer that grading happens only once the chain arrives.

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