Skip to main content
Glama

OpenData Best Web Intelligence (x402 USDC)

Despegar Latin America Hotels and Flights Data: Search Despegar hotels, flights and destinations

despegar_com__search
Read-only

[Despegar Latin America Hotels and Flights Data] Search Despegar hotels, flights and destinations. Query Despegar hotels, flights, destination suggestions, cars and activities across Latin American sites. x402 price: $0.0050/row USDC (max 10 rows; 0 rows / errors are never charged).

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

Input Schema

NameRequiredDescriptionDefault
modeNoLeave on Auto to choose from the target fields you fill. Select hotelsSearch for a place-name hotel search. flightsSearch and packagesSeo are temporarily unavailable and stop with INVALID_INPUT without charging rows; cars, transfers and activities are not available.auto
queryNoEnter a city or place name, such as Buenos Aires. With mode auto this returns destination suggestions; choose hotelsSearch to request hotels instead.
roomsNoNumber of rooms requested. Detailed allocation of travellers between rooms is not available.
adultsNoNumber of adults for the search. Exact child-age and room-by-room allocation is not available.
originNoDeparture airport code or origin city slug for flights and packages, which are temporarily unavailable. A route alone selects flightsSearch and stops with INVALID_INPUT.
checkinNoEnter the stay start in YYYY-MM-DD format, today or later. Leave empty for 21 days from today.
hotelIdNoEnter a Despegar hotel identifier to select hotelDetail automatically. Optional reviews count toward maxResults.
checkoutNoHotel check-out date, YYYY-MM-DD. Leave empty for 7 nights after check-in.
childrenNoNumber of children requested. Child ages are not represented, so returned prices are not exact child-inclusive booking quotes.
currencyNoLeave empty to use the selected country's currency, such as ARS for Argentina or MXN for Mexico. A different currency is rejected rather than converted.
maxPagesNoMaximum hotel search pages to read, from 1 to 20. Collection can stop earlier when maxResults is reached or no more matching hotels are available.
tripTypeNoChoose a round trip or one-way flight search.roundtrip
maxResultsNoMaximum delivered rows for the supplied query, hotel or route, including optional reviews. Default 70; larger requests are collected in parts of 70, subject to your maximum run cost and the Free-plan limits of 200 rows per run and 10 runs.
maxReviewsNoMaximum reviews per hotel for hotelDetail or enriched hotelsSearch rows, from 0 to 50. Each review is billed as a separate row; hotel rows come first and reviews share the remaining maxResults allowance.
returnDateNoFlight return date, YYYY-MM-DD. Leave empty to use the check-out date.
countrySiteNoChoose the Despegar country site. Availability and fields can differ between countries and collection modes.despegar.com.ar
destinationNoArrival airport code or destination city slug for flights and packages, which are temporarily unavailable.
enrichLimitNoMaximum hotels to check for additional details when enrichDetails is true, from 0 to 20.
departureDateNoFlight departure date, YYYY-MM-DD. Leave empty to use the check-in date.
enrichDetailsNoAdd available hotel details to hotelsSearch rows. Off by default; use enrichLimit to limit the number of hotels checked.
destinationGidNoEnter a Despegar destination identifier, such as CIT_982, to select hotelsSearch without a place-name lookup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only say readOnlyHint=true and openWorldHint=true, so the billing disclosure is genuinely additive: $0.0050 per row, a hard 10-row cap, and the fact that zero-row results and errors are never charged materially shape how an agent should size requests. The description does not contradict the annotations, but it does overstate live coverage of flight/car/activity data, and it omits the tier/plan limits that the schema mentions.

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?

Three short sentences, front-loaded with the resource and scope, and the pricing constraint is placed last where it belongs. The bracketed vendor prefix is slightly redundant with the title, and the resource list is long enough to risk promising capabilities it does not have.

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?

For a zero-required-parameter, 21-parameter tool with no output schema, the description covers what is searched and what it costs, which is the minimum an agent needs. However, it leaves the entire mode-dispatch story to the schema and creates a real conflict about flight/car/activity availability that the description should have resolved rather than introduced.

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 100% across 21 parameters, so the schema already explains mode, maxResults, currency, enrichLimit and the date defaults in detail. The description adds only the row-cap and per-row price figures that map loosely onto maxResults; it contributes no additional syntax, defaults, or mode-selection rules beyond what is already documented.

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 description names a specific verb (Search/Query) and concrete resources (Despegar hotels, flights, destinations, plus cars and activities) scoped to Latin American country sites, which separates it from the many other *_com__search siblings by brand and region. It is clear without opening the schema, though the enumeration of resources it claims is broader than what the schema says is actually servable.

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?

Usage is only implied: 'Query Despegar hotels, flights, destination suggestions' suggests what to search for, but there is no guidance on when to pick this over a sibling search tool and no mention that the mode parameter is the real dispatch mechanism. Worse, the description advertises flights, cars and activities as queryable while the schema states flightsSearch/packagesSeo are temporarily unavailable and cars/transfers/activities are not available, so an agent trusting the prose alone could pick an unroutable query.

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