Skip to main content
Glama

Preparar la compra

create_checkout_link

Prepara una cesta con las prendas y tallas elegidas y devuelve un enlace a Werop. La persona lo abre, inicia sesión, revisa la cesta con el envío a su dirección y paga en Werop. No cobra ni reserva nada; el enlace caduca en 7 días.

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": {
      "items": "<items>"
    },
    "name": "create_checkout_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
countryNoPaís de entrega, código ISO de dos letras. Abierto hoy: ES, FR, DE, IT, PT, LU, IE (por defecto ES). Los demás (ES, FR, DE, IT, NL, BE, AT, PT, LU, IE) responden not_open hasta que se abran.

Output Schema

NameRequiredDescriptionDefault
urlNoEl enlace que abre la persona en Werop
itemsNoLas prendas aceptadas en la cesta
expiresAtNoCaducidad del enlace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and openWorldHint=false, so the description carries most of the burden and does it well: no charge, no reservation of stock, and a 7-day link expiry. It omits prerequisites such as whether the caller needs an authenticated user or what happens if the basket is invalid, which keeps it short of a 5.

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?

Three short sentences, front-loaded with the action and result, then the user-facing flow, then the critical caveats. No filler, though the middle sentence about the buyer's journey is more narrative than operationally necessary for an agent.

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-value documentation is unnecessary, and the description still explains the link's nature and lifetime. For a two-parameter tool with a nested items array, the remaining gap is the country gating logic, which the schema covers but the description does not summarize.

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 does not compensate: it never explains the items array, the per-item size/quantity limits, or the country parameter's not_open behavior, all of which live only in the schema. It does confirm that garments and sizes are the payload, which is marginal added meaning.

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 concrete verb and resource: it builds a basket from chosen garments/sizes and returns a Werop link, plus a short account of what the end user does with it. That is enough to separate it from search_products or get_product, though it never names a sibling explicitly.

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?

The flow described ('la persona lo abre, inicia sesión... y paga') implies the tool is used when a customer is ready to buy, and 'no cobra ni reserva nada' implies it is not the payment step. There is no explicit when-not or named alternative, so the agent must infer routing.

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