Skip to main content
Glama

Gajo Verdulería — pedidos

gajo_prepare_order

Preparar un enlace privado con la bolsa y la entrega autorizada por el cliente. El cliente revisa y paga en Mercado Pago; esta herramienta no cobra ni confirma un pedido.

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": {
      "catalogVersion": "<catalogVersion>",
      "items": "<items>",
      "delivery": "<delivery>"
    },
    "name": "gajo_prepare_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesProductos y cantidades de la bolsa, con IDs exactos del catálogo vigente.
deliveryYesDatos de entrega autorizados por el cliente.
catalogVersionYesVersión devuelta por el catálogo.

Output Schema

NameRequiredDescriptionDefault
itemsYes
totalYes
statusYes
currencyYes
nextStepYes
shippingYes
subtotalYes
expiresAtYes
reviewUrlYesEnlace privado; no publicar ni registrar en logs.
stockReservedYes
catalogVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false and openWorld=true, so the safety profile is covered. The description adds genuinely non-annotated behavior: it creates a private link, the client pays externally in Mercado Pago, and the tool neither charges nor confirms an order. It does not mention that repeated calls (idempotent=false) will produce separate links, nor link expiry, which would have completed the picture.

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, front-loaded with what is produced, followed immediately by the key limitation on charging and confirmation. No filler and nothing that restates the tool name.

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 and the input schema documents all three parameters plus nested delivery fields, so return values need not be explained. The description covers purpose and the no-charge/no-confirm boundary; the remaining gap is the prerequisite chain (fetching the current catalog version from gajo_catalog) and link lifetime, which a caller would want to know.

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%, so the schema already explains catalogVersion, item IDs/quantities and each delivery field in detail. The description only reinforces the authorization and bag/delivery framing without adding format, sourcing, or validation rules beyond the schema. Baseline 3 applies.

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 artifact: build a private link containing the bag and the client-authorized delivery, with the client paying in Mercado Pago. It also draws a clear boundary ('no cobra ni confirma un pedido'), which separates it from a payment/confirmation tool. It does not explicitly name gajo_quote or gajo_catalog as the alternative for pricing or catalog reads, so sibling differentiation is only implied.

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 by 'entrega autorizada por el cliente' and by the catalogVersion/items requirements, suggesting it is called after the catalog is read and the client has approved items and delivery. There is no explicit when-to-use / when-not statement and no routing to gajo_quote or gajo_catalog, leaving the agent to infer the workflow position.

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.