Skip to main content
Glama

Summarize observed lodging and meal prices

summarize_costs
Read-onlyIdempotent

Summarize observed lodging nightly rates and restaurant meal prices for cities, and — when enough cities are covered — an unweighted median across the covered cities of a country. City distributions are always reported before any country figure, and a country figure never generalises to cities BudgetAtlas has not observed.

Input Schema

NameRequiredDescriptionDefault
roomsNo
adultsNo
citiesNoCity IDs such as 'th-bangkok'. Call get_dataset_coverage for the covered list.
nightsNoRestrict lodging to this stay-length cohort.
categoryNoboth
countriesNoISO 3166-1 alpha-2 country codes, e.g. ['TH','VN'].
freshness_daysNoOnly use observations collected within this many days.

Output Schema

NameRequiredDescriptionDefault
metaYes
citiesYes
requestYes
currencyYes
countriesYes
suggestionsYes
no_data_reasonYes
unknown_citiesYes
excluded_categoriesYes

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?

Beyond the annotations (readOnlyHint, openWorldHint=false, idempotentHint), the description adds meaningful reporting behavior: city distributions are always shown before country figures, and a country median never generalizes to unobserved cities. It does not detail behavior when coverage is insufficient, but the key caveats are disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with purpose and followed by the critical reporting-order caveat. Every clause contributes useful information without repetition or filler.

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 a read-only summary tool with an output schema and safety annotations, the description covers the key output behavior and country-level caveat well enough to call correctly. The main missing piece is routing guidance against similar comparison/search siblings.

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 57%, and the description only implicitly references the cities/countries parameters while adding nothing about rooms, adults, nights, category, or freshness_days. The schema still documents the most important parameters adequately, so this is minimally sufficient.

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 (Summarize) and resources (lodging nightly rates, restaurant meal prices) plus the aggregation scope (cities, then country median). It is clear what the tool produces, but it does not explicitly distinguish itself from the sibling compare_city_costs tool.

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?

The description explains what the tool does but gives no explicit guidance on when to use it rather than a sibling such as compare_city_costs or search_lodging. There are no when-to-use, when-not-to-use, or prerequisite statements.

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