Skip to main content
Glama

Get shipping options

get_shipping_options
Read-onlyIdempotent

List the shipping methods for the current cart with price, ETA and the free-shipping threshold. Today there is one: worldwide tracked shipping, free once the cart subtotal reaches free_shipping_from. eta is the live delivery term — production in business days, then days in transit, with the US/Canada window; quote it as is. Use it to answer 'how much / how long is shipping' or to tell the human how much more gets free shipping. Read-only and works on an empty cart too. Prices here are USD for the cart as it is; the final shipping amount, in the destination's currency, is in get_order_preview.

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": "get_shipping_options"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
optionsNo
free_shipping_fromNoSubtotal (USD) at which shipping becomes free.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "free_shipping_from": {
      +      "description": "Subtotal (USD) at which shipping becomes free.",
      +      "type": "number"
      +    },
      +    "options": {
      +      "items": {
      +        "properties": {
      +          "currency": {
      +            "type": "string"
      +          },
      +          "eta": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "Pass this to set_shipping_method.",
      +            "type": "string"
      +          },
      +          "label": {
      +            "type": "string"
      +          },
      +          "note": {
      +            "type": "string"
      +          },
      +          "price": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the description's added value is the currency scoping ('USD for the cart as it is'), the empty-cart behavior, and the instruction to quote eta as-is. These are genuine traits beyond the annotations, though return-format and pagination-like concerns are not addressed (an output schema exists, so that is partly covered elsewhere).

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?

Front-loaded with what it returns, then usage, then the cross-tool caveat — a sensible order with no filler. The ETA sentence is dense and slightly run-on ('production in business days, then days in transit, with the US/Canada window; quote it as is'), but every clause carries 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 zero-param, read-only listing tool with an output schema, this covers everything an agent needs: what is returned, when to call it, that it is safe on an empty cart, the currency caveat, and where the final amount lives. No material gap remains.

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?

There are zero parameters, so there is no parameter semantics to add; baseline for a no-param tool applies. The description instead clarifies the semantic unit of the output (USD, current cart state, live ETA), which is useful if slightly outside the parameter dimension.

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?

States a specific verb and resource ('List the shipping methods for the current cart') and enumerates what comes back: price, ETA, free-shipping threshold. It also marks the boundary against get_order_preview for the final shipping amount, so an agent can distinguish it from that sibling without opening either schema.

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

Usage Guidelines5/5

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

Gives concrete triggering intents ('how much / how long is shipping', 'how much more gets free shipping') and names the alternative for the final charge ('the final shipping amount, in the destination's currency, is in get_order_preview'). It also removes a common doubt by stating it works on an empty cart.

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