Skip to main content
Glama

Kruuse Chile

Ver un carro

get_cart
Read-onlyIdempotent

Devuelve el estado vigente de un carro creado con create_cart, con precios revisados ahora. Precios en CLP con IVA, sin despacho; continue_url abre el carro en la tienda para elegir despacho y pagar.

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": {
      "id": "<id>"
    },
    "name": "get_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId del carro (cart_…) que entregó create_cart.
metaNoMetadatos de UCP: {"ucp-agent": {"profile": URL del perfil del agente}}. Opcional en esta tienda.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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 needs no restating. The description adds real value beyond them: prices are re-reviewed at call time, quoted in CLP with IVA and excluding shipping, and continue_url is the checkout entry point. It says nothing about failure modes for missing or cancelled carts, which limits it to a 3.

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 sentences, both loaded: the first covers purpose and price semantics, the second covers currency/tax scope and the next action via continue_url. No filler and the key information is front-loaded.

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?

With no output schema, the description usefully explains a key return field (continue_url) and the price semantics of the response. It remains silent on what happens when the cart id is unknown or the cart was cancelled via cancel_cart, which an agent would want to know for error handling.

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% and both parameters are documented, so the baseline is 3. The description goes beyond the schema by explaining where the required id comes from ('creado con create_cart'), reinforcing correct invocation. The optional meta/UCP agent profile is left entirely to 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 a specific verb and resource: 'Devuelve el estado vigente de un carro', and ties the cart to create_cart so the agent knows the id's origin. It does not explicitly contrast with siblings like update_cart or cancel_cart, so differentiation is implied rather than stated.

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 clear usage context: call it to get the current state with freshly reviewed prices, and use continue_url to hand the user to the store for shipping selection and payment. It implicitly routes checkout away from this tool but never states exclusions, e.g. behavior for cancelled or expired carts.

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.