Skip to main content
Glama

bulk_create_parcels

Idempotent

Validate or book up to 100 parcels in one batch with per-item error isolation and invoice idempotency; use dry_run to preview before creating real shipments.

Instructions

Validate or book up to 100 parcels in a single batch with per-item error isolation, invoice idempotency, and optional dry_run preview mode. STATE-MUTATING ACTION (unless dry_run=true): Returns total, succeeded, failed, and per-item results.

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": {
      "items": "<items>"
    },
    "name": "bulk_create_parcels"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesArray of parcel creation objects (1 to 100 items)
dry_runNoIf true, runs the entire batch in dry-run validation mode without creating real upstream shipments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.5

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true, and the description reinforces the mutation with the important nuance 'STATE-MUTATING ACTION (unless dry_run=true)', which the annotations do not capture. It also adds genuinely new behavior: per-item error isolation and invoice-based idempotency, plus the returned counters. It does not describe what happens to already-created items after a mid-batch failure, which is the main remaining behavioral 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?

Two dense, front-loaded sentences: purpose and batch bound first, mutation warning and return shape second. No filler or restated name/title, and the dry_run caveat is attached directly to the mutation warning where it matters.

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?

With only two parameters, full schema coverage, and annotations covering safety/idempotency, the description is nearly sufficient, and it compensates for the absent output schema by naming the return fields (total, succeeded, failed, per-item results). It could go further on partial-batch failure semantics and retry behavior given the openWorldHint.

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 the baseline is 3 and the schema already documents both top-level parameters and every item field. The description adds the 1-100 batch bound and the notion that 'invoice' doubles as an idempotency key, which is meaningful beyond the schema, but it does not explain item-level fallbacks such as courier 'auto'.

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 uses a specific verb+resource ('Validate or book ... parcels') and adds distinguishing scope ('up to 100 parcels in a single batch'), which clearly separates it from single-item siblings like create_parcel. It stops short of naming the alternative tool explicitly, so an agent must infer the batch-vs-single split from the word 'bulk/batch'.

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

Usage Guidelines3/5

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

It implies when the tool is appropriate (batch of up to 100) and flags the dry_run preview path, but offers no explicit 'use this instead of X when Y' routing or prerequisites such as required credentials or item validation rules. Usage is inferable rather than stated.

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