Skip to main content
Glama

Deporte Total

shipping_quote

Read-onlyIdempotent

Delivery options, prices and times to a destination. Give the postcode (and the 2-letter country if it is not the shop's own). Quotes the product given, or the current cart when no product is given.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "shipping_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
qtyNoHow many units
countryNoISO 3166-1 alpha-2 code, for example ES
postcodeNoThe postcode of the delivery address
product_idNoThe id of the product, from search_products
session_idNoOnly if your client does not keep the MCP session (the Mcp-Session-Id header): the session_id that an earlier answer of this server gave you. It keeps the same cart between calls.
variant_idNoThe id of the variant (colour, size…), from get_product; 0 for a product without variants

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds useful behavior beyond that: it reads the current cart when no product is supplied and scopes the country to non-domestic destinations. It says nothing about failure behavior for invalid postcodes or about what the returned quote contains (no output schema exists), leaving a gap for a read tool whose output shape matters.

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?

Three compact sentences, front-loaded with what the tool returns, then the required inputs, then the product-vs-cart branch. The telegraphic phrasing ('Quotes the product given') is slightly clipped but nothing 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 six-parameter read tool with no output schema, the description covers the key input decisions but leaves the return shape only loosely implied ('options, prices and times') and says nothing about error handling or currency/format of prices. It is adequate to call correctly, not complete enough to predict results.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns more because it supplies conditional semantics the schema does not: country is only needed when the destination is outside the shop's own country, and product_id is optional with cart-as-default. It does not add anything for qty, variant_id or session_id 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?

The first sentence gives a specific resource and scope: delivery options, prices and times for a destination, and the later sentences confirm it is a quote/estimate operation, not a commitment. It does not name or distinguish itself from checkout_shipping_options or checkout_set_shipping, so sibling differentiation is left to inference.

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

Usage Guidelines3/5

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

It gives a concrete precondition ('Give the postcode, and the 2-letter country if it is not the shop's own') and explains the fallback ('current cart when no product is given'), which implies when to supply product_id. However, it never says when to use this versus checkout_shipping_options or check_availability, and gives no exclusions.

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