Skip to main content
Glama
Filip-Kin

ita-matrix-mcp

by Filip-Kin

Find the cheapest dates

search_flexible_dates

Scan a range of departure dates to compare prices and find the cheapest day to fly.

Instructions

Scan a range of departure dates and report the cheapest fare on each, to find when to fly. Runs one search per date, so keep ranges modest (a 14-day scan takes several minutes). For a single date with ±flexibility, use search_flights with flexDays instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cabinNoMinimum cabin. Default COACH.
adultsNo
originYes
youthsNo
endDateYesLast departure date, YYYY-MM-DD.
routingNoRouting code applied to every leg.
seniorsNo
childrenNo
currencyNoISO 4217, e.g. "USD", "EUR".
maxDatesNoCap on dates to probe. Default 10.
maxStopsNoStops allowed RELATIVE TO the minimum possible for the route (Matrix semantics), not absolute. 0 = only the shortest-hop routings. Default 1.
salesCityNoIATA city code for point of sale. Changes which fares are filed and offered — useful for finding cheaper origin-country pricing.
startDateYesFirst departure date, YYYY-MM-DD.
destinationYes
infantsInLapNo
infantsInSeatNo
tripLengthDaysNoNights away for a round-trip. Omit or 0 for one-way.
Behavior4/5

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

With no annotations, the description must disclose behavior, and it does: 'Runs one search per date, so keep ranges modest (a 14-day scan takes several minutes).' This reveals a key performance characteristic. However, it does not describe the output format or any other behavioral details, though as a search tool there are few side effects.

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?

The description is two sentences, front-loaded with the core action, then a performance caveat, then an explicit alternative. Every word contributes useful information with no redundancy.

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?

Given the tool's complexity (17 parameters, no output schema), the description gives a clear high-level purpose, a performance warning, and a usage boundary. It could describe the return format or key required parameters, but the core usage is well covered for an agent to select and invoke the tool correctly.

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 53%, so the schema already explains many parameters. The description adds context about range size and performance, which indirectly relates to startDate/endDate and maxDates, but it does not explain any specific parameter in detail beyond what the schema provides. It does not compensate significantly for the undocumented parameters.

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 clearly states the tool's function: 'Scan a range of departure dates and report the cheapest fare on each,' using specific verbs and a resource. It also distinguishes from the sibling search_flights by explicitly directing users with single-date flexibility to that alternative.

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

Usage Guidelines5/5

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

Explicit guidance is provided: 'For a single date with ±flexibility, use search_flights with flexDays instead.' This tells the agent when not to use this tool and names the alternative. It also advises keeping ranges modest due to the one-search-per-date behavior, giving practical usage constraints.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Filip-Kin/ita-matrix-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server