Skip to main content
Glama
Flight Search MCP
by sickn33

compare_weekends

Read-only

Compare flights for consecutive weekend date pairs within 13 weeks, excluding calendar conflicts and applying separate outbound and inbound time windows for each leg.

Instructions

Compare consecutive date pairs, exclude calendar conflicts and apply separate time windows on each leg. Maximum thirteen weeks.

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>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "compare_weekends"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
sortNoprice
cabinNoeconomy
limitNo
startYes
adultsNo
localeNoBCP 47 locale. If omitted, use the language of the requested market.
marketNoIT
nightsNo
originYes
carriersNo
currencyNoEUR
maxStopsNo
maxTotalNo
childAgesNo
providersNo
lapInfantsNo
destinationYes
seatInfantsNo
departWeekdayNo
excludedDatesNo
inboundArrivalNo
outboundArrivalNo
excludedCarriersNo
inboundDepartureNo
outboundDepartureNo
maxDurationMinutesNo
allowSeparateTicketsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.9

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already cover read-only and open-world behaviour, so the bar is lower. The description does add real context: calendar conflicts are excluded and time windows apply separately per leg, which the agent could not infer otherwise. It still omits cost/latency implications of comparing up to thirteen weeks of pairs and says nothing about what the response contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences with the constraint front-loaded, no filler. It is brief to a fault: given a 28-parameter schema, the brevity reflects under-specification rather than tight writing.

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

Completeness2/5

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

For a 28-parameter, nested-object tool with no output schema, the description should explain the date-pair expansion rule and key filters. It leaves almost the entire schema unexplained, so an agent cannot confidently construct a call beyond the four required fields.

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 description coverage is 4% across 28 parameters, so the description must compensate and largely does not. It hints at the four time-window objects ('separate time windows on each leg') and at excludedDates ('exclude calendar conflicts'), but departWeekday, nights, maxStops, allowSeparateTickets, providers and most others receive no meaning at all.

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?

States the verb 'compare' and the resource 'consecutive date pairs', plus a scope limit of thirteen weeks. However, it never says what is being compared (fares? itineraries? availability?), so the agent must infer the object of the comparison from siblings and parameter names.

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?

No statement of when to use this versus explore_dates, compare_fare_totals, or import_calendar_conflicts, all of which are plausible neighbours given the mention of calendar conflicts. The only guidance is an implicit bound ('maximum thirteen weeks').

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