Skip to main content
Glama

Get Shipment Documents

get_documents
Read-only

List shipment documents (BOL, POD, customs forms, etc.). Returns download URLs. Auth required. To fetch the Bill of Lading, pass document_type='bol' — this is how EXTERNAL / brokered (market-carrier) BOLs are returned now, not just Warp-carrier ones.

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": {
      "order_id": "<order_id>"
    },
    "name": "get_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYesOrder ID (typically the same as shipment_id)
document_typeNoFilter to one document type. Common: 'bol' (Bill of Lading — required for external/market carrier BOLs), 'pod' (proof of delivery). Omit to list all documents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds value beyond that by stating it returns download URLs and that authentication is required. It stops short of describing pagination, retention, or what happens when no documents exist, so not a 5.

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?

Four short sentences, front-loaded with what the tool does and what it returns, followed by auth and the BOL special case. The final sentence carries some internal jargon ('Warp-carrier', 'brokered') and could be tightened, but nothing is wasted.

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 two-parameter read tool with full schema coverage and no output schema, the description covers purpose, return shape (download URLs), auth need, and the non-obvious external-carrier BOL behavior. Only minor gaps remain (empty-result behavior, URL expiry), which are low-impact here.

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%, so both parameters are already documented (including the 'bol' and 'pod' values and the omit-to-list-all behavior). The description reinforces the critical document_type='bol' case for external carriers, which adds a little meaning beyond the schema, but largely restates it — 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 ('List shipment documents') and enumerates the resource types returned (BOL, POD, customs forms), so an agent knows exactly what it gets. It does not explicitly contrast itself with any sibling tool (e.g., get_invoice), but no sibling is a document lister, so ambiguity is low.

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

Usage Guidelines4/5

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

Gives concrete routing guidance: when you need the Bill of Lading, pass document_type='bol', and notes that external/brokered market-carrier BOLs are now returned this way rather than only Warp-carrier ones. It lacks explicit when-not-to-use or alternative-tool guidance, but the usage context is clear.

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.