Skip to main content
Glama

Gingerguide: European city walking tours

Compare cities

compare_cities
Read-onlyIdempotent

Compare two to four covered cities side by side, e.g. "Porto or Lisbon?" or "Seville vs Granada for Moorish history". Gives each city's sight count, days needed, strongest interests and historical periods, share of indoor sights and headline sights, says which city is stronger for each interest or period, and the distance between them. Based on the sight catalog only: not prices, weather, nightlife or beaches.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "city_ids": "<city_ids>"
    },
    "name": "compare_cities"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodsNoHistorical periods to favour, e.g. ["byzantine"] or ["roman","renaissance"].
city_idsYesTwo to four city ids or names, e.g. ["porto","lisbon"].
languageNoLanguage of names and descriptions: en, es, fr, de, tr or zh.en
interestsNoTraveler interests to favour, e.g. ["history","architecture"].
trip_daysNoDays available; the answer says how much of each city fits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / periods / items / enum
      Previous value: -[
      -  "prehistoric",
      -  "ancient_greek",
      -  "etruscan",
      -  "roman",
      -  "byzantine",
      -  "medieval",
      -  "gothic",
      -  "moorish_islamic",
      -  "ottoman",
      -  "renaissance",
      -  "baroque",
      -  "georgian_neoclassical",
      -  "nineteenth_century",
      -  "art_nouveau",
      -  "twentieth_century_modern",
      -  "world_war_ii",
      -  "cold_war",
      -  "asuka_nara",
      -  "heian",
      -  "kamakura",
      -  "muromachi",
      -  "azuchi_momoyama",
      -  "edo",
      -  "meiji",
      -  "old_kingdom",
      -  "middle_kingdom",
      -  "new_kingdom",
      -  "late_period",
      -  "ptolemaic",
      -  "coptic",
      -  "fatimid",
      -  "mamluk",
      -  "khedival"
      -]New value: +[
      +  "prehistoric",
      +  "ancient_greek",
      +  "etruscan",
      +  "roman",
      +  "byzantine",
      +  "medieval",
      +  "gothic",
      +  "moorish_islamic",
      +  "ottoman",
      +  "renaissance",
      +  "baroque",
      +  "georgian_neoclassical",
      +  "nineteenth_century",
      +  "art_nouveau",
      +  "twentieth_century_modern",
      +  "world_war_ii",
      +  "cold_war",
      +  "asuka_nara",
      +  "heian",
      +  "kamakura",
      +  "muromachi",
      +  "azuchi_momoyama",
      +  "edo",
      +  "meiji",
      +  "old_kingdom",
      +  "middle_kingdom",
      +  "new_kingdom",
      +  "late_period",
      +  "ptolemaic",
      +  "coptic",
      +  "fatimid",
      +  "mamluk",
      +  "khedival",
      +  "mauretanian",
      +  "idrisid",
      +  "almoravid",
      +  "almohad",
      +  "marinid",
      +  "saadian",
      +  "alaouite",
      +  "protectorate"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / periods / items / enum
      Previous value: -[
      -  "prehistoric",
      -  "ancient_greek",
      -  "etruscan",
      -  "roman",
      -  "byzantine",
      -  "medieval",
      -  "gothic",
      -  "moorish_islamic",
      -  "ottoman",
      -  "renaissance",
      -  "baroque",
      -  "georgian_neoclassical",
      -  "nineteenth_century",
      -  "art_nouveau",
      -  "twentieth_century_modern",
      -  "world_war_ii",
      -  "cold_war",
      -  "asuka_nara",
      -  "heian",
      -  "kamakura",
      -  "muromachi",
      -  "azuchi_momoyama",
      -  "edo",
      -  "meiji"
      -]New value: +[
      +  "prehistoric",
      +  "ancient_greek",
      +  "etruscan",
      +  "roman",
      +  "byzantine",
      +  "medieval",
      +  "gothic",
      +  "moorish_islamic",
      +  "ottoman",
      +  "renaissance",
      +  "baroque",
      +  "georgian_neoclassical",
      +  "nineteenth_century",
      +  "art_nouveau",
      +  "twentieth_century_modern",
      +  "world_war_ii",
      +  "cold_war",
      +  "asuka_nara",
      +  "heian",
      +  "kamakura",
      +  "muromachi",
      +  "azuchi_momoyama",
      +  "edo",
      +  "meiji",
      +  "old_kingdom",
      +  "middle_kingdom",
      +  "new_kingdom",
      +  "late_period",
      +  "ptolemaic",
      +  "coptic",
      +  "fatimid",
      +  "mamluk",
      +  "khedival"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / periods / items / enum
      Previous value: -[
      -  "prehistoric",
      -  "ancient_greek",
      -  "etruscan",
      -  "roman",
      -  "byzantine",
      -  "medieval",
      -  "gothic",
      -  "moorish_islamic",
      -  "ottoman",
      -  "renaissance",
      -  "baroque",
      -  "georgian_neoclassical",
      -  "nineteenth_century",
      -  "art_nouveau",
      -  "twentieth_century_modern",
      -  "world_war_ii",
      -  "cold_war"
      -]New value: +[
      +  "prehistoric",
      +  "ancient_greek",
      +  "etruscan",
      +  "roman",
      +  "byzantine",
      +  "medieval",
      +  "gothic",
      +  "moorish_islamic",
      +  "ottoman",
      +  "renaissance",
      +  "baroque",
      +  "georgian_neoclassical",
      +  "nineteenth_century",
      +  "art_nouveau",
      +  "twentieth_century_modern",
      +  "world_war_ii",
      +  "cold_war",
      +  "asuka_nara",
      +  "heian",
      +  "kamakura",
      +  "muromachi",
      +  "azuchi_momoyama",
      +  "edo",
      +  "meiji"
      +]
  4. Added
  5. Removed
  6. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the bar is lower, and the description still adds real value: it lists what the response contains, states the data provenance (sight catalog only), and implies the 2-4 city bound. It does not discuss error behavior for unknown or unordered city names, which would be useful for a closed-world tool.

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

Conciseness4/5

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

Two sentences, no filler, with the capability statement front-loaded and the scope limitation saved for last. The middle list of returned metrics is dense but each item is informative; it stops just short of being a wall of clauses.

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 carries the return-value burden and does so by enumerating the comparison dimensions, plus it defines scope and provenance. Remaining gap is small: no guidance on what a 'covered city' is or what happens if a name is not covered, which an agent may need before calling.

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 100%, so the schema already explains city_ids, interests, periods, trip_days and language with enums and bounds. The description's only additions are the 'covered cities' restriction and the note that trip_days drives 'how much of each city fits', both of which are near-restatements of the schema text. Baseline 3 applies.

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?

Specific verb-plus-resource ('Compare two to four covered cities side by side') with concrete example queries ('Porto or Lisbon?', 'Seville vs Granada for Moorish history') and an enumerated output shape (sight count, days needed, interests, indoor share, distance). It is unmistakably a comparison tool rather than a search/lookup tool, though it never names a sibling (search_cities, recommend_destinations) to draw the boundary explicitly.

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?

The two quoted example questions convey the use case directly, and the closing clause 'Based on the sight catalog only: not prices, weather, nightlife or beaches' is an explicit when-not/scope exclusion. What is missing is routing guidance to alternatives when the request falls outside the catalog, e.g. where to send a weather or price question.

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.