Skip to main content
Glama

Gingerguide: European city walking tours

Search cities

search_cities
Read-onlyIdempotent

Find covered cities by name (in any of the six languages), country or region. Returns the city id needed by the other tools, sight count, summary and web guide URL. Omit query to list all cities.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoCity, country or region text, e.g. "Seville" or "Portugal".
countryNoRestrict to this country, e.g. "Italy".
languageNoLanguage of names and descriptions: en, es, fr, de, tr or zh.en

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Restrict to this country."New value: +"Restrict to this country, e.g. \"Italy\"."
    • addedInput schema / properties / language
      Added value: +{
      +  "default": "en",
      +  "description": "Language of names and descriptions: en, es, fr, de, tr or zh.",
      +  "enum": [
      +    "en",
      +    "es",
      +    "fr",
      +    "de",
      +    "tr",
      +    "zh"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / maximum
      Previous value: -100New value: +200
    • changedInput schema / properties / query / description
      Previous value: -"City or country text to match."New value: +"City, country or region text, e.g. \"Seville\" or \"Portugal\"."
  2. Changed4 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Restrict to this country, e.g. \"Italy\"."New value: +"Restrict to this country."
    • removedInput schema / properties / language
      Removed value: -{
      -  "default": "en",
      -  "description": "Language of names and descriptions: en, es, fr, de, tr or zh.",
      -  "enum": [
      -    "en",
      -    "es",
      -    "fr",
      -    "de",
      -    "tr",
      -    "zh"
      -  ],
      -  "type": "string"
      -}
    • changedInput schema / properties / limit / maximum
      Previous value: -200New value: +100
    • changedInput schema / properties / query / description
      Previous value: -"City, country or region text, e.g. \"Seville\" or \"Portugal\"."New value: +"City or country text to match."
  3. Changed4 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Restrict to this country."New value: +"Restrict to this country, e.g. \"Italy\"."
    • addedInput schema / properties / language
      Added value: +{
      +  "default": "en",
      +  "description": "Language of names and descriptions: en, es, fr, de, tr or zh.",
      +  "enum": [
      +    "en",
      +    "es",
      +    "fr",
      +    "de",
      +    "tr",
      +    "zh"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / maximum
      Previous value: -100New value: +200
    • changedInput schema / properties / query / description
      Previous value: -"City or country text to match."New value: +"City, country or region text, e.g. \"Seville\" or \"Portugal\"."
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description is free to add what they don't: the payload fields returned (city id, sight count, summary, web guide URL) and the listing behavior when no query is supplied. It stops short of mentioning pagination or the effect of limit.

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?

Three short sentences, zero preamble, with the search dimensions front-loaded and the return-value note and the omit-query rule following in the order an agent needs them. Every sentence carries distinct information.

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 does the necessary work of enumerating return fields, and it explains the no-argument case. The remaining gap is behavioral detail on result volume (limit defaults to 25, max 200) and whether results are filtered or ranked, which matters for a list-returning search.

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 75%, so the schema already documents query, country and language with examples. The description adds the useful claim that names are matchable in any of the six languages and that an absent query yields the full list, but it says nothing about limit or how query interacts with country (union vs intersection), leaving the main combinatorial ambiguity unresolved.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource (find cities) and immediately scopes it: searchable by name in any of six languages, by country, or by region. It also distinguishes itself from attraction-oriented siblings by stating it returns the city id the other tools need, so an agent knows this is the entity-lookup entry point.

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 one explicit usage rule that an agent would otherwise have to guess: omit the query to list all cities. What's missing is routing guidance toward alternatives (e.g., list_countries when enumerating countries, search_attractions once a city id is known), so the agent must infer sibling boundaries.

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.