Skip to main content
Glama

Ourway – Camino de Santiago

Adjust the package (cheaper, upgrade, more central, breakfast)

adjust_camino_package
Read-onlyIdempotent

Propose per-night hotel swaps on a quoted Camino de Santiago package to reach a goal: cheaper, higher category, closer to the town centre or with breakfast. objetivo: bajar_precio | subir_categoria | mas_centrico | con_desayuno; optional noche_num to limit to one night. Use it when the client asks to LOWER THE PRICE, UPGRADE, sleep MORE CENTRAL or ADD BREAKFAST — do not re-quote. Returns each proposal with its change in the total and the total if all are applied; apply accepted ones one by one with swap_camino_hotel, chaining the new offer. If there are no proposals, offer to re-quote with another category/itinerary. (es: ajustar_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>",
      "objetivo": "<objetivo>"
    },
    "name": "adjust_camino_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
objetivoYesGoal of the adjustment: bajar_precio (cheaper) | subir_categoria (upgrade) | mas_centrico (closer to the centre) | con_desayuno (with breakfast).
noche_numNoLimit the proposals to this night of the package; omit to consider every night.
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. Changed3 schema fields changed
    • addedInput schema / properties / noche_num / description
      Added value: +"Limit the proposals to this night of the package; omit to consider every night."
    • addedInput schema / properties / objetivo / description
      Added value: +"Goal of the adjustment: bajar_precio (cheaper) | subir_categoria (upgrade) | mas_centrico (closer to the centre) | con_desayuno (with breakfast)."
    • 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."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations by saying the tool only proposes and nothing is committed, that accepted proposals must be applied one by one with swap_camino_hotel while chaining the new offer, and what each proposal contains (per-night delta plus total if all are applied). That is exactly the workflow context an agent needs to avoid wrongly assuming a mutation happened.

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-loads what the tool does and what it returns, then the usage triggers and the apply workflow; nearly every clause carries operational meaning. It is dense but slightly overpacked, with the Spanish alias tacked on at the end.

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?

Covers the full loop for a proposal tool: inputs, the empty-result case, the downstream apply step, and the chaining requirement. With an output schema present, return values are already structured, and the description still summarizes the essentials.

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 restates the objetivo values and the noche_num night limit while mapping them to natural client phrasing (cheaper / upgrade / more central / breakfast). It adds some interpretive value but no format, verbatim-passing or edge-case detail beyond the schema.

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 ('propose per-night hotel swaps on a quoted Camino de Santiago package') and enumerates the four goals it serves. It is clearly distinguished from the mutating sibling swap_camino_hotel, which is named as the apply step rather than a competitor.

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 explicit triggers ('when the client asks to LOWER THE PRICE, UPGRADE, sleep MORE CENTRAL or ADD BREAKFAST'), an explicit exclusion ('do not re-quote'), and a fallback path when no proposals come back (offer to re-quote with another category/itinerary).

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.