Skip to main content
Glama

Crear pedido de la cocina

crear_pedido_cocina

Restaurantes: crea un pedido que aparece en el tablero de la cocina (estado de cocina «recibido», de pago «pendiente»). No cobra nada: el cobro se hace aparte, con un enlace de cobro.

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": "crear_pedido_cocina"
  }
}

Input Schema

NameRequiredDescriptionDefault
mesaNomesa, nombre o dirección corta
notaNo
tipoNopor omisión mostrador
itemsYes
monedaNopor omisión VES
cliente_nombreNo
idempotency_keyNosi repites la llamada con la misma llave, devuelve el mismo pedido
cliente_telefonoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false. The description adds value by disclosing the created state (kitchen "recibido", payment "pendiente") and that no money moves, but says nothing about the idempotency key behavior, required permissions, or limits on items.

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 short sentences, front-loaded with the action and the resulting state, with zero filler. The separation of charging into a second sentence is exactly where it belongs.

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

Completeness3/5

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

For a write tool with nested line items and no output schema, the description covers the outcome and initial states but leaves the whole input surface and the idempotency behavior unexplained. It is enough to know what the tool does, not enough to call it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 8 parameters and only 50% schema description coverage, the description mentions none of them — not items, mesa, tipo, moneda, cliente_* nor the idempotency key. The undocumented half of the schema is left with no supporting meaning from the description.

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 resource ("crea un pedido") plus the resulting destination ("aparece en el tablero de la cocina") with the initial states spelled out. It also separates itself from the payment path ("No cobra nada: el cobro se hace aparte, con un enlace de cobro"), though no sibling tool is named explicitly.

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?

Gives clear context for when to use it (restaurant orders that must land on the kitchen board) and an implicit when-not (anything involving charging belongs to a payment link). Missing an explicit pointer to the concrete sibling tool for charging or to the board-viewing tools.

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