Skip to main content
Glama

Add Accommodation Option

add_accommodation_option

Propose somewhere to stay at a destination — hotel, hostel, apartment, house or camping. Add several options to the same destination so the user can compare them, then use select_destination_option once they pick one. Always include the total cost and currency, otherwise the trip budget will be wrong. Keep name a clean display name — price, town, dates and commentary belong in their own fields, not in name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesThe accommodation option to propose.
tripIdYesId of the trip, as returned by list_trips or get_trip.
variantIdYesId of the trip variant (an alternative version of the trip), from get_trip.
destinationKeyYesKey of the destination inside the variant, from get_trip (e.g. "destination-1").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds real value beyond that by disclosing a downstream consequence: omitting total cost and currency corrupts the trip budget. It still says nothing about return shape, duplicate handling, or permission requirements.

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

Conciseness5/5

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

Three sentences, front-loaded with what the tool does, then the multi-option workflow, then the two hard constraints. No preamble, no repetition of the title, and every sentence carries a distinct instruction.

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 nested-object mutation tool with no output schema, the description covers purpose, workflow routing, a required-field constraint and a naming convention. Gaps remain around what is returned after the add and how duplicates or re-adds behave, but annotations carry the safety profile so nothing critical for invocation is missing.

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%, including detailed guidance on name hygiene, currency, dates and nested objects, so the baseline is 3. The description restates the cost/currency requirement and the 'keep name clean' rule, which reinforces but does not add syntactic or semantic detail beyond what the schema already provides.

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 somewhere to stay at a destination') and enumerates the supported types (hotel, hostel, apartment, house, camping), which maps directly onto the type enum. It also situates the tool in a workflow by naming select_destination_option as the downstream step, so an agent can separate it from sibling add_* tools without opening a 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?

Explicitly tells the agent to add several options to the same destination for comparison and to route to select_destination_option once a choice is made — clear when-to-use and a named alternative. However, it never mentions the obvious edit path (update_destination_option) for correcting an existing option, so the guidance is one-directional rather than complete.

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.