Skip to main content
Glama

Orte vergleichen

compare_cities
Read-onlyIdempotent

Stellt die Werte des neuesten Prüfberichts von 2 bis 5 Orten nebeneinander (Hauptversorgung, je Stoff mit Messdatum, Grenzwert und Quelle). Fehlt ein Stoff, steht not_reported; dieses Werkzeug bildet keine Rangfolge und keine Gesamtnote (der WaterScore steht nur auf den Stadtseiten, immer mit Angabe der Datenabdeckung).

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": {
      "cities": "<cities>"
    },
    "name": "compare_cities"
  }
}

Input Schema

NameRequiredDescriptionDefault
citiesYesslugs, Ortsnamen oder PLZ
substanceNooptional: nur dieser Stoffschlüssel

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and closed-world, so the bar is lower, yet the description still adds real behavior: missing substances surface as not_reported rather than being omitted, and the tool deliberately does not compute a ranking or overall score, with WaterScore confined to city pages plus data-coverage disclosure. It stops short of stating behavior on an unknown city slug or on duplicate entries.

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, front-loaded with the action, and every clause carries information the schema does not (not_reported fallback, absence of ranking, where WaterScore lives). The nested parentheticals make it denser than necessary but nothing is filler.

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-shape burden and does so: main supply, measurement date, limit value, source, and the not_reported sentinel. Missing only edge-case behavior such as a non-resolvable city identifier, which for a small read-only comparison tool is a minor gap.

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 both parameters are already documented, including the 2–5 bound and the optional Stoffschlüssel. The description reinforces the upper bound and shows that substance filtering affects the per-substance output block, but adds no syntax or matching guidance beyond the schema.

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?

Names a specific verb and resource: it places the values of the latest Prüfbericht for 2–5 locations side by side, and it enumerates what appears per substance (Messdatum, Grenzwert, Quelle). It also carves out scope by declaring that it produces neither a ranking nor an overall score, which separates it from browsing a city page for WaterScore, but it never names a sibling tool outright.

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 2–5 location range and the per-substance framing imply the comparison use case, and the explicit 'keine Rangfolge und keine Gesamtnote' is a genuine when-not signal. However, no alternative tool is named (e.g. for a single location's detail or for gaps), so the agent must infer routing from sibling names alone.

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