Skip to main content
Glama

Search & Book Flights for AI Agents (VooBarato)

Book and issue a flight ticket

reservar_voo

Re-validates the price and issues the ticket for the chosen offer. Returns the airline booking reference (PNR). Confirm offer, price and passenger details with the traveler before calling: this creates a purchase.

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": {
      "oferta_id": "<oferta_id>",
      "passageiros": "<passageiros>"
    },
    "name": "reservar_voo"
  }
}

Input Schema

NameRequiredDescriptionDefault
oferta_idYes
passageirosYes

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?

Annotations already declare readOnlyHint=false and idempotentHint=false, but the description adds the crucial business consequence — that the call is a financial purchase and re-validates the price at call time — which an agent cannot infer from the flags alone. It still does not say what happens if the re-validated price differs from the quoted one, nor whether retries risk duplicate tickets.

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?

Three short sentences, front-loaded with the action and return value, followed by the safety warning. No redundant restatement of the title or annotations; every sentence adds information.

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?

For a high-stakes purchase tool with no output schema, the description covers the action, the return value (PNR), and the pre-call confirmation requirement. The main remaining gap is failure behavior when price re-validation changes the fare, which matters for a non-idempotent, open-world mutation.

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 description coverage is 0%, so the description carries the burden, and it only gestures at the two parameters ('chosen offer', 'passenger details') without format, source, or completeness requirements. The nested passageiros object with seven required fields per traveler is not addressed beyond 'confirm passenger details', leaving the agent dependent on the schema's sparse inline notes.

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?

The description names a specific action pair ('re-validates the price and issues the ticket') on a specific resource ('the chosen offer'), and states the return value (airline booking reference / PNR). This is clearly a booking/issuance operation, cleanly distinguishable from the search-oriented siblings buscar_ofertas_reservaveis and buscar_voos.

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 gives an explicit precondition for calling: confirm offer, price and passenger details with the traveler first, because the call creates a purchase. That is real when-to-use guidance. It stops short of naming alternatives or stating when-not to use it (e.g. hold vs. book), so it does not reach a 5.

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.