Skip to main content
Glama
Kodeas
by Kodeas

Create shipment batch

deftship_create_batch

Create a batch of up to 1,000 USPS shipments that share a shipper and service. Validates shipments asynchronously without making payments.

Instructions

Create a shipment batch (beta; own-USPS-account only) with up to 1,000 shipments that share a shipper and service. Items are validated asynchronously; poll deftship_get_batch until status is 'ready', then deftship_ship_batch. Does not spend money yet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serviceYesService code applied to all shipments (e.g. 'USPS-3').
shipper_idYesShipper id to use for the batch.
batch_shipmentsYesShipments to include.
Behavior4/5

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

Discloses asynchronous validation, beta status, and USPS-account restriction. Annotations indicate mutation but description adds concrete behavioral context beyond annotations.

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 sentences, perfectly sized: first defines purpose, second explains async behavior and next steps. No unnecessary words.

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?

Covers the creation workflow and async validation. Missing what the tool returns (e.g., batch ID), but the schema and sibling names fill most gaps. Still leaves a small gap for the 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. Description does not add any parameter info beyond what the schema already provides.

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?

Description clearly states the verb 'Create', resource 'shipment batch', and key constraints: beta, own-USPS-account only, up to 1,000 shipments, sharing shipper and service. This distinguishes it from siblings like deftship_get_batch and deftship_ship_batch.

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?

Provides explicit workflow: poll deftship_get_batch until 'ready', then deftship_ship_batch. Clarifies that it does not spend money yet. Lacks explicit when-not-to-use but strongly implies the context.

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/Kodeas/deftship-mcp'

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