Skip to main content
Glama

Flight price calendar

mb_flight_price_calendar
Read-onlyIdempotent

Compare daily minimum one-adult fares for a route over a date range in one call, then select a day for live flight search.

Instructions

Cheapest one-adult fare per day for a route over a date range, in one call.

Then call mb_search_flights for the chosen day. Values are cached minimums and can differ from a live search; days with no known fare are left out.

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": "mb_flight_price_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of days to cover.
originYesIATA airport or city code from mb_find_place(mode='flight'), e.g. 'THR', 'MHD', 'ISTALL' (all Istanbul airports).
start_dateNoFirst day YYYY-MM-DD; default today.
destinationYesIATA airport or city code from mb_find_place(mode='flight'), e.g. 'THR', 'MHD', 'ISTALL' (all Istanbul airports).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.5.0
    • changedInput schema / properties / destination / description
      Previous value: -"IATA airport or city code from mb_find_place(mode='flight'), e.g. 'THR', 'MHD', 'IKA' or 'ISTALL' (all Istanbul airports)."New value: +"IATA airport or city code from mb_find_place(mode='flight'), e.g. 'THR', 'MHD', 'ISTALL' (all Istanbul airports)."
    • changedInput schema / properties / origin / description
      Previous value: -"IATA airport or city code from mb_find_place(mode='flight'), e.g. 'THR', 'MHD', 'IKA' or 'ISTALL' (all Istanbul airports)."New value: +"IATA airport or city code from mb_find_place(mode='flight'), e.g. 'THR', 'MHD', 'ISTALL' (all Istanbul airports)."
    • removedInput schema / properties / start_date / anyOf
      Removed value: -[
      -  {
      -    "format": "date",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / start_date / description
      Previous value: -"First day YYYY-MM-DD, e.g. '2026-10-15'; default today."New value: +"First day YYYY-MM-DD; default today."
    • addedInput schema / properties / start_date / format
      Added value: +"date"
    • addedInput schema / properties / start_date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / title
      Removed value: -"mb_flight_price_calendarArguments"
  2. Changed5 schema fields changedv0.3.0
    • removedInput schema / properties / days / title
      Removed value: -"Days"
    • removedInput schema / properties / destination / title
      Removed value: -"Destination"
    • removedInput schema / properties / origin / title
      Removed value: -"Origin"
    • removedInput schema / properties / start_date / title
      Removed value: -"Start Date"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "mb_flight_price_calendarDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavioral context: values are cached minimums that may diverge from a live search, and days without a known fare are omitted rather than returned empty — both are non-obvious traits an agent must know to interpret results.

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?

Three short sentences, front-loaded with what the tool returns and followed by the next-step instruction and the caveat. No filler, and the most decision-relevant facts (one call, cheapest per day) come first.

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?

With no output schema, the description must convey the return shape, and it does: one fare value per day for a single adult, with absent days indicating no known fare. Combined with the caching caveat this is sufficient to use the tool, though explicit guidance on how to handle gaps in the returned series would close the last gap.

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 description coverage is 100%, including code format, ALL-suffix city aggregation, date defaulting and the 1-180 day bound, so the schema already carries parameter meaning. The description only contributes the 'one-adult fare' passenger assumption and the notion that the range starts at start_date; baseline 3 applies.

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?

States a specific verb and resource — the cheapest one-adult fare per day for a route over a date range — plus the key affordance 'in one call'. It is clearly distinguished from mb_search_flights, which it explicitly positions as the follow-up step rather than a substitute.

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

Usage Guidelines4/5

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

Gives an explicit workflow: use this to scan a range, then call mb_search_flights for the chosen day. That effectively tells the agent when this tool is the right entry point and when a live search takes over, though it never states conditions for skipping the calendar entirely (e.g. a known fixed date).

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