Skip to main content
Glama

Price a weekend

estimate_itinerary
Read-onlyIdempotent

Budget estimate (integer cents) for a published itinerary: activities, lodging, transport and flights for a tier, a month or the year average, and a group.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "city": "<city>",
      "persona": "<persona>"
    },
    "name": "estimate_itinerary"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity slug from list_cities, e.g. lisbon.
langNoBCP 47 language of the published text, e.g. es (default English).
tierNoBudget tier, cheapest to most lavish (default modest). Scales every price line.
monthNoMonth of travel, or the twelve-month mean (default).
fridayNoThe Friday of the weekend as a YYYY-MM-DD date (it must be a Friday); the weekend runs Friday to Monday. Enables a real fare.
originNoOrigin slug from list_origins, e.g. barcelona; adds flights.
personaYesPersona slug from list_personas, e.g. foodie.
travellersNoGroup size, 1-20 (default 2). Prices are for the whole group.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the bar is lower; the description still adds real value by stating the return unit (integer cents), that prices cover the whole group, and that a year value yields the twelve-month mean. Minor gaps remain: no mention of behavior on an invalid Friday date or an unknown slug.

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?

A single front-loaded sentence that leads with the verb and the output unit, with zero filler. It is dense rather than wasteful, though the run-on list of dimensions makes it slightly harder to scan than a two-clause structure would be.

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 read-only estimator with full schema coverage and no output schema, the description covers the pricing dimensions and output units adequately. The remaining gaps are modest — no routing against estimate_all/get_fare and no failure-mode expectations — which keep it from a 5.

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%, so every parameter is already documented in the schema, including defaults, enums, and slug sources. The description largely restates those same dimensions (tier, month/year average, group) without adding syntax, constraints, or interaction rules beyond what the schema says, so the baseline 3 applies.

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 and resource ('Budget estimate ... for a published itinerary') and enumerates the cost lines it covers (activities, lodging, transport, flights), so the agent knows exactly what is being priced. It does not distinguish itself from the sibling estimate_all, which by name sounds like the same job over a different scope, so it falls short of a 5.

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: the agent can infer you call this when you want a priced breakdown for one city/persona itinerary, and the schema tells it slugs come from list_cities/list_personas. There is no explicit when-to-use statement, no exclusion, and no routing to estimate_all, get_fare, or list_pricing_tiers, which are plausible alternatives.

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