Skip to main content
Glama

ResortFinder

Recently checked package prices

search_recent_package_prices
Read-onlyIdempotent

Cheapest recently observed flight-inclusive package per resort for a Canadian departure airport and month, with per-person and total CAD price, departure date, sample count and when it was last seen. Use it to rank resorts by price or apply a per-person budget. A departure airport is required. Defaults are 7 nights and 2 travellers. maxPricePerPersonCad and minStarRating are strict filters. These are stored observations: say when each was last seen and that the final price is confirmed at checkout.

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

Input Schema

NameRequiredDescriptionDefault
nightsNoPackage length in nights. Default to 7 for SunVoyage price questions when the user does not specify.
countryNoISO-3166 alpha-2 country codes for countries in our catalog: MX=Mexico, CU=Cuba, JM=Jamaica, BS=Bahamas, TC=Turks & Caicos, KY=Cayman Islands, DO=Dominican Republic, LC=St Lucia, AG=Antigua & Barbuda, BB=Barbados, SX=St Maarten, BM=Bermuda, GD=Grenada, GP=Guadeloupe, HT=Haiti, AW=Aruba, CW=Curaçao, CR=Costa Rica, HN=Honduras, PA=Panama, CO=Colombia.
regionsNoRegion labels. Use 'Cancun area' for the Cancun/Riviera Maya/Playa Mujeres/Cozumel cluster. Valid labels: Cancun area (all nearby), Cancun area, Cancun, Riviera Maya, Playa Mujeres, Cozumel, Puerto Vallarta, Los Cabos, Other Mexico, Punta Cana, Cap Cana, La Romana, Puerto Plata, Other DR, Negril, Montego Bay, Ocho Rios, Runaway Bay, Cuba, Bahamas, Turks & Caicos, Cayman Islands, St Lucia, Antigua & Barbuda, Barbados, St Maarten, Bermuda, Grenada, Guadeloupe, Haiti, Aruba, Curaçao, Costa Rica, Honduras, Panama, Colombia.
audienceNo
maxResultsNoCap on price rows returned. Default 8.
seasonLabelNoYYYY-MM season bucket, e.g. 2026-08.
excludeSlugsNo
minStarRatingNoHard minimum supplier-listed star rating. Use only when the visitor explicitly states a star requirement.
travelerCountNoTotal travelers represented by the package price history. Default to 2 for current SunVoyage price questions when the user does not specify.
destinationQueryNoFree-text destination fallback, e.g. Cancun or Punta Cana. Prefer regions when the user names a known region.
departureAirportCityNoDeparture city fallback when the airport code is unknown, e.g. Calgary.
departureAirportCodeNoExact IATA departure gateway code, e.g. YYC for Calgary, YYZ for Toronto Pearson, YUL for Montreal.
maxPricePerPersonCadNoHard per-person CAD ceiling. Required whenever the visitor states a per-person maximum budget.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the bar is lower, and the description still adds real value: these are 'stored observations', the agent should disclose when each was last seen, and the final price is confirmed at checkout. That staleness and settlement caveat is exactly the kind of behavior the annotations cannot express. It leaves out pagination/ordering guarantees for the capped row set.

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?

Four sentences, each carrying distinct information: output shape first, then usage, then the hard prerequisite/defaults, then the filter and provenance caveats. It is dense but front-loaded with what the agent needs before calling. Slightly more compressed phrasing of the filter sentence would lose nothing.

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?

With 13 parameters, no enum-heavy structure, and no output schema, the description does the necessary work: it describes the return payload field by field and states the mandatory input. The main remaining gap is how the several destination-scoping parameters rank against one another, which matters at 13 params.

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 coverage is 85%, so the baseline is 3, but the description adds meaning on top: it declares a departure airport is required (the schema marks nothing required), fixes the 7-night/2-traveller defaults, and flags maxPricePerPersonCad and minStarRating as strict filters rather than soft ranking hints. It does not explain the interaction between regions, country, and destinationQuery fallbacks, which the schema handles.

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 names a specific resource and aggregation level: 'cheapest recently observed flight-inclusive package per resort' scoped to a Canadian departure airport and month, and it enumerates the returned fields (per-person and total CAD, departure date, sample count, last-seen). That is far more precise than the title. It stops short of naming or contrasting a sibling such as get_best_price_chart, so an agent must infer the boundary from names alone.

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?

'Use it to rank resorts by price or apply a per-person budget' gives concrete usage conditions, and 'A departure airport is required' states a prerequisite. Defaults (7 nights, 2 travellers) are set out for the unspecified case. It never says when not to use it or which sibling to pick instead for chart/link-style requests.

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