Skip to main content
Glama

search_place

Read-only

Löst den NAMEN einer Stadt, Region oder eines Bezirks in Koordinaten und OSM-Ids auf — der erste Schritt, wenn ein GEBIET verortet werden muss („was kann ich in unternehmen", „wie ist das Wetter in "). Für eine HALTESTELLE ist dieses Werkzeug fast immer falsch: es kennt Gebiete, keine Bahnsteige — auf einen Bahnhofs-Namen antwortet es mit dem Stadtteil, und die Id, die es liefert, ist eine OSM-Id und keine fahrbare Halte-Id. Trägt die Anfrage Bahnhof, Hauptbahnhof, Hbf oder Bf, gehört sie an die Ortsauflösung — „Köln Hauptbahnhof" und „Hannover Bahnhof" also dorthin, nicht hierher: auf das erste antwortet dieses Werkzeug mit einem gleichnamigen Ortsteil (einem in Potsdam), auf das zweite mit der Stadt Hannover. Dasselbe für Adresse und POI — alles, was Start, Ziel oder Abfahrtsort einer Fahrt sein kann; eine Stadt als Fahrt-Endpunkt („von Hannover nach Celle") ebenfalls. Von einer Koordinate zurück zum Namen geht reverse_geocode, die Umgebung einer Koordinate listet nearby. Pflicht: name. Optional: lang (derzeit ohne Wirkung). score: 1 = derselbe Name, ab 0,5 als ganzes Wort; liegt der erste Treffer darunter, kennt der Index keinen Ort dieses Namens → Ortsauflösung. Anleitung: get_usage_guide mit tool='search_place' — Abgrenzung, Ketten, score, mehrdeutige Namen. Anti-Fab: nur die zurückgegebenen Namen und Ids nutzen, keine Bauch-Geographie.

Input Schema

NameRequiredDescriptionDefault
langNoOptional ISO language code (e.g. "de", "en"). Currently advisory: the place names are the German ones the data carries, whatever is asked for. Kept in the signature so a multilingual answer needs no new argument.
nameYesName of the area to search for. Free-text fuzzy match against the place index behind this endpoint (e.g. "Hannover", "Linden", "Wangerland").
formatNoAnswer serialisation: `"toon"` (default) or `"json"` — the detail is in `get_usage_guide`. **An agent leaves this out.**

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"Name of the place to search for. Free-text fuzzy match against the place\nindex behind this endpoint (e.g. \"Hannover\", \"Maschsee\", \"Wangerland\")."New value: +"Name of the area to search for. Free-text fuzzy match against the place\nindex behind this endpoint (e.g. \"Hannover\", \"Linden\", \"Wangerland\")."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, openWorld, non-destructive), and the description goes well beyond them: it discloses that a station name yields a same-named district (one in Potsdam) and that the returned id is an OSM id, not a drivable stop id. It also explains the score matching semantics (1 = exact, >=0.5 whole word) and adds an anti-fabrication instruction about only using returned names and ids.

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?

Front-loaded with the core purpose, then the critical exclusion, then parameters, then the usage guide and anti-fabrication note, with bold markers making sections scannable. It is dense rather than padded, but the single block is long and some parenthetical examples could be trimmed without loss.

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 read-only lookup with no output schema, it covers purpose, alternatives, required/optional params, matching behavior and what the returned id actually is. It stops short of describing the full response shape (e.g. whether coordinates and ids come as a list of candidates), so an agent still infers some of the return structure.

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?

Schema description coverage is 100%, so a 3 is the baseline. The description adds real signal on top: it restates name as mandatory and clarifies that lang has no current effect (the schema only says "advisory"), which is a genuine refinement. The format parameter is left to the schema and the reference to a `score` field is a bit ambiguous, keeping it from a full 5.

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?

States a precise verb and resource: it resolves the NAME of a city, region or district into coordinates and OSM-Ids, and frames this as the first step for locating an area. It actively distinguishes itself from siblings by naming reverse_geocode and nearby for their respective jobs, so an agent can route without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use (locating a region/city for questions like weather or activities) and explicit when-NOT-to-use (any request containing Bahnhof/Hbf/Bf or any stop/address/POI that could be a journey endpoint, which belongs to resolve_location). Concrete examples ("Köln Hauptbahnhof", "Hannover Bahnhof") show what goes wrong otherwise, and it points to get_usage_guide for deeper chaining.

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