Skip to main content
Glama
travelpayouts-mcp

travelpayouts-mcp

get_popular_directions

Find low-cost origin cities and airports for flights to a specified destination using its IATA code, supporting destination landing pages.

Instructions

Cheapest origins flying to a destination (v3/get_popular_directions) — useful for destination landing pages.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "destination": "<destination>"
    },
    "name": "get_popular_directions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
localeNo
currencyNoCurrency code: rub, usd, eur (default from env TRAVELPAYOUTS_CURRENCY).
destinationYesIATA code of destination city/airport, e.g. IST.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/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 of behavioral disclosure. It states the endpoint path and basic purpose but does not mention authentication, rate limits, result freshness, pagination, response shape, or whether this is a read-only lookup. For a query tool with zero annotation coverage, that leaves significant behavioral gaps.

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?

The description is a single front-loaded sentence with no redundant wording. The core purpose, endpoint path, and a use-case cue are all packed into minimal space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, four parameters, and only 50% schema description coverage, the description should explain more about behavior, inputs, and usage boundaries. It gives the basic purpose but omits enough that an agent could not confidently distinguish this from adjacent tools or invoke the undocumented parameters correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: destination and currency are described in the schema, while limit and locale are undocumented. The description only restates that a destination is involved and adds no meaning about limit, locale, or how the cheapest origins are selected, so it does not compensate for the undocumented parameters.

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?

The description clearly states the resource and metric: cheapest origins flying to a destination. It distinguishes the direction of search from a generic city-directions tool only by implication, not by naming alternatives, but an agent can understand the basic operation without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'useful for destination landing pages' provides an implied use case, which is better than no guidance. However, there is no explicit when-to-use guidance versus siblings like get_city_directions or search_cheapest_tickets, and no when-not-to-use or prerequisite context.

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