Skip to main content
Glama

Cold-Chain Custody Excursion Ledger

extend_custody

Extend the travelling logger with a custody hop signed by the custodian's own issued key (signature = HMAC over the hop, see POST /custodians). Requires Authorization.

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": {
      "chain_id": "<chain_id>",
      "custodian": "<custodian>",
      "signature": "<signature>"
    },
    "name": "extend_custody"
  }
}

Input Schema

NameRequiredDescriptionDefault
storeNo
chain_idYes
custodianYes
signatureYes
jurisdictionNo
custodian_classNo
received_at_minNo
released_at_minNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / signature
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "chain_id",
      -  "custodian"
      -]New value: +[
      +  "chain_id",
      +  "custodian",
      +  "signature"
      +]
  2. First observed

TDQS

C2.9/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 usefully discloses that authorization is required and that the signature is an HMAC over the hop using the custodian's own issued key, referencing POST /custodians. However, it does not explain mutation side effects, failure behavior, idempotency, or what happens to the existing chain.

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 description is a single front-loaded sentence with no obvious filler, and the core operation and signing requirement appear immediately. It is dense but efficient. A slightly clearer separation of authorization and signature mechanics would improve scanability, but the sentence is appropriately sized.

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?

This is a mutation tool with eight parameters, 0% schema description coverage, no annotations, and no output schema. The description covers the central operation, authorization requirement, and signature format, but it omits most parameter meanings and does not describe effects or expected outcomes. For this complexity and lack of structured documentation, it is materially incomplete.

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 eight parameters, so the description must compensate. It adds meaningful detail for 'signature' by defining it as an HMAC over the hop and points to the custodian's issued key, but it leaves chain_id, store, custodian, jurisdiction, custodian_class, received_at_min, and released_at_min unexplained. The description therefore covers only a small fraction of the parameter semantics.

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 description states a specific verb and resource: extending the travelling logger with a custody hop signed by the custodian's issued key. This is clear enough to identify the operation, though it does not distinguish the tool from siblings such as grade_chain or originate_envelope. The term 'travelling logger' adds some ambiguity, but the action remains identifiable.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus the sibling tools custodian_standing, grade_chain, or originate_envelope. It states an authorization prerequisite but does not explain selection criteria or exclusions. Usage is only implied by the tool name and the phrase 'Extend the travelling logger'.

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