Skip to main content
Glama

Trip720

Other choices for one item of a Trip720 trip

trip_alternatives
Read-only

For one line of an option in a trip already planned on Trip720 (a stay, a flight, a transfer, an activity), the other choices the providers offer, numbered, each with its price and what it does to the whole trip's Safe Trip Total and budget. Line ids and option ids come from plan_trip or get_trip. Read only; searches the providers again.

Input Schema

NameRequiredDescriptionDefault
lineIdYesThe line's id, e.g. 'N-STAY-1'.
tripIdYes
optionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description still adds genuine context: it re-queries the providers rather than reading the stored trip, so results may reflect current availability, and the response is numbered with each choice's price and its effect on the Safe Trip Total and budget.

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 scope ('For one line of an option in a trip already planned'), then the return content, then the id provenance, then a short behavioral note. One dense sentence plus a two-clause trailer; nothing is redundant, though the parenthetical item list makes the opening clause heavy.

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?

With no output schema, the description carries the burden of describing return values and does so adequately: numbered alternatives, each with price and impact on Safe Trip Total and budget. It also supplies id provenance. It omits any mention of result limits, pagination, or what happens when an item has no alternatives.

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 only 33% — lineId has an example value but tripId and optionId are undocumented. The description partially compensates by stating that line ids and option ids originate from plan_trip or get_trip, and it implicitly ties lineId to a trip line (a stay, flight, transfer, activity), but it adds nothing about tripId or id format.

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 concrete verb and resource: returns the alternative choices providers offer for one line item (stay, flight, transfer, activity) of an already-planned Trip720 trip. The scoping phrase 'for one line of an option' plus the enumeration of item types lets an agent separate this from siblings like get_trip and swap_trip_item without reading 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?

Gives a clear precondition — the trip must already be planned, and line/option ids must come from plan_trip or get_trip — which is exactly the routing information an agent needs. It stops short of an explicit contrast with swap_trip_item (view alternatives vs. commit a change), leaving that distinction to be inferred from 'read only'.

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