Skip to main content
Glama

batch_book_shipments

Destructive

Book up to 25 shipments in one batch after verifying the endpoint and confirming details. Use it to process multiple courier orders together and avoid replaying uncertain batches.

Instructions

Book multiple shipments (local cap 25). Requires verified LCS_BATCH_ENDPOINT and explicit user confirmation. Never replay an uncertain batch.

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": {
      "packets": "<packets>"
    },
    "name": "batch_book_shipments"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
packetsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructive=true, openWorld=true and idempotentHint=false, so those warnings are structured. The description still earns credit by adding the external dependency (verified batch endpoint), the human-in-the-loop confirmation requirement, and the no-replay rule that operationalizes non-idempotency. It does not describe partial-success behavior when some packets in a batch fail, which is the main remaining gap.

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?

Three short sentences, front-loaded with purpose, then preconditions, then the safety rule. Nothing is padded and no sentence merely restates the tool name.

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

Completeness3/5

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

For a destructive, non-idempotent batch mutation over a large nested schema with no output schema, the description covers preconditions well but leaves the response shape (per-packet success/failure?) and the `confirm` flag's mechanics unexplained. An agent could invoke it but might mishandle partial results.

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 description coverage is 0% at the top level, so the description is expected to do heavy lifting. It only partially compensates: it restates the 25-item cap already encoded as maxItems and hints at confirmation, but never explains that the `confirm` boolean must be set true or how the 20+ nested Packet fields behave (mostly `default: "self"` sentinels).

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?

"Book multiple shipments" is a specific verb plus resource, and the "(local cap 25)" qualifier makes the batch scope explicit, which implicitly separates it from the singular book_shipment sibling. It stops short of naming that sibling outright, so the differentiation is inferable rather than stated.

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 preconditions: a verified LCS_BATCH_ENDPOINT and explicit user confirmation, plus a prohibition ("Never replay an uncertain batch"). It does not explicitly route the agent to book_shipment for single-shipment cases, but the batch framing and cap supply usable context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.