Skip to main content
Glama

Factoría de Ilusiones — Campamento familiar de magia (Tenerife, 12-14 marzo 2027)

Calcular precio

calcular_precio
Read-onlyIdempotent

Calcula el precio exacto de una familia con las mismas normas que la web: 299 € por persona (adultos y niños desde 3 años), bebés gratis, mínimo 1 adulto + 1 niño, habitación en exclusiva opcional, código de colaborador opcional (5 % sobre las plazas, acumulable con el pago único), y las formas de pago disponibles hoy (señal del 30 % + cuotas el día 1 de cada mes, pago único con 5 % de descuento hasta el 31/01/2027, o pago completo desde el 1/02/2027) con lo que se paga al reservar y cada cuota.

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": {
      "adultos": "<adultos>",
      "ninos": "<ninos>"
    },
    "name": "calcular_precio"
  }
}

Input Schema

NameRequiredDescriptionDefault
bebesNoBebés menores de 3 años: gratis y sin ocupar plaza (máximo 2).
ninosYesNiños y niñas desde 3 años (pagan plaza). Mínimo 1.
adultosYesAdultos (padre, madre u otras personas adultas). Mínimo 1.
codigo_colaboradorNoOpcional: código de colaborador que la persona haya recibido (p. ej. de un mago o una cuenta que sigue). Da un 5 % de descuento sobre las plazas, acumulable con el 5 % del pago único. No lo inventes: úsalo solo si la persona te lo da.
habitacion_exclusivaNotrue si la familia quiere su habitación (de 4) solo para ella: 150 € por cada cama libre. Si no, las camas libres se comparten con adultos del mismo sexo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / codigo_colaborador
      Added value: +{
      +  "description": "Opcional: código de colaborador que la persona haya recibido (p. ej. de un mago o una cuenta que sigue). Da un 5 % de descuento sobre las plazas, acumulable con el 5 % del pago único. No lo inventes: úsalo solo si la persona te lo da.",
      +  "maxLength": 20,
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds real business logic (299 €/person, minimum composition, a 5 % stacking discount) and hints that the result includes the amount due at booking plus each installment, but a large share of it merely restates the input schema and it embeds volatile dated rules (discount until 31/01/2027) that could go stale.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core price is front-loaded, which is good, but it is delivered as one very long run-on sentence that chains the pricing rule, composition minimums, both optional add-ons and three payment schedules. It would scan far better as a short lead sentence plus a compact rules list.

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?

There is no output schema, and the description does at least signal that the result covers what is paid at booking and each installment, which is the key expectation for a calculator. What is missing is the shape of the response (currency, whether totals and installment dates are itemized) and what happens on invalid compositions.

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 all five parameters are already documented in the schema, including the 150 € per free bed and the 5 % collaborator discount. The description adds only the interactive bookkeeping between the two discounts (they stack) and does not clarify rounding or per-person allocation.

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: calculates the exact price of a family, mirroring the website's rules. The pricing domain makes it unmistakably distinct from availability, waitlist, or reservation-start siblings, but no sibling is named or explicitly ruled out.

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 only implied — an agent infers this is the pre-booking quote step, presumably before iniciar_reserva, but the description never says when to call it, whether it is required before booking, or what to do if the family's composition is out of range. No alternatives or exclusions are 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