Skip to main content
Glama

Travelpayouts Price Calendar

travelpayouts_price_calendar
Read-onlyIdempotent

Get the cheapest ticket price for each day of a month for a route (a price calendar). Uses IATA city/airport codes. Example: travelpayouts_price_calendar({ origin: "MOW", destination: "BCN", depart_date: "2026-08", currency: "usd", _apiKey: "token:marker" })

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "origin": "MOW",
      "_apiKey": "token:your-travelpayouts-api-key",
      "currency": "usd",
      "depart_date": "2026-08",
      "destination": "BCN"
    },
    "name": "travelpayouts_price_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
originYesDeparture IATA city/airport code, e.g. "MOW"
_apiKeyYesTravelpayouts key as "token:marker" (marker optional)
currencyNoPrice currency code, e.g. "usd" (default rub)
depart_dateYesMonth to build the calendar for, format YYYY-MM or YYYY-MM-DD
destinationYesArrival IATA city/airport code, e.g. "BCN"
return_dateNoReturn month/date, format YYYY-MM or YYYY-MM-DD (optional)
calendar_typeNoWhich date to key the calendar by: "departure_date" (default) or "return_date"

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 mark this as read-only, idempotent, and non-destructive, so the description does not need to cover safety. It adds useful behavioral context by requiring IATA city/airport codes and showing the exact API key format ('token:marker') in the example. It also clarifies output granularity (each day of a month).

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 tight sentences plus a compact example. The core behavioral description is front-loaded in the first sentence, and the example is minimal but sufficient. No filler or repetition of schema details.

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?

The tool has 7 parameters and no output schema, but the 100% schema coverage plus a complete example leave little ambiguity for invocation. The description covers the essential domain constraint (IATA codes) and the per-day output concept, though it does not detail response format or optional return_date behavior. That is a minor gap given the other signals.

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 100%, so the description is not required to re-explain parameters. The example call illustrates all required parameters in context, which helps, but it does not add meaning beyond the schema for optional fields like return_date or calendar_type. Baseline 3 is appropriate.

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 opens with a concrete action and object: 'Get the cheapest ticket price for each day of a month for a route (a price calendar).' This clearly identifies the tool's output granularity (per-day calendar) and route scope, and it implicitly distinguishes it from sibling travelpayouts tools like cheapest_by_month, which aggregate differently. The IATA codes note and example reinforce the resource type.

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?

No explicit when-to-use or alternatives are given, so the description does not directly route an agent away from travelpayouts_cheapest_by_month, travelpayouts_cheap_prices, or popular_destinations. The intended use is implied by the phrase 'for each day of a month,' but there are no exclusions or comparison to siblings. This is adequate but leaves selection to inference.

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.