Skip to main content
Glama
felipebasurto

viajante

Re-check offer

recheck_offer
Read-onlyIdempotent

Verify an earlier flight offer with a fresh Google Flights search, report price or filter changes, and flag failed checks without implying the offer is gone.

Instructions

Re-check an earlier flight offer with one fresh Google Flights search (never the replay cache). offer is a prior search_flights offer, or a {query, offer} row, or enough of one: price plus every segment's flight_number, origin, destination and departure clock. query defaults to the offer's evidence query and is replayed (cabin, stops, bags, airline filters). A price_cap is not sent; a break is reported in filter_violations. Read the outcome: check_failed means the check did not run, never that the offer is gone. Confirm the price on the provider's page; this is not a booking guarantee. Full rules: get_guide.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fetchNo
offerYes
proxyNo
queryNo
countryNo
currencyNo
allow_substituteNo
allow_loose_matchNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
empty_noteYes
error_codeYes
observed_atYes
retry_afterYes
completenessYes
empty_reasonYes
observed_at_basisYes
retry_after_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.2

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive/open-world, yet the description adds substantial behavior the annotations cannot: a fresh search is always performed (never the replay cache), a price_cap is intentionally omitted with breaks surfaced in filter_violations, and critically that check_failed means the check did not run rather than the offer being gone. It also disclaims that this is not a booking guarantee.

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?

Dense and front-loaded, with the core action and the freshness constraint stated first. Every sentence carries information, though the middle clauses are telegraphic and would benefit from slightly clearer separation.

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

Completeness5/5

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

An output schema exists, so return values need not be re-explained; the description instead supplies the interpretation of the check_failed outcome, which is the non-obvious part. For an 8-param tool it delegates full rules to get_guide, which is reasonable, and covers the primary call path adequately.

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 coverage is 0% across 8 parameters, so the description must compensate. It richly explains the two key inputs — offer (required fields: price plus each segment's flight_number, origin, destination, departure clock) and query (defaults to the offer's evidence query, replayed with cabin/stops/bags/airline filters) — but leaves fetch, proxy, country, currency, allow_substitute, and allow_loose_match entirely undocumented.

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 (re-check) and resource (an earlier flight offer) with a precise scope: one fresh Google Flights search, never the replay cache. This cleanly distinguishes it from search_flights, which the description explicitly references as the source of the offer being re-checked.

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?

Establishes the context of use (re-validating a prior search_flights offer) and what input qualifies as an offer, including the minimum fields needed. It does not name a sibling to use instead for other scenarios, but the 'earlier offer' framing makes the triggering condition clear.

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