Skip to main content
Glama

List cities

list_cities
Read-onlyIdempotent

List the cities that have published weekends, with their slug, IATA airport code, currency and the twelve monthly season factors (1.0 = shoulder season; higher is dearer). Paged.

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
langNoOptional BCP 47 tag; name, tagline and description in that language when translated.
limitNoMax items to return (default 100, max 1000).
offsetNoItems to skip for paging (default 0).
statusNoStatus filter (default published). Use all for every row.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real context beyond that: the shape of the payload (twelve monthly season factors with a scale hint, '1.0 = shoulder season; higher is dearer') and the fact results are paged. It doesn't say whether paging is offset-based or what the page size ceiling is, so it stops short of full disclosure.

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?

A single front-loaded sentence delivers the scope, the returned fields and the semantic meaning of the season factors, followed by a one-word paging note. Nothing is repeated from the title and no sentence is wasted.

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 no output schema, the description correctly spends its words describing what comes back, including the season-factor encoding an agent would otherwise misinterpret. The remaining gap is paging mechanics and whether the default status filter can be overridden to list drafts or archived cities.

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 coverage is 100%, so lang, limit, offset and status are all documented in the schema itself. The description only gestures at paging ('Paged.') and says nothing about the status default or the language option beyond what the schema already states. Baseline 3 applies since the schema carries the parameter burden.

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 uses a specific verb and resource ('List the cities that have published weekends') and scopes it to a particular subset, which separates it from get_city. It also enumerates the returned fields (slug, IATA, currency, season factors). It never names a sibling tool, so differentiation is implied only by the 'published weekends' scope.

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?

The 'published weekends' qualifier hints at when this is the right call versus get_city, but there is no explicit when-to-use statement, no mention of the status filter's 'all' option to widen scope, and no named alternatives. Usage is inferable but not guided.

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