Skip to main content
Glama

List cities

list_cities
Read-only

List the 27 cities Dim Hour covers, with the city key to pass to the other tools.

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

No arguments

Output Schema

NameRequiredDescriptionDefault
citiesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedOutput schema / properties / cities / items / properties / children / items / additionalProperties
      Added value: +false
    • addedOutput schema / properties / cities / items / properties / children / items / properties
      Added value: +{
      +  "key": {
      +    "type": "string"
      +  },
      +  "kind": {
      +    "const": "city",
      +    "type": "string"
      +  },
      +  "name": {
      +    "type": "string"
      +  },
      +  "parent": {
      +    "type": "string"
      +  },
      +  "state": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / cities / items / properties / children / items / required
      Added value: +[
      +  "key",
      +  "name",
      +  "state",
      +  "kind",
      +  "parent"
      +]
    • changedOutput schema / properties / cities / items / properties / children / items / type
      Previous value: -"string"New value: +"object"
    • removedOutput schema / properties / cities / items / properties / parent
      Removed value: -{
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • changedOutput schema / properties / cities / items / properties / kind / enum
      Previous value: -[
      -  "city",
      -  "region"
      -]New value: +[
      +  "city",
      +  "state"
      +]
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered without the prose. The description adds a fixed-cardinality fact (27 cities) and the purpose of the returned key, but nothing about ordering, filtering, or staleness handling. Useful but modest value on top of the annotations.

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?

One sentence, front-loaded with the resource and scope, with the downstream purpose attached in a trailing clause. No filler words and nothing that could be cut.

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 zero-parameter, read-only enumerator with an output schema, the definition covers what the tool returns and why an agent would call it. The only minor gap is that "27" is a hard-coded count that may drift, and no sibling is named for contrast.

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?

The tool takes zero parameters, so the baseline for this dimension is 4 and there is no parameter semantics for the description to explain. The single relevant semantic point, that the output contains a key for downstream calls, is already stated.

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 ("List the 27 cities") plus the scope ("Dim Hour covers") and what the result carries ("the city key"). It distinguishes itself from the sibling tools only generically as "the other tools", so it stops short of naming the operations that consume the key.

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 clear usage context: call this to get the city key that must be passed to the other tools, which positions it as a prerequisite lookup step. It does not state any when-not conditions or name a specific alternative such as search_venues, but none is needed for a zero-parameter enumerator.

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