Skip to main content
Glama

Deporte Total

checkout_set_shipping

Read-onlyIdempotent

Choose the delivery option (carrier_id from checkout_shipping_options).

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": {
      "carrier_id": "<carrier_id>"
    },
    "name": "checkout_set_shipping"
  }
}

Input Schema

NameRequiredDescriptionDefault
carrier_idYesThe id of the delivery option, from checkout_shipping_options
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed world, so the safety profile is covered; the description adds essentially nothing beyond them. It stays silent on whether the choice is validated against available options, whether a previously chosen option is replaced, and what happens if the cart is empty. There is also a mild tension: 'choose' implies storing a selection on the session cart, while readOnlyHint=true suggests no state change — the effect appears session-local, so this is not treated as a hard contradiction, but it is not clarified either.

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?

One short, front-loaded sentence with no filler, appropriately sized for a two-parameter selection tool. The parenthetical duplicates the input schema verbatim, which is minor redundancy rather than noise.

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 simple 2-parameter tool with full annotation coverage and no output schema, the description covers the core action and the key parameter source. It still leaves the agent guessing about ordering in the checkout flow and about the tool's effect/return, which for a step in a multi-call flow is a real gap.

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 description coverage is 100%, so both parameters are already documented, and the parenthetical about carrier_id coming from checkout_shipping_options merely repeats the schema's own parameter description. Nothing is said about session_id, which the schema already explains as a fallback when the client does not persist the Mcp-Session-Id header.

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 description gives a concrete verb and object ('Choose the delivery option'), so an agent immediately knows this selects a shipping method. It does not explicitly contrast itself with siblings like checkout_set_payment or checkout_review, but the 'choose an option' framing is unambiguous.

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?

Usage is only implied: naming checkout_shipping_options as the source of carrier_id signals this should be called after listing options. There is no explicit statement of when to call it (e.g., before checkout_place), no prerequisites about needing a populated cart, and no when-not guidance.

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