Skip to main content
Glama

Get Route Monthly Prices

get_route_monthly_prices
Read-only

Returns monthly prices and an interactive Flaut.Travel price chart for a city-to-city route. The attached component is the complete and authoritative visualization: do not create another chart or table from the returned data. After the component, provide only a brief textual takeaway. Each month contains the cheapest one-way ticket found in recent user searches; null means no data for that month.

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": {
      "originCode": "<originCode>",
      "destinationCode": "<destinationCode>",
      "locale": "<locale>"
    },
    "name": "get_route_monthly_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeYesLanguage of the user's current request. Always set it explicitly to localize the complete widget.
originCodeYesThree-letter city IATA code for the route origin. If you do not know the city code, call resolve_city_iata_code first.
currencyCodeNoSupported ISO 4217 currency code. Use one of the enum values.EUR
destinationCodeYesThree-letter city IATA code for the route destination. If you do not know the city code, call resolve_city_iata_code first.

Output Schema

NameRequiredDescriptionDefault
localeYes
monthsYesTwelve monthly price points starting with the current month. Null price means no cached user-found data for that departure month.
originCodeYes
originSlugNo
currencyCodeYes
destinationCodeYes
destinationSlugNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds real behavioral context beyond that: the response includes an authoritative UI component, the data derives from recent user searches rather than a full fare inventory, and nulls indicate missing months. It does not mention latency, caching, or whether prices are per-person versus total, so it stops at a 3.

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?

Three sentences, front-loaded with what is returned, then the rendering constraint, then the data caveat. Every sentence earns its place, though the rendering and takeaway instructions could be merged for tightness.

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?

An output schema exists, so return values need not be re-explained, and the description correctly focuses on the widget-emission constraint that structured fields cannot convey. It is nevertheless thin on what an agent most needs for this tool in a multi-tool suite: the choice between it and the sibling route-price tools, and whether the caller can still use the raw numbers for follow-up analysis. Adequate but with clear gaps.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description goes further by explaining exactly what the data represents (cheapest one-way monthly ticket from recent searches) and what a null means. It does not add guidance on originCode/destinationCode beyond the schema's own resolve_city_iata_code pointer, nor on locale/currency choice, so it is slightly above baseline rather than a 5.

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 states a specific verb+resource: monthly prices for a city-to-city route, plus an attached interactive price chart. It also describes the payload semantics (each month holds the cheapest one-way ticket from recent user searches, null = no data), which distinguishes it from sibling search/render tools.

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?

Usage guidance is present but framed as presentation rules: do not build another chart or table, and after the component give only a brief takeaway. It never explicitly tells the agent when to choose this over search_route_prices, render_route_prices, or the airports analytics siblings, so routing to the right tool is left implicit.

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.

Resources