Skip to main content
Glama

Report offer issue

report_offer_issue

Report a wrong price or a broken booking page. Works with expired ids; no search quota. Example: {"id":"off_8f2c1a","reason":"price_higher","seenPrice":455,"currency":"EUR"}.

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": {
      "reason": "<reason>"
    },
    "name": "report_offer_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoOffer id from search_flights (offers[].id), valid about 20 minutes. Or send offerId, offer_id or offer.
noteNoOptional note, up to 500 characters. No personal data.
offerNoSame as id: the offer id, or the offer object from search_flights.
reasonYes
offerIdNoSame as id. Use id; offerId is accepted too.
partnerNoOptional booking option id that was wrong.
currencyNoOptional ISO currency of seenPrice, e.g. EUR.
offer_idNoSame as id. Use id; offer_id is accepted too.
seenPriceNoOptional price the traveller saw on the booking site.

Output Schema

NameRequiredDescriptionDefault
statusYes
reportIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Offer id from search_flights (offers[].id), valid about 30 minutes. Or send offerId, offer_id or offer."New value: +"Offer id from search_flights (offers[].id), valid about 20 minutes. Or send offerId, offer_id or offer."
  2. Changed1 schema field changed
    • removedInput schema / properties / reason / description
      Removed value: -"price_higher, price_lower, link_broken, flight_unavailable or other."
  3. Changed9 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / id / description
      Previous value: -"Offer id returned by search_flights (offers[].id). Valid for about 30 minutes. Required: send it as id (or offerId, offer_id, offer)."New value: +"Offer id from search_flights (offers[].id), valid about 30 minutes. Or send offerId, offer_id or offer."
    • changedInput schema / properties / note / description
      Previous value: -"Optional note, up to 500 characters. No personal data: emails and long numbers are removed."New value: +"Optional note, up to 500 characters. No personal data."
    • changedInput schema / properties / offer / description
      Previous value: -"Same as id (alias): the offer id, or the offer object from search_flights (its id is used)."New value: +"Same as id: the offer id, or the offer object from search_flights."
    • changedInput schema / properties / offerId / description
      Previous value: -"Same as id (alias). Use id; offerId is accepted too."New value: +"Same as id. Use id; offerId is accepted too."
    • changedInput schema / properties / offer_id / description
      Previous value: -"Same as id (alias). Use id; offer_id is accepted too."New value: +"Same as id. Use id; offer_id is accepted too."
    • changedInput schema / properties / partner / description
      Previous value: -"Optional booking option id from the offer (bookingOptions[].partner) that was wrong."New value: +"Optional booking option id that was wrong."
    • changedInput schema / properties / reason / description
      Previous value: -"What was wrong: price_higher or price_lower (the booking site showed a different price), link_broken, flight_unavailable, or other."New value: +"price_higher, price_lower, link_broken, flight_unavailable or other."
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  4. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the write, non-destructive, non-idempotent profile, so the bar is lower. The description adds behavior the annotations cannot convey: the tool accepts expired offer ids and does not consume search quota, which matters for deciding whether to call it. It stops short of saying whether duplicate reports are deduplicated, which is the one gap given idempotentHint=false.

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?

Two short sentences plus a compact example, with the purpose front-loaded and no filler. The example earns its place by showing a complete, valid call shape, though the definition is not padded in any way.

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 an output schema present, the description need not explain return values, and nine parameters, four of which are aliases, are covered by the schema. The description supplies the pieces schema cannot, namely quota cost and expired-id tolerance, leaving only duplicate-report behavior undocumented.

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 89%, so the schema already documents every parameter, including the id/offerId/offer_id/offer aliasing. The inline example illustrates a realistic combination (reason plus seenPrice plus currency), but it only reuses fields already described in the schema and does not explain the semantics of note or partner. Baseline 3 is appropriate.

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?

"Report a wrong price or a broken booking page" gives a specific verb plus two concrete issue classes, which is far more informative than the title alone. It implicitly separates this write/report tool from the read-oriented siblings (search_flights, get_flight_offer), though it never names a sibling explicitly.

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?

"Works with expired ids; no search quota" is genuinely useful context that tells an agent it can still file a report after the ~20 minute offer window and that no quota is spent. It gives clear usage context but no exclusions or explicit routing away from any alternative for the same need.

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.