Skip to main content
Glama

Kruuse Chile

Crear un carro

create_cart

Crea un carro en Kruuse Chile con variantes del catálogo y cantidades; devuelve líneas, totales (neto, IVA y total) y continue_url. Los productos sin stock o inexistentes llegan en messages; si ninguno se puede comprar, no se crea el carro. 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": {
      "cart": "<cart>"
    },
    "name": "create_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
cartYes
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

A4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses partial-failure semantics (unavailable or nonexistent items come back in messages), the all-or-nothing rule (no cart is created if nothing is purchasable), and pricing semantics (CLP with IVA, shipping excluded). It also explains what continue_url is for, which the annotations cannot convey.

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?

Three sentences, each carrying distinct payload: what it creates, what it returns and how failures surface, and what the pricing/checkout semantics are. Nothing is repeated and the core action 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?

For a non-idempotent write tool with a nested schema and no output schema, the description covers returns, failure modes, and pricing/checkout flow well. It stops short of clarifying the optional UCP metadata block or warning that repeat calls create separate carts, which matters given idempotentHint=false.

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 coverage is 50%, and the description only echoes that line items are catalog variants with quantities, plus that prices are always CLP. It says nothing about context, signals, attribution, or the meta.ucp-agent profile object, so it does not compensate for the uncovered half of 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 description gives a specific verb and resource ("Crea un carro en Kruuse Chile") plus the inputs that shape it (catálogo variants and quantities) and the return payload. It implicitly separates itself from update_cart through the create-only framing, but never names the sibling, so an agent gets no explicit contrast.

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 implied rather than stated: build a cart from catalog variants, then use continue_url to pick shipping and pay. There is no explicit "use this instead of update_cart/get_cart" routing or precondition statement, leaving the agent to infer the create-vs-modify boundary.

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.