Skip to main content
Glama

Ourway – Camino de Santiago

Create Ourway booking proposal

create_camino_booking_proposal

Create the Ourway booking request for a quoted Camino de Santiago package and return the customer's personal proposal link (valid 7 days) where they review the trip day by day, confirm and pay securely. ONLY call it after the customer explicitly approves the itinerary and the package total and gives real contact details (full name, email, phone, nationality). Accepts no prices: only the signed offer from quote_camino_package / swap_camino_hotel. / Crea la petición en Ourway y devuelve el enlace de la propuesta (única llamada a la acción). (es: crear_propuesta)

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": {
      "cliente": "<cliente>",
      "idioma_codigo": "<idioma_codigo>",
      "camino_slug": "<camino_slug>",
      "oferta_paquete_firmada": "<oferta_paquete_firmada>",
      "formulario": "<formulario>"
    },
    "name": "create_camino_booking_proposal"
  }
}

Input Schema

NameRequiredDescriptionDefault
clienteYesCustomer's real contact details: full name, email, phone with international prefix and nationality.
formularioYesThe intake form answers collected with camino_trip_intake_form (rooms, travel type, itinerary, category, meal plan, budget, luggage, contact preference, comments).
camino_slugYesRoute slug from list_camino_routes (e.g. camino-frances).
idioma_codigoYesLanguage of the proposal and its emails as a 2-letter code, the customer's language (e.g. es, en).
poblacion_inicio_idNoStarting town ID from camino_route_towns (preferred over poblacion_inicio_nombre).
oferta_paquete_firmadaYesThe latest `oferta_paquete_firmada` returned by quote_camino_package, swap_camino_hotel or update_camino_package_extras, passed verbatim. Prices are taken only from it.
poblacion_inicio_nombreNoStarting town name, only when its ID is unknown.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • addedInput schema / $defs / FormularioMedida / properties / accommodation / description
      Added value: +"Accommodation category, the same one used in quote_camino_package"
    • addedInput schema / $defs / FormularioMedida / properties / board / description
      Added value: +"Meal plan: RO room only | BB breakfast | HB half board | FB full board"
    • addedInput schema / $defs / FormularioMedida / properties / budget / description
      Added value: +"Budget per person for the whole trip, in EUR"
    • addedInput schema / $defs / FormularioMedida / properties / contact_preference / description
      Added value: +"How the customer prefers to be contacted"
    • addedInput schema / $defs / FormularioMedida / properties / itinerary / description
      Added value: +"experto = Ourway's itinerary | propio = the customer's own itinerary"
    • addedInput schema / $defs / FormularioMedida / properties / lodging_mode / description
      Added value: +"rooms = private rooms (default) | shared = shared dorms"
    • addedInput schema / $defs / FormularioMedida / properties / luggage / description
      Added value: +"Luggage transfer wanted: si | no | no_seguro (not sure)"
    • addedInput schema / $defs / FormularioMedida / properties / observations / description
      Added value: +"Customer comments: allergies, celebrations, mobility needs, pets…"
    • addedInput schema / $defs / FormularioMedida / properties / travel_type / description
      Added value: +"a_pie = walking | en_bicicleta = cycling"
    • addedInput schema / $defs / HabitacionFormulario / properties / adults / description
      Added value: +"Adults in this room (1-6)"
    • addedInput schema / $defs / HabitacionFormulario / properties / child_ages / description
      Added value: +"Children's ages in this room, e.g. [5, 8]"
    • addedInput schema / properties / camino_slug / description
      Added value: +"Route slug from list_camino_routes (e.g. camino-frances)."
    • addedInput schema / properties / cliente / description
      Added value: +"Customer's real contact details: full name, email, phone with international prefix and nationality."
    • addedInput schema / properties / formulario / description
      Added value: +"The intake form answers collected with camino_trip_intake_form (rooms, travel type, itinerary, category, meal plan, budget, luggage, contact preference, comments)."
    • addedInput schema / properties / idioma_codigo / description
      Added value: +"Language of the proposal and its emails as a 2-letter code, the customer's language (e.g. es, en)."
    • 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. Prices are taken only from it."
    • addedInput schema / properties / poblacion_inicio_id / description
      Added value: +"Starting town ID from camino_route_towns (preferred over poblacion_inicio_nombre)."
    • addedInput schema / properties / poblacion_inicio_nombre / description
      Added value: +"Starting town name, only when its ID is unknown."
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

With annotations supplied (readOnlyHint=false, destructiveHint=false, openWorldHint=true), the description still adds real value: link validity of 7 days, the review/confirm/pay flow on the customer side, and the hard rule that no prices may be passed, only the verbatim signed offer. The gap is the non-idempotentHint=false annotation: nothing warns that a second call likely creates a duplicate booking request, which is the main behavioral risk for an agent.

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 action and the returned artifact, then the precondition, then the price constraint, which is the right priority order. The Spanish sentence is mostly a restatement plus one new fact ('única llamada a la acción'), so it is slightly redundant but not bloat given bilingual operation.

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 mutating booking tool with 5 required parameters and an output schema, the description covers the precondition, the required data, the price-handling rule and the return value. Nothing critical is missing except an explicit duplicate-request caveat, which is minor relative to the coverage provided.

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

Parameters4/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, but the description adds meaning beyond the schema: it stresses that cliente must be real contact data in full, that oferta_paquete_firmada is a verbatim signed offer rather than a price field, and it identifies the upstream sources for slug and form answers. That clarifies the most error-prone parameters.

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 ('Create the Ourway booking request for a quoted Camino de Santiago package') and names the return artifact, a personal proposal link valid 7 days. An agent can distinguish it from quote/swap/adjust siblings because it is the single tool that produces the customer-facing proposal.

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 gating condition: 'ONLY call it after the customer explicitly approves the itinerary and the package total and gives real contact details', listing the exact details required. It also names the upstream sources (quote_camino_package / swap_camino_hotel) whose signed offer is the only accepted price input, which effectively routes the agent to the right prior tool.

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.