Skip to main content
Glama

Mighty Travels historical deals

Search delayed MightyDeals

search_deals
Read-onlyIdempotent

Read-only MightyDeals found 20 to 50 days ago, including fares above the alert CPM limit once they are 20 days old. Not today and not bookable.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoFree text. A 3-letter code matches an airport.
toNoDestination IATA code.
fromNoOrigin IATA code.
sortNo
classNoeconomy, premium, business, or first.
limitNoPage size. Default 10.
cursorNoOffset cursor from the previous page. Omit for the first page.
airlineNo
price_maxNo
price_minNo
stops_maxNo
to_regionNo
from_regionNo
outbound_toNoYYYY-MM-DD
outbound_fromNoYYYY-MM-DD
above_cpm_limitNo1 for fares that missed the alert CPM limit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the description's job is domain behavior — and it delivers: the 20-50 day age window, the 20-day threshold at which above-CPM fares become visible, and that results are not bookable. Pagination behavior is left to the cursor parameter in the schema, which is a minor omission.

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?

Two sentences, zero filler, and the defining constraint (20-50 days) is front-loaded. The exclusions in the second sentence are short and carry real signal.

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?

For a 16-parameter search with no output schema and no required parameters, the description covers the domain concept well but leaves the agent guessing about result shape, default sorting, and half the filter parameters. 'MightyDeals' itself is undefined jargon an agent may not know.

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?

At 56% schema coverage, roughly seven parameters (airline, price_min/max, stops_max, to_region, from_region, sort) have no documented meaning anywhere. The description clarifies the semantics of above_cpm_limit indirectly via the 20-day rule, but adds nothing for the remaining undocumented filters.

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

Purpose4/5

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

The description pins down the resource precisely: MightyDeals aged 20-50 days, including fares past the alert CPM limit. That is a specific, non-obvious scope an agent could not infer from the name 'search_deals' alone. It stops short of naming a sibling it differs from, so it lands at 4 rather than 5.

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?

'Not today and not bookable' is an explicit exclusion that keeps the agent from using this for current or actionable fares. It gives no positive routing to an alternative (e.g. search_fare_alerts or a live search), so the when-to-use-instead half of the guidance is missing.

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