Skip to main content
Glama

Get Active Flight Deals

get_deals
Read-onlyIdempotent

Return only the user's tracked routes whose latest fare is currently at or below their alert target (Google Flights typical low, 2-SD statistical drop, running-average sensitivity, or manual max price). Returns { currency, deals_count, deals[], all_routes_count, booking_guidance }. If no routes are currently below target, returns deals_count: 0 with an empty deals array. Usage guideline: always present exact dates, total price (including any extra transport), and the booking URL to the user and ask for explicit approval before purchasing.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/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 closed-world, so the safety profile is covered. The description adds real value beyond that: the exact return envelope, the empty-result behavior (deals_count: 0 with an empty deals array), and a mandatory human-approval step before any purchase. It does not describe cost, rate limits, or freshness of the fare data.

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?

The core filtering rule is front-loaded in the first sentence, followed by the return shape and the safety guideline, so an agent can stop reading early if it only needs the gist. The parenthetical listing of four alert-target types is dense but earns its place by defining deal eligibility; the response-field enumeration is slightly list-like but functional.

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 input parameters and no output schema, the description carries the burden of explaining the return value and does so by naming every top-level field, including the empty case. Minor gaps remain: what booking_guidance contains and how currency is determined, though neither blocks a correct call.

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?

The tool takes zero parameters, so the baseline is 4 and there is nothing for the description to disambiguate. The schema already sets additionalProperties: false, consistent with a no-argument call.

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 (return) and resource (the user's tracked routes whose latest fare is at or below their alert target), and the word 'only' plus the qualifying condition distinguishes it from a plain route listing such as list_routes. It also enumerates the four target types that trigger a deal, so an agent knows precisely what counts as a result.

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?

The stated 'usage guideline' covers post-retrieval behavior (present exact dates, total price, booking URL, ask for explicit approval before purchasing) rather than when to call this tool versus get_price_history, get_trending_fares, or list_routes. Usage is implied by the deal-scanning framing but no alternatives or exclusions are given.

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.