Skip to main content
Glama

get_popular_directions

Read-onlyIdempotent

Find cities travelers commonly fly from to reach a destination, with fares. Use when you need origin cities and costs for a destination.

Instructions

List the cities people most often fly to a destination from, with a fare.

Use when the user asks where travellers reach a city from and what that costs. The request is keyed on the destination. For where someone can fly from a city use get_city_directions; for prices on one known route use search_flights.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNo2-letter locale for city names. Defaults to the server's locale.
currencyNoPrice currency (3 letters). Defaults to the server's currency.
destinationYesDestination IATA code (e.g. "BKK"). Required — the API rejects a request without it.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.3

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds the result shape (cities plus a fare) and the direction semantics (origins into the destination), which is real value beyond annotations, but it says nothing about rate limits, locale/currency defaults, or result volume.

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?

Two short paragraphs; the capability statement is front-loaded and the routing guidance follows with zero filler sentences.

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?

With an output schema present, return values need no explanation, and the description plus annotations and full schema coverage give everything an agent needs to select and invoke it correctly.

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 the required IATA code and locale/currency defaults, so the schema carries the parameter burden. The description only reiterates that the request is keyed on the destination, adding no format or syntax 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?

Specific verb+resource: lists origin cities for flights into a destination, with fares. It explicitly distinguishes itself from get_city_directions and search_flights, so the agent can route correctly without opening schemas.

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?

States when to use it ('where travellers reach a city from and what that costs'), the keying ('the request is keyed on the destination'), and names two alternatives with the condition that selects each ('where someone can fly from a city' vs 'prices on one known route').

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