Skip to main content
Glama
xentral

shiplabel-mcp

by xentral

create_label

Generate a shipping label from a shipment request containing carrier, addresses, parcels, and label format. Returns tracking information and base64-encoded label.

Instructions

Create a shipping label from a canonical shipment request.

request is a canonical shipment request: {carrier: {code, product}, sender, recipient, parcels: [{id, weight_kg, dimensions_cm}], references, label: {format}}. Addresses need name/street/postal_code/city/country.

carrier overrides request.carrier.code when set. config supplies carrier credential keys (e.g. dhl_username) merged over the environment; use it for ad-hoc testing without setting SHIPLABEL_* env vars. include_label=false returns a compact tracking-only reply without the base64 label.

Returns the shipment number and, per parcel, the tracking number/URL, label format and (unless disabled) the base64-encoded label.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
configNo
carrierNo
requestYes
include_labelNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description discloses behavioral traits: input structure, override logic, optional output suppression, and return format. It mentions that config is for testing, implying normal credential loading from environment. It does not mention costs or destructive nature, but the behavior is well-explained.

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?

The description is well-structured: purpose first, then request details, then optional parameters and return value. It is somewhat verbose but every sentence adds value. Front-loading works well.

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?

Given the complexity (4 params, nested objects, output schema exists), the description covers input structure, overrides, credential handling, and return format. It does not detail all sub-fields but provides sufficient context for an agent to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully compensates by detailing the nested request structure, address fields, carrier/product, parcels, references, label format, and the purpose of carrier, config, and include_label. This adds significant meaning beyond the bare 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 'Create a shipping label from a canonical shipment request,' specifying the verb, resource, and primary action. It distinguishes itself from siblings (describe_carrier, list_carriers) which are about carrier info, not label creation.

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 explains when to use optional parameters like 'carrier' (overrides request value) and 'config' (for ad-hoc testing without env vars). It does not explicitly state when not to use the tool or compare to alternatives, but the sibling tools are clearly different in purpose.

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/xentral/shiplabel-mcp'

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