Skip to main content
Glama

Klack Europe Shopping

Consultar opciones de envío

quote_shipping
Read-only

Cotiza tarifas reales de WooCommerce para un carrito y destino; puede requerir provincia o ciudad. En España se deduce la provincia del código postal si falta. No equivale a promesa de entrega ni a precio final.

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": {
      "cart_token": "<cart_token>",
      "country": "<country>",
      "postcode": "<postcode>"
    },
    "name": "quote_shipping"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
stateNoProvincia/estado; en España admite código WooCommerce (M para Madrid) o nombre.
countryYes
postcodeYes
cart_tokenYesToken opaco recibido de create_cart. No es un token de pago.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, yet the description still adds real context: rates come from a live WooCommerce lookup, the Spanish postcode-to-province fallback is automatic, and the result is explicitly not a delivery promise or final price. That last caveat is behaviorally important and is not captured by any annotation.

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

Conciseness5/5

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

Two compact sentences: the core purpose and the input gotcha come first, and the disclaimer closes it. Every clause carries information an agent needs, with no filler.

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

Completeness4/5

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

For a 5-parameter read-only tool with no output schema, the description covers the main failure mode (missing province) and sets expectations about the returned value. It could say more about what a quote response contains or that the cart must exist, but the essential calling information is present.

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 only 40%, so the description must compensate. It does explain that province/city may be needed and that in Spain the province is derived from the postcode, but it says nothing about country format, postcode format, or the cart_token beyond what the schema already documents.

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 states a specific verb and resource: quoting real WooCommerce shipping rates for a given cart and destination. That is clearly distinguishable from siblings like get_cart or create_checkout_link, though it never names a sibling to contrast with.

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: the agent can infer this is the pre-checkout rate lookup because there is no other shipping tool, and the note 'puede requerir provincia o ciudad' hints at input conditions. There is no explicit when-to-use or when-not-to-use statement, and no alternative is named.

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