Skip to main content
Glama

Directorio Systema

Pedir comida/productos (efectivo) / Order food (cash)

pedir_comida

ES: Crea un pedido REAL de comida/productos que se paga EN EFECTIVO al recoger (pickup) o al recibir (delivery). Manda los nombres de los ítems tal como salen en ver_negocio; el servidor resuelve los productos reales y nunca inventa precios. Delivery exige direccion y que el negocio lo tenga habilitado. / EN: Places a REAL food/product order paid IN CASH on pickup or on delivery. Send item names as shown by ver_negocio; the server resolves the real products and never invents prices. Delivery requires an address and the business having delivery enabled.

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": {
      "slug": "<slug>",
      "items": "<items>",
      "entrega": "<entrega>",
      "nombre": "<nombre>",
      "telefono": "<telefono>"
    },
    "name": "pedir_comida"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug del negocio (de buscar_negocios) / Business slug (from buscar_negocios)
itemsYes
notasNoNotas de entrega (solo aplican a delivery)
nombreYesNombre del cliente / Customer name
entregaYespickup = recoger en el local (paga en efectivo al recoger); delivery = a domicilio (paga en efectivo al recibir)
telefonoYesTeléfono del cliente / Customer phone
direccionNoDirección completa de entrega (obligatoria si entrega=delivery)

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?

With no annotations supplied, the description carries the full burden and does disclose key traits: this commits a real order, payment is cash-only at pickup/receipt, the server resolves actual products and never fabricates prices, and delivery has a gating condition. It omits what happens on failure (unknown item, delivery disabled), whether the order can be cancelled, and what the response contains — notable for a committing action.

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?

Content is front-loaded with the committing nature of the call and the cash-payment condition, and every sentence carries information. The full ES/EN duplication doubles the length, which is a deliberate localization choice but a real verbosity cost.

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?

For a 7-parameter order-placement tool with no annotations and no output schema, the description covers the essentials an agent needs: real commitment, cash payment, item-name sourcing, and delivery prerequisites. Gaps remain around failure modes, whether a confirmation identifier is returned, and reversibility, which the missing annotations and output schema leave unaddressed.

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 86%, so the schema already documents slug, items.nombre, variante, entrega, telefono, direccion and notas. The description only reinforces two of these (item names come from ver_negocio, direccion is mandatory for delivery), adding little meaning beyond the structured fields, which matches the baseline 3.

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 ('Crea un pedido REAL de comida/productos') plus the payment mode (cash on pickup or delivery), which immediately separates it from the reservar_* siblings that book slots rather than place orders. An agent can tell what this tool does and what it does not do 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?

Gives concrete prerequisites: item names must be taken verbatim from ver_negocio, and delivery requires an address plus the business having delivery enabled. It stops short of explicitly naming a sibling alternative or stating when not to use it, so the routing is implied rather than spelled out.

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