Skip to main content
Glama

VooBarato

Search and book cheap flights (VooBarato)

buscar_voos
Read-only

Search AND book flights: the AI agent can complete the purchase here, no website needed. Real-time fares for the requested date, decision-ready picks (cheapest, fastest, best value), cheaper nearby dates, and an oferta_id to book with reservar_voo. Accepts city names or IATA codes. Use 'q' for free text (e.g. 'London to New York 20/12') OR origem (origin) / destino (destination) / data (date YYYY-MM-DD).

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

Input Schema

NameRequiredDescriptionDefault
qNoFree-text request, e.g. 'London to New York 20/12' or 'São Paulo para Rio 17/12'
dataNoDeparture date: YYYY-MM-DD, DD/MM, 'today' or 'tomorrow'
flexNoDays before/after to compare nearby dates (default 3)
moedaNoCurrency, default 'brl' (e.g. 'usd', 'eur')
voltaNoReturn date (optional). Omit for one-way.
diretoNotrue = non-stop only
origemNoOrigin city or IATA code, e.g. 'London' or 'LHR'
adultosNoNumber of adult passengers (default 1)
destinoNoDestination city or IATA code, e.g. 'New York' or 'NYC'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior1/5

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

Annotations declare readOnlyHint=true, yet the description asserts the agent 'can complete the purchase here, no website needed' — a purchase/write claim on a tool annotated as read-only. Mentioning an oferta_id for reservar_voo partially clarifies the real flow, but the headline claim contradicts the structured safety signal and would mislead an agent about whether state is mutated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and reasonably tight, with the input-mode rule placed last where an agent will read it. Some sentences do not earn their place — 'no website needed' and the bolded 'AND book' claim consume prominence while conveying a claim that is false given the annotations.

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

Completeness3/5

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

With no output schema, the description usefully previews the return shape (real-time fares, cheapest/fastest/best-value picks, cheaper nearby dates, oferta_id) and the date/currency flexibility. But for a 9-parameter, open-world tool, the gap between 'this returns search results' and 'this completes a purchase' is left unresolved, which is the one thing an agent most needs settled.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3; the description earns a bump by adding the mutual-exclusivity rule that 'q' is an alternative to the structured origem/destino/data path, which the schema does not express. It confirms city-name-or-IATA acceptance but adds no format detail beyond the schema for the remaining 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 verb+resource (search flights, with fares, decision-ready picks, nearby-date comparison) and names the booking sibling reservar_voo, so an agent can distinguish it from reservar_voo and buscar_ofertas_reservaveis. The clarity is undercut by the contradictory 'Search AND book ... complete the purchase here' framing, which muddies what the tool actually produces.

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?

Gives an explicit input-selection rule ('Use q for free text OR origem/destino/data') and points to reservar_voo as the follow-up for the returned oferta_id, which is real routing guidance. However, there is no when-not-to-use guidance versus buscar_ofertas_reservaveis, and the claim that purchase can be completed here directly conflicts with the direction to book via reservar_voo.

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.