Skip to main content
Glama
felipebasurto

viajante

Search flights and hotel

search_trip
Read-onlyIdempotent

Search flights and one hotel stay together as a single locked itinerary, aligning dates and currency to the flight search.

Instructions

Flights then one hotel stay, under one lock. Currency follows the flight origin or an explicit code; if unproven, ask. Viajante does not convert. The same currency goes to the hotel. Stay dates default to the flights' window. Unnamed baggage_buffer is 0. A positive carry_on is verified on the page; named bags are refused. Flight queries carry the same recommendation block as search_flights. trip_total is omitted if either side missed.

    deadline_seconds stops starting queries after that many seconds; unfinished
    queries are error code deadline (not loaded, not empty). See get_guide.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNo
viaNo
bagsNo
sortNoranked
tripNoone-way
cabinNoeconomy
fetchNoauto
roomsNo
adultsNo
nearbyNo
routesYes
sourceNogoogle
countryNo
airlinesNo
allianceNo
carry_onNo
check_inNo
childrenNo
currencyNo
locationYes
check_outNo
max_stopsNo
price_capNo
min_ratingNo
entire_homeNo
exclude_viaNo
depart_afterNo
no_overnightNo
arrive_beforeNo
baggage_bufferNo
infants_on_lapNo
infants_in_seatNo
deadline_secondsNo
exclude_airlinesNo
exclude_airportsNo
exclude_allianceNo
include_airportsNo
free_cancellationNo
require_overnightNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
empty_noteYes
error_codeYes
observed_atYes
retry_afterYes
completenessYes
empty_reasonYes
observed_at_basisYes
retry_after_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed41 schema fields changedv1.5.2
    • removedInput schema / properties / adults / title
      Removed value: -"Adults"
    • removedInput schema / properties / airlines / title
      Removed value: -"Airlines"
    • removedInput schema / properties / alliance / title
      Removed value: -"Alliance"
    • removedInput schema / properties / arrive_before / title
      Removed value: -"Arrive Before"
    • removedInput schema / properties / baggage_buffer / title
      Removed value: -"Baggage Buffer"
    • removedInput schema / properties / bags / title
      Removed value: -"Bags"
    • removedInput schema / properties / cabin / title
      Removed value: -"Cabin"
    • removedInput schema / properties / carry_on / title
      Removed value: -"Carry On"
    • removedInput schema / properties / check_in / title
      Removed value: -"Check In"
    • removedInput schema / properties / check_out / title
      Removed value: -"Check Out"
    • removedInput schema / properties / children / title
      Removed value: -"Children"
    • removedInput schema / properties / country / title
      Removed value: -"Country"
    • removedInput schema / properties / currency / title
      Removed value: -"Currency"
    • addedInput schema / properties / deadline_seconds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • removedInput schema / properties / depart_after / title
      Removed value: -"Depart After"
    • removedInput schema / properties / entire_home / title
      Removed value: -"Entire Home"
    • removedInput schema / properties / exclude_airlines / title
      Removed value: -"Exclude Airlines"
    • removedInput schema / properties / exclude_airports / title
      Removed value: -"Exclude Airports"
    • removedInput schema / properties / exclude_alliance / title
      Removed value: -"Exclude Alliance"
    • removedInput schema / properties / exclude_via / title
      Removed value: -"Exclude Via"
    • removedInput schema / properties / fetch / title
      Removed value: -"Fetch"
    • removedInput schema / properties / free_cancellation / title
      Removed value: -"Free Cancellation"
    • removedInput schema / properties / include_airports / title
      Removed value: -"Include Airports"
    • removedInput schema / properties / infants_in_seat / title
      Removed value: -"Infants In Seat"
    • removedInput schema / properties / infants_on_lap / title
      Removed value: -"Infants On Lap"
    • removedInput schema / properties / location / title
      Removed value: -"Location"
    • removedInput schema / properties / max_stops / title
      Removed value: -"Max Stops"
    • removedInput schema / properties / min_rating / title
      Removed value: -"Min Rating"
    • removedInput schema / properties / nearby / title
      Removed value: -"Nearby"
    • removedInput schema / properties / no_overnight / title
      Removed value: -"No Overnight"
    • removedInput schema / properties / price_cap / title
      Removed value: -"Price Cap"
    • removedInput schema / properties / require_overnight / title
      Removed value: -"Require Overnight"
    • removedInput schema / properties / rooms / title
      Removed value: -"Rooms"
    • removedInput schema / properties / routes / title
      Removed value: -"Routes"
    • removedInput schema / properties / sort / title
      Removed value: -"Sort"
    • removedInput schema / properties / source / title
      Removed value: -"Source"
    • removedInput schema / properties / top / title
      Removed value: -"Top"
    • removedInput schema / properties / trip / title
      Removed value: -"Trip"
    • removedInput schema / properties / via / title
      Removed value: -"Via"
    • removedInput schema / title
      Removed value: -"search_tripArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "completeness": {
      +      "enum": [
      +        "complete",
      +        "partial",
      +        "blocked"
      +      ],
      +      "type": "string"
      +    },
      +    "empty_note": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "empty_reason": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "provider_empty",
      +            "filtered_out",
      +            "not_loaded"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "error_code": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "observed_at": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "observed_at_basis": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "provider",
      +            "fetch"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "retry_after": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "retry_after_seconds": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "no_results",
      +        "rate_limited",
      +        "blocked",
      +        "timeout",
      +        "failed"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "completeness",
      +    "empty_reason",
      +    "empty_note",
      +    "error_code",
      +    "retry_after",
      +    "retry_after_seconds",
      +    "observed_at",
      +    "observed_at_basis"
      +  ],
      +  "type": "object"
      +}
  2. First observedv1.0.0

TDQS

B3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, yet the description adds real operational detail: no currency conversion, hotel inherits the flight currency, stay dates default to the flight window, positive carry_on is verified on-page while named bags are refused, trip_total is omitted if either side misses, and deadline_seconds yields error code 'deadline' rather than empty results. The deadline and trip_total semantics in particular are non-obvious behavior that annotations cannot convey.

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?

Purpose is front-loaded and the whole description is short for a 39-parameter tool, so it is not padded. However, several fragments ('Unnamed baggage_buffer is 0', 'under one lock') are terse to the point of ambiguity and the odd indentation of the deadline_seconds block hurts scanability.

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?

An output schema exists, so return shape needn't be spelled out, and the description does cover several cross-cutting behaviors. But for a tool this complex (two bundled searches, 39 params, 0% schema coverage), omitting the format and semantics of the required routes and location arguments, plus nearly all filter parameters, leaves the agent unable to invoke it correctly without external help.

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% across 39 parameters, so the description carries the full burden, yet it only touches currency, check_in/check_out defaults, baggage_buffer, carry_on, bags, and deadline_seconds. The two required parameters, routes and location, are never described, and the meanings of sort, trip, fetch, source, via, max_stops, price_cap, and the exclude/include families are left entirely undocumented.

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?

The opening sentence gives a concrete composite verb+resource: it searches flights and then one hotel stay 'under one lock'. That is distinguishable from search_flights and search_hotels, and it explicitly ties its flight output to the search_flights recommendation block. It stops short of naming the siblings it replaces, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use statement versus search_flights, search_hotels, or plan_stay_blocks. The only conditional guidance is 'if unproven, ask' for currency and a referral to get_guide for deadline behavior. The agent has to infer that this tool is for combined flight+lodging itineraries.

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