Skip to main content
Glama

dosvirgos · Tienda de coleccionables

Armar link de compra

create_cart_link
Read-only

Usala cuando la persona decidió qué comprar. Devuelve un link al carrito de dosvirgos con esos productos ya cargados, más el subtotal sin envío. La persona abre el link, elige envío o retiro y paga en el sitio (Mercado Pago o transferencia). No cobra ni reserva stock: el producto es de quien paga primero.

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": {
      "productos": "<productos>"
    },
    "name": "create_cart_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
productosYesProductos con su cantidad. El código sale de search_products (ej.: C072).

Output Schema

NameRequiredDescriptionDefault
urlYesLink al carrito con los productos cargados.
productosYes
subtotal_arsYesSuma de los productos en pesos, sin envío.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description goes further by stating it does not charge or reserve stock ('No cobra ni reserva stock: el producto es de quien paga primero'), names the payment channels, and notes the subtotal excludes shipping. That is consistent with readOnlyHint. Minor gaps remain: link expiry or cart persistence are not mentioned.

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?

Four sentences, each carrying distinct information: trigger, returned artifact, downstream checkout flow, and the no-charge/no-reservation constraint. The usage trigger is front-loaded. Slightly verbose but nothing is 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?

An output schema exists, so return values need not be explained, yet the description still briefly frames the link and subtotal. With one well-documented parameter and minimal annotations, this covers what an agent needs to invoke it correctly; only edge cases like link lifetime are absent.

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% and the single 'productos' parameter already documents that codes come from search_products and that quantity defaults to 1. The description only restates 'con esos productos ya cargados', adding no format or constraint detail beyond the schema, so the baseline 3 applies.

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?

Names a specific verb and resource: 'Devuelve un link al carrito de dosvirgos con esos productos ya cargados, más el subtotal sin envío.' It also states what is deliberately excluded (shipping cost), so an agent can tell it apart from quote_shipping or get_order_status without opening the schema.

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?

The trigger condition is explicit and front-loaded: 'Usala cuando la persona decidió qué comprar.' That implicitly excludes browsing/searching, but no alternative tool is named and there is no explicit when-not clause, so routing still requires a small inference.

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