Skip to main content
Glama

shop

Shipping quote

shipping_costs
Read-onlyIdempotent

Shipping costs and transport options. With the order reference and no weight_kg or products it prices the order's cart and its shipping country; otherwise give weight_kg or products (ids with quantities in packages). country: the two-letter destination (default the cart's shipping country, else the storefront country). The answer lists every method with its price in EUR and the storefront currency (destination VAT included), the weight band and the cheapest method, plus transport: the ways to bring the cost down. Pickup at the warehouse in Apeldoorn (NL) is free and is chosen in set_checkout; the shopper's own carrier may collect there; an order can ship at the Dutch rate to an address in the Netherlands, such as a forwarder. Outside NL, BE and DE a custom transport arrangement often costs far less than the standard rate: freight marketplaces (uShip and similar), last-minute capacity offers from carriers, consolidated freight. Compare such options for the shopper when it helps; the store's chat on the website quotes and arranges custom transport. With the order reference (Authorization: Bearer mo1_… or ref) it uses the order; without it, it works for anyone (search: by meaning for the first searches per 10 minutes, then by words only; at most 30 searches per 10 minutes).

Input Schema

NameRequiredDescriptionDefault
refNoOrder reference (mo1_…) from start_order, only when the client cannot send it as Authorization: Bearer; with it the search is complete and counts for the order
countryNoTwo-letter destination country, e.g. DE, FR, US; default the cart shipping country, else the storefront country
productsNoProducts to ship (instead of weight_kg or the cart): ids with quantities in packages, at most 100
weight_kgNoTotal weight in kg, when known

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: it lists every method with EUR/storefront currency, VAT inclusion, weight band, cheapest method, and cost-reduction options. It also discloses Authorization Bearer/ref handling, anonymous access, and search rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It front-loads the purpose, but then runs long with semicolon-heavy asides about Apeldoorn pickup, forwarders, freight marketplaces, and the store chat. Those details may be useful business context, but they dilute the invocation-critical information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only quote tool with no output schema, it explains return contents, currency and VAT treatment, auth modes, anonymous use, and rate limits. An agent has enough information to call it correctly and interpret the response.

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 all four parameters are already documented with defaults and package-quantity meaning. The description reinforces mutual exclusivity among ref, products, and weight_kg, but adds little new syntax or constraint detail beyond the schema.

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 that the tool returns shipping costs and transport options and explains that it prices an order's cart or supplied products/weight. The core purpose is clear, though the broad phrase 'transport options' and the custom-transport advice stretch beyond the quote action.

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?

Gives concrete selection rules: use the order reference for cart pricing, otherwise supply weight_kg or products; country defaults to the cart or storefront country. It also routes pickup to set_checkout and notes anonymous use, though it does not explicitly exclude other quote-related siblings.

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.

Resources