Skip to main content
Glama

plan_route

Evaluates multi-city trip requests to recommend the best routing from Star Alliance, oneworld, or custom carrier options.

Instructions

The primary entry point for any multi-city trip. Give it your cities — it automatically evaluates Star Alliance RTW, oneworld RTW, AND custom mixed-carrier builds, then recommends the best approach. Handles direction detection, backtracking analysis, alliance feasibility, surface sectors, and carrier selection. The customer doesn't need to know if their trip is alliance or custom — this tool figures it out.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paxNoNumber of passengers
budgetNoBudget tier — affects carrier selection and fare strategy
citiesYesOrdered list of IATA city/airport codes (e.g. ['LAX', 'NRT', 'BKK', 'LIS', 'LAX'])
preferencesNoTravel preferences: 'no-lcc', 'lounge-access', 'short-layovers', 'surface-ok'
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool automatically evaluates three types of builds, handles direction detection, backtracking, and carrier selection, which provides sufficient behavioral insight for a computational tool. It does not discuss failure modes or concurrency, but is adequate.

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?

The description is four sentences long, front-loaded with the primary purpose ('primary entry point for any multi-city trip'). Each sentence adds meaningful information without being verbose, though could be slightly tighter.

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?

Given no output schema, the description adequately covers the tool's role as a primary analysis tool. It explains inputs and internal logic sufficiently for an agent to decide when to invoke it. Lacks return value description but is acceptable for this type of tool.

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% (all parameters have descriptions), baseline is 3. The description adds value beyond the schema by explaining that 'budget affects carrier selection' and 'cities are ordered list', and that preferences are travel preferences, which clarifies usage.

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?

The description clearly defines this as the primary entry point for multi-city trips, automatically evaluating different alliance builds and recommending the best approach. It distinguishes itself from sibling tools like custom_route_build (which likely requires manual input) and route_suggest.

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?

The description states it is the 'primary entry point', implying it should be used first for multi-city trips. It outlines what the tool handles (direction detection, backtracking, alliance feasibility, etc.), but does not explicitly state when to use alternatives or provide exclusions, though the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SEKeener/airtreks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server