Skip to main content
Glama
travelpayouts-mcp

travelpayouts-mcp

get_month_matrix

Compare daily flight fares for a month between two IATA airports, grouped by transfer options, to identify low-price travel dates.

Instructions

Cheapest price per day of a month (v2/prices/month-matrix), grouped by transfers. Alternative calendar view.

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_month_matrix"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
monthNoFirst day of month (YYYY-MM-DD).
originYesIATA code of departure city/airport, e.g. MOW.
one_wayNo
currencyNoCurrency code: rub, usd, eur (default from env TRAVELPAYOUTS_CURRENCY).
max_daysNo
destinationYesIATA code of destination city/airport, e.g. IST.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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 disclosure burden, yet it says nothing about permissions/API key needs, rate limits, caching of price data, or the shape of the per-day/transfer grouping it advertises. The only behavioral hint is the ambiguous 'grouped by transfers' phrase.

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?

It is a single front-loaded sentence with no filler, though the raw endpoint path in parentheses adds little value for an agent and the trailing fragment 'Alternative calendar view.' is too clipped to be informative.

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

Completeness1/5

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

With 7 parameters, no annotations, and no output schema, the description should explain the return shape (a day-by-day matrix, presumably with transfer-count breakdowns) and the semantics of the undocumented parameters. One line covering none of this leaves the agent guessing before every call.

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 57%, and the description contributes no parameter meaning at all. Three parameters are undocumented in the schema (limit, max_days, one_way) and nothing in the description compensates — for example, how max_days interacts with limit, or what month format/constraints apply beyond 'first day of month'.

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

Purpose3/5

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

The description names a concrete resource and output (cheapest price per day of a month) and cites the underlying endpoint, but 'grouped by transfers' is ambiguous and 'Alternative calendar view' does not identify which sibling it is an alternative to, so an agent cannot cleanly distinguish it from get_price_calendar.

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

Usage Guidelines2/5

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

'Alternative calendar view' implies a use case but never states when to pick this over get_price_calendar, get_latest_prices, or search_cheapest_tickets, and gives no exclusions or prerequisites such as requiring a month value.

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