Skip to main content
Glama

Torivane Logistics Engine

read_shipment

Read-onlyIdempotent

GET /machine/v1/shipments/{logical_shipment_id}; scope shipment:reassess

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": {
      "logical_shipment_id": "<logical_shipment_id>"
    },
    "name": "read_shipment"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo
idempotency_keyNo
receipt_referenceNo
logical_shipment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds one genuinely new fact — the required 'shipment:reassess' scope — but omits return shape, error behavior for unknown ids, and the unusual coupling of a read with a reassess scope.

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

Conciseness3/5

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

It is a single compact line with no wasted words, but it is under-specified rather than concise: the entire content is a route fragment plus a scope, with no front-loaded statement of what the tool does.

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 4 parameters (one nested), no output schema and no parameter descriptions, this definition is far too thin. An agent cannot learn the request wrapper structure, the meaning of the optional fields, or what a successful response contains.

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% across 4 parameters (including a nested 'request' object), so the description must carry the burden. It only surfaces logical_shipment_id via the path template and says nothing about idempotency_key, receipt_reference, or why a GET carries an idempotency key.

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

Purpose3/5

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

The description gives an HTTP verb and resource path (GET .../shipments/{logical_shipment_id}), so an agent can infer it fetches a single shipment by logical id. However, it never states the purpose in plain language and does nothing to distinguish it from siblings such as get_receipt or the shipment-mutating tools (reassess_shipment, activate_shipment).

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 only additional text is a scope string ('scope shipment:reassess'), which is an authorization requirement rather than when-to-use guidance. There is no indication of when this read should be preferred over sibling tools or what preconditions apply.

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