Skip to main content
Glama

Klack Europe Shopping

Preparar enlace de checkout

create_checkout_link

PREPARA, pero NO cobra ni confirma un pedido. Primero presenta el carrito al comprador y obtén su aprobación. Devuelve URL de Klack para que el comprador continúe y pague usando Stripe, Bizum u otros métodos habilitados. Jamás solicites datos de tarjeta en el chat.

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

Input Schema

NameRequiredDescriptionDefault
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

A4.1/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), it discloses the key behavioral traits: no charge and no order confirmation, an external redirect to a Klack URL, supported payment methods via Stripe/Bizum, and a hard rule against collecting card data in chat. It stops short of stating link expiry, idempotency, or whether repeated calls create duplicate links.

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?

Four short sentences, front-loaded with the negative scope ('NO cobra') before the positive behavior. Every sentence carries distinct information: scope, workflow precondition, return value, and the security constraint. No filler.

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

Completeness5/5

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

With one parameter, no nested objects, and no output schema, the description supplies what is otherwise missing: it explains that the return value is a Klack checkout URL, that the buyer completes payment externally, and that no charge occurs server-side. Sufficient for an agent to call and interpret the result correctly.

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?

The single parameter is fully documented in the schema, including its 64-hex pattern and the note that it comes from create_cart and is not a payment token. The description adds no further meaning about cart_token, so the schema carries the load and 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?

States a specific verb and resource (prepares a checkout link) and immediately delimits it from the adjacent action: 'PREPARA, pero NO cobra ni confirma un pedido.' It also names the concrete output, a Klack URL the buyer uses to pay. An agent can tell this apart from cart and order-status siblings 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than spelled out: 'Primero presenta el carrito al comprador y obtén su aprobación' tells the agent this comes after cart assembly and buyer confirmation. No sibling is named as an alternative and no exclusion condition (e.g., when not to generate a link, or where to check payment status afterwards) is given.

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