Skip to main content
Glama

shipping_charges

Read-onlyIdempotent

Retrieve billed shipment, COD, return, and tax charges for up to 50 consignments at once to review courier costs.

Instructions

Retrieve billed shipment, COD, return and tax charges for up to 50 consignments.

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": {
      "cn_numbers": "<cn_numbers>"
    },
    "name": "shipping_charges"
  }
}

Input Schema

NameRequiredDescriptionDefault
cn_numbersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered. The description adds only the 50-consignment batch ceiling, which is already encoded as maxItems in the schema. It says nothing about whether charges are returned per consignment or aggregated, what currency, or whether unbilled consignments return errors or empty entries.

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?

A single front-loaded sentence with no filler, and the charge categories are enumerated efficiently. It is arguably too terse for the tool's role, but no sentence is wasted.

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?

For a read-only lookup with one required parameter and no output schema, the agent still lacks the return shape (per-consignment vs flattened rows), failure behavior for invalid consignment numbers, and any cost or rate-limit considerations. The safety side is complete via annotations; the data side is thin.

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?

With schema description coverage at 0%, the description carries the burden for the single cn_numbers parameter, and it partially does so by implying the array holds consignment identifiers and is capped at 50. It never states that these must be pre-existing consignment numbers, nor what happens if one is unknown or malformed, which the pattern constraint alone does not explain.

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?

States a specific verb (Retrieve) and a specific resource (billed shipment, COD, return and tax charges), which tells an agent exactly what data comes back. It does not distinguish itself from siblings like payment_details or list_invoices, so an agent comparing the two gets no routing help.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no mention of when a sibling such as payment_details or list_invoices would be the better choice. The only usage signal is the implied 'call this when you need charges for consignments', which any agent could infer from the purpose alone.

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