Skip to main content
Glama

TravelDeals

Cities TravelDeals tracks

list_cities
Read-onlyIdempotent

Lists the cities TravelDeals measures hotel prices in, optionally filtered by a name, with each city’s cheapest month in the year ahead. Use it to find a city’s slug, or to check whether a city is tracked at all: a city that is not listed has no TravelDeals prices.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoA city name, or part of one.

Output Schema

NameRequiredDescriptionDefault
foundYes
unitsYes
citiesYes
totalMatchedNo
totalTrackedYes
dataPublishedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety is covered. The description contributes the meaningful negative-listing semantic (absent city means no price data) and the cheapest-month return content. It omits the limit cap of 25 and what happens when more cities exist than the limit, which is the one behavioral gap an agent could trip on.

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, both front-loaded: what it returns first, then how to use it. No filler, no restatement of the title, and the important negative case is placed at the end where it reads as a caveat.

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?

An output schema exists, so return values need not be spelled out, yet the description still usefully names slug and cheapest month. For a two-parameter, zero-required listing tool this is nearly complete; the only missing piece is how limit truncates a large city set.

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 50%: query is documented in the schema, limit is not. The description echoes the optional name filter but adds no syntax, matching behavior, or format detail beyond the schema, and it is silent on limit's role and its maximum of 25. Baseline 3 is appropriate given partial schema coverage and partial compensation.

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 states a specific verb and resource ("Lists the cities TravelDeals measures hotel prices in") and adds the returned payload (each city's cheapest month in the year ahead). It is clearly distinct from siblings like city_price_calendar or cheapest_cities_in_month, though it never names an alternative to sharpen the boundary.

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?

It gives concrete when-to-use guidance: to obtain a city's slug, or to test whether a city is tracked at all. The negative case — "a city that is not listed has no TravelDeals prices" — is a useful decision rule. It does not explicitly exclude or redirect to a sibling tool, which keeps it below a 5.

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