Skip to main content
Glama

Validate a Multi-City Routing

route_validate
Read-only

Validate a multi-city flight routing for feasibility. Checks alliance carrier rules, identifies dead legs, warns about poison carriers, and estimates bookability. Use this before building an itinerary to catch routing problems early.

Input Schema

NameRequiredDescriptionDefault
citiesYesOrdered list of IATA city/airport codes (e.g. ['LAX', 'NRT', 'BKK', 'LHR', 'LAX'])
allianceNoPreferred alliance: 'star' or 'oneworld'
carriersNoOptional carrier codes for each leg (e.g. ['NH', 'TG', 'BA', 'BA'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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=false, so the safe, non-mutating profile is covered structurally. The description adds real operational context beyond that by naming the analyses it runs (dead legs, poison carriers, bookability), though it says nothing about cost, latency, or what the warning output looks like.

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 with no filler, front-loaded with the core action and followed by the specific checks and the usage cue. Every sentence carries distinct information and nothing repeats the title or schema.

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 read-only validation tool with no output schema, the description covers purpose, checks performed and workflow placement adequately. It stops short of describing the shape of the feasibility result or warnings, which is the only remaining gap given no output schema exists to carry that.

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%, so all three parameters (cities, alliance, carriers) are already documented in the schema with formats and examples. The description adds no additional parameter meaning such as ordering requirements tying carriers to legs, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (validate) plus resource (multi-city flight routing for feasibility) and enumerates the concrete checks performed: alliance carrier rules, dead legs, poison carriers, bookability. It does not name any sibling explicitly, so an agent must infer the distinction from 'before building an itinerary' rather than a direct contrast with custom_route_build or plan_route.

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 clear sequencing guidance: 'Use this before building an itinerary to catch routing problems early,' which tells the agent when in the workflow to call it. It offers no explicit when-not condition and never names an alternative tool to use instead, so the guidance is contextual rather than routing.

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.