Skip to main content
Glama

book_batch_and_label

Book a batch of APC shipments with a single service and collection date, then receive one merged PDF containing all labels ready to print.

Instructions

Book multiple APC shipments at once and return a single merged PDF containing every label, ready to print. Use this when the user pastes a list of orders/addresses. All shipments share the same service, collection date and sender. Saves the merged PDF to ~/Downloads/parcel-toolkit/ (overridable via PARCEL_TOOLKIT_LABELS_DIR).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serviceYesAPC delivery service for every shipment in this batch (e.g. "next-day", "next-day-1200", "ND16"). Call list_services for the full catalogue.
collectionDateYesCollection date for every shipment. YYYY-MM-DD or DD/MM/YYYY
readyAtNoTime goods will be ready HH:MM (default 09:00)
closedAtNoTime business closes HH:MM (default 17:00)
senderYesSender / collection address. Same for every shipment in the batch.
shipmentsYesArray of shipments to book. Each entry is one consignment with its own recipient, weight and pieces.
labelFormatNoLabel format for individual labels. PDF recommended — merged output is always PDF regardless.PDF
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the tool saves the merged PDF to a specific directory ('~/Downloads/parcel-toolkit/') and that this can be overridden via an environment variable. It implies booking occurs. However, it does not mention API calls, authorization needs, or error handling, slightly reducing transparency.

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?

The description is three sentences: first states purpose and outcome, second gives usage context, third adds shared properties and output path. It is front-loaded, concise, and every sentence adds value without fluff.

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?

Given the tool's complexity (7 parameters, nested objects, no output schema), the description explains the output as a merged PDF and its save location. However, it does not specify the return value of the tool (e.g., success message or file path) or cover booking confirmations, leaving some gaps for an agent.

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 100%, so baseline is 3. The description adds that all shipments share the same service, collection date, and sender, which is already captured in schema descriptions. The batch context is provided but does not significantly enhance parameter understanding beyond the schema.

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

Purpose5/5

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

The description clearly states the tool's action ('Book multiple APC shipments at once') and its outcome ('return a single merged PDF containing every label, ready to print'). It also distinguishes from sibling tools like 'book_shipment' by specifying batch behavior and usage when pasting a list of addresses. The verb 'book' and resource 'APC shipments' are specific.

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?

The description provides a clear usage hint: 'Use this when the user pastes a list of orders/addresses.' It also notes that all shipments share the same service, collection date, and sender, indicating constraints. However, it does not explicitly name alternative tools or state when not to use it, missing some guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/catrinmdonnelly/apc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server