Skip to main content
Glama

Axel flight and hotel prices

Claim a flight offer

claim_flight_offer
Idempotent

Save an Axel flight offer into the connected account and return the checkout link; nothing is booked or charged. Needs a connected account. Pass the offer link from search_flights or open_flight_link (https://helloaxel.com/r/) or its bare token. The traveler finishes on helloaxel.com: nothing is booked or charged until they confirm.

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

Input Schema

NameRequiredDescriptionDefault
tokenNoThe bare offer token instead of the URL.
offerUrlNoThe offer link Axel returned (https://helloaxel.com/r/<token> or /en/r/<token>).
fareIndexNoThe fareIndex of the option the traveler chose from offer.fareOptions; its name may be a cabin label. Omit when no fare option was chosen.

Output Schema

NameRequiredDescriptionDefault
tripIdYes
quoteIdYes
offerTokenYes
checkoutUrlYesContinue here to finish booking in Axel; nothing is charged until the traveler confirms.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses the key behavior: this only persists the offer, returns a checkout link, and nothing is booked or charged until the traveler confirms on helloaxel.com. It does not describe what happens if the offer is already claimed or expired, which the idempotentHint only partially covers.

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?

Front-loaded with the outcome and the safety caveat, then the input mechanics. The only waste is the near-verbatim repetition of "nothing is booked or charged" at the start and end.

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?

For a three-parameter, non-destructive claim tool with an output schema and full schema coverage, the description covers purpose, precondition, input sources, and the crucial 'no charge' guarantee. Nothing an agent needs to invoke it correctly is missing.

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 100%, so baseline is 3. The description usefully explains where offerUrl comes from (search_flights or open_flight_link) and that a bare token is acceptable, but it never mentions fareIndex or clarifies that token and offerUrl are alternative inputs.

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?

"Save an Axel flight offer into the connected account and return the checkout link" gives a specific verb, resource, and output. It explicitly names search_flights and open_flight_link as the sources that precede it, so an agent can place it in the pipeline without opening a schema.

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?

It states the precondition ("Needs a connected account") and the upstream tools whose link/token should be passed in. It does not state exclusions, e.g. that hotel offers belong to claim_hotel_quote, but the airline-specific framing makes that inference easy.

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