Skip to main content
Glama
travelpayouts-mcp

travelpayouts-mcp

get_price_calendar

Finds the cheapest ticket for every day of a month on a route, answering when it is cheaper to fly between two cities.

Instructions

Cheapest ticket for every day of a month for a route (v1/prices/calendar). Good for 'when is it cheaper to fly' answers.

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": {
      "origin": "<origin>",
      "destination": "<destination>"
    },
    "name": "get_price_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
originYesIATA code of departure city/airport, e.g. MOW.
currencyNoCurrency code: rub, usd, eur (default from env TRAVELPAYOUTS_CURRENCY).
max_daysNo
destinationYesIATA code of destination city/airport, e.g. IST.
return_dateNoOptional return month.
calendar_typeNo
departure_dateNoMonth to build the calendar for (YYYY-MM).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 behavioral burden and does not meet it. It does not say whether this is a read-only query (implied but unstated), how missing/unsold days appear in the response, what the calendar_type toggle changes, or any rate/coverage limits; the endpoint path is the only extra detail offered.

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?

Two compact sentences, front-loaded with the purpose and then the use case. No filler, though the phrasing is slightly telegraphic and the parenthetical endpoint adds little for an agent.

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

Completeness3/5

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

For a 7-parameter tool with no annotations and no output schema, the description conveys purpose, grain, and a use case, which is enough to attempt a call. It leaves notable gaps around the calendar_type/return_date/max_days semantics and the exact response shape beyond the one-line summary.

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 71%, so the schema already documents origin, destination, currency, departure_date and return_date. The description only re-frames origin/destination as 'a route' and departure_date as 'month'; it adds nothing about calendar_type, max_days, or how return_date interacts with the departure month.

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 concrete resource and output grain: 'Cheapest ticket for every day of a month for a route', with the endpoint path. An agent can distinguish this day-by-day calendar from a point search, though no sibling is named explicitly for contrast.

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?

'Good for "when is it cheaper to fly" answers' implies the use case (flexible-date price comparison), but there is no explicit when-not guidance and no named alternative such as a month matrix or a single-date search.

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