Skip to main content
Glama

Refund / void a label

easypost_refund_shipment
Destructive

Request a refund (void) of a purchased shipping label. WARNING: reverses a purchase; approval depends on the carrier and label age. API: POST /shipments/{id}/refund.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesShipment id to refund, e.g. shp_...

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate destructiveHint=true. The description adds behavioral context beyond annotations by specifying that approval depends on carrier and label age, which is crucial for usage.

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 concise sentences: first states purpose, second adds warning and API reference. 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?

Given simple tool with one parameter and no output schema, the description covers purpose, key behavioral caveats. However, missing information about return value or response format would be beneficial.

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?

Only one parameter 'id' with schema description 'Shipment id to refund, e.g. shp_...'. Schema coverage is 100%, so baseline 3. Description does not add extra parameter information beyond what schema 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?

Explicitly states 'Request a refund (void) of a purchased shipping label.' The verb 'request' and resource 'purchased shipping label' are specific and distinct from siblings like buy or create.

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 context: warning about reversing a purchase, carrier approval, and label age dependency. Does not explicitly list when not to use, but the warning implies conditions for success.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a distinct purpose: address operations, shipment lifecycle (create, buy, refund, get, list), and tracking. No overlap or ambiguity.

Naming Consistency5/5

All tools follow a consistent `easypost_<verb>_<resource>` pattern using snake_case, with clear verbs like create, get, list, buy, refund, verify.

Tool Count5/5

11 tools cover the essential operations for address management, shipment lifecycle, and tracking without being too many or too few.

Completeness4/5

Core workflows (rate, buy, refund, track, address verification) are complete. Minor gaps like missing delete for addresses or update for shipments are acceptable for the domain.