Skip to main content
Glama

Price every weekend for a city

estimate_all
Read-onlyIdempotent

Compare published weekends by price (integer cents) for a tier, a month or the year average, a group and an optional origin. By default (detail cities) one row per city: its cheapest persona, min_total_cents and min_per_person_cents. detail all adds a row per (city, persona) with total, per person, flights and the persona's party_shapes, which city and persona narrow. Estimates only, no fare lookups; cached for a minute per parameter set.

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

Input Schema

NameRequiredDescriptionDefault
cityNoCity slug; keeps only that city's rows.
tierNoBudget tier (default modest).
monthNoMonth of travel, or the twelve-month mean (default).
detailNocities (default): one row per city, its cheapest persona. all: also a row per (city, persona).
fridayNoFriday of the weekend, YYYY-MM-DD; echoed, not priced.
originNoOrigin slug; enables flights, travel hours and distance.
personaNoPersona slug; with detail all, keeps only that persona's rows.
travellersNoGroup size, 1-20 (default 2).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / city
      Added value: +{
      +  "description": "City slug; keeps only that city's rows.",
      +  "type": "string"
      +}
    • addedInput schema / properties / detail
      Added value: +{
      +  "description": "cities (default): one row per city, its cheapest persona. all: also a row per (city, persona).",
      +  "enum": [
      +    "cities",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / persona
      Added value: +{
      +  "description": "Persona slug; with detail all, keeps only that persona's rows.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), yet the description adds real value on top: result caching 'for a minute per parameter set', the accuracy caveat that these are estimates with no fare lookups, and the quirk that friday is echoed rather than priced. It falls short of 5 only because failure modes and row ordering are unstated.

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?

Front-loaded with the comparison purpose, then defaults, then output shape, then caveats — a sensible order with no filler. Some sentences are densely packed (row-shape clause enumerates five fields inline), which slightly taxes parsing for a short description.

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 an 8-parameter tool with no output schema, the description does the heavy lifting well: it spells out the per-city row contents and the extra per-(city, persona) fields under detail=all, plus caching. Left out are row ordering and what party_shapes contains, both named but not explained.

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?

With schema coverage at 100%, the baseline is 3; the description earns an extra point by explaining interaction semantics the schema does not, namely that city and persona narrow the result set and that origin is what unlocks flights/hours/distance. The 'echoed, not priced' note on friday is genuinely additive.

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?

States a specific verb and resource — comparing published weekend prices in integer cents — across tier, month/year, group and origin. It also draws the boundary against a sibling class of tool with 'Estimates only, no fare lookups', so an agent can tell it apart from get_fare and estimate_itinerary without opening schemas.

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?

The two detail modes are explained with their defaults and what each adds, which directly guides the main selection decision an agent faces. 'Estimates only, no fare lookups' implicitly steers exact-fare needs elsewhere, but no sibling tool is named explicitly and there is no when-not-to-use statement.

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