Skip to main content
Glama

Ourway – Camino de Santiago

Add or remove extras and transfers without re-quoting

update_camino_package_extras
Idempotent

Change the pilgrim extras, private transfers or luggage transfer of an ALREADY QUOTED Camino de Santiago package, keeping the same hotels night by night: no new availability check, answers in a few seconds. Pass the COMPLETE new selection: extras_ids (from camino_extras_catalog; omit for the default credential + insurance), traslados (from camino_transfer_options; omit or [] for none) and incluir_mochila. Returns the same shape as quote_camino_package with the new single total_paquete_eur and a NEW oferta_paquete_firmada that replaces the previous one. Use it instead of quote_camino_package whenever only extras or transfers change. / Añade o quita extras y traslados del paquete ya cotizado sin volver a cotizar los hoteles. (es: actualizar_extras_paquete)

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": {
      "oferta_paquete_firmada": "<oferta_paquete_firmada>"
    },
    "name": "update_camino_package_extras"
  }
}

Input Schema

NameRequiredDescriptionDefault
trasladosNoCOMPLETE new list of private transfers from camino_transfer_options, each {origen_poblacion_id, destino_poblacion_id, fecha, categoria_id}. Omit or [] for none.
extras_idsNoCOMPLETE new list of suplemento_id values from camino_extras_catalog. Omit for the defaults (pilgrim credential + insurance by nationality).
camino_slugNoRoute slug from plan_camino_itinerary; needed to price the luggage transfer by official stages.
nacionalidadNoCustomer's nationality or country of residence, free text or ISO code (e.g. Spain, ES, German). Sets the included travel insurance; pass it or `residente_espana`.
incluir_mochilaNotrue to add luggage transfer between stages (one bag per traveller, priced by official stages covered).
residente_espanaNotrue if the travellers live in Spain, false otherwise; overrides `nacionalidad` when choosing the insurance.
oferta_paquete_firmadaYesThe latest `oferta_paquete_firmada` returned by quote_camino_package, swap_camino_hotel or update_camino_package_extras, passed verbatim.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / camino_slug / description
      Added value: +"Route slug from plan_camino_itinerary; needed to price the luggage transfer by official stages."
    • addedInput schema / properties / extras_ids / description
      Added value: +"COMPLETE new list of suplemento_id values from camino_extras_catalog. Omit for the defaults (pilgrim credential + insurance by nationality)."
    • addedInput schema / properties / incluir_mochila / description
      Added value: +"true to add luggage transfer between stages (one bag per traveller, priced by official stages covered)."
    • addedInput schema / properties / nacionalidad / description
      Added value: +"Customer's nationality or country of residence, free text or ISO code (e.g. Spain, ES, German). Sets the included travel insurance; pass it or `residente_espana`."
    • addedInput schema / properties / oferta_paquete_firmada / description
      Added value: +"The latest `oferta_paquete_firmada` returned by quote_camino_package, swap_camino_hotel or update_camino_package_extras, passed verbatim."
    • addedInput schema / properties / residente_espana / description
      Added value: +"true if the travellers live in Spain, false otherwise; overrides `nacionalidad` when choosing the insurance."
    • addedInput schema / properties / traslados / description
      Added value: +"COMPLETE new list of private transfers from camino_transfer_options, each {origen_poblacion_id, destino_poblacion_id, fecha, categoria_id}. Omit or [] for none."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, idempotent=true, destructive=false), the description discloses the key non-obvious behavior: this is a full replacement, not a merge ('Pass the COMPLETE new selection'), it replaces the previous oferta_paquete_firmada, and it skips availability checking. It stops short of stating what a stale or expired signed offer does, which is the main remaining risk for a mutating, idempotent call.

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?

Front-loaded with the verb, scope and the sibling it replaces, with the parameter list and return contract following logically. The trailing full Spanish restatement duplicates content already given in English, which is the only real dilution of an otherwise tight definition.

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?

For a 7-parameter mutating tool this is well covered: the replacement semantics, the provenance of the identifying fields, the fact that no availability check occurs, and the return contract (same shape as quote_camino_package, new total and new signed offer). With an output schema present and 100% parameter coverage, nothing essential is left to inference.

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 coverage is 100%, so the baseline is 3. The description adds real meaning on the replacement semantics of `extras_ids` and `traslados` (COMPLETE list, omit vs [] meaning 'none') and restates the catalog sources, but says nothing about `oferta_paquete_firmada`, `camino_slug`, `nacionalidad` or `residente_espana` beyond what the schema already documents.

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 — changing extras, private transfers and luggage transfer on an ALREADY QUOTED package — and pins the scope with 'keeping the same hotels night by night: no new availability check'. It also distinguishes itself from quote_camino_package by name, so an agent can separate the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit selection rule: 'Use it instead of quote_camino_package whenever only extras or transfers change', and the 'already quoted / same hotels' framing implies hotels-only changes belong elsewhere. The cost rationale ('answers in a few seconds') reinforces when this path is preferred.

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.