Skip to main content
Glama
Flight Search MCP
by sickn33

refresh_offer

Read-only

Rechecks a prior flight offer by repeating the exact search with the original provider and passenger mix, verifying whether its quoted price and availability still hold.

Instructions

Check a prior offer by repeating the exact search with the original provider and passenger composition. If the offer ID is absent, its prior price is unverified.

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": {
      "request": "<request>",
      "provider": "<provider>",
      "offerId": "<offerId>"
    },
    "name": "refresh_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
offerIdYes
requestYes
providerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.9

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already mark it read-only and open-world; the description adds the important behavior that it must repeat the exact original search/provider/passenger composition and that a missing offer ID means the prior price is unverified. It does not describe return payload, rate limits, or provider failure behavior.

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 front-loaded sentences with no filler. The second sentence qualifies the verification outcome without wasting space.

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 complex refresh operation with a nested request and no output schema, the description omits what a successful check returns and how failures or price changes are represented. Annotations cover read-only safety, but the definition is still thin for calling this tool confidently.

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 0%, and the description only explains provider and passenger composition at a high level. It does not explain the nested request fields, offerId semantics, or most of the request object, leaving significant gaps for three required parameters.

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?

States a specific action (check a prior offer) and mechanism (repeat the exact search with the original provider and passenger composition). Clear enough to distinguish from a fresh search, though it does not name a sibling alternative.

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?

Implies use when refreshing a prior offer ID and warns that an absent ID leaves the prior price unverified. It gives no explicit when-not guidance or alternative tools, so the guidance is only implied.

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