Skip to main content
Glama

openplz_search_locality

Search German localities by name, optionally filtered by postal code, and return each locality’s postal code, municipality, district, and federal state.

Instructions

Search German localities (Orte) by name, optionally restricted to one postal code. name: e.g. München (matches München, Münchenbernsdorf ...). Returns each locality's postal code, municipality, district and federal state. limit: 1..50 (default 20).

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

Input Schema

NameRequiredDescriptionDefault
nameYes
limitNo
postal_codeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the full load. It valuably discloses the matching semantics ('München... matches Münchenbernsdorf') and the limit bounds, but says nothing about result ordering, case/umlaut handling, empty-result behavior, or pagination beyond limit.

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?

Three short, front-loaded sentences that each add information; the awkward line break and trailing ellipsis in the example are minor blemishes rather than bloat.

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 simple three-parameter search with an output schema provided, this covers matching behavior, parameter bounds, and the returned fields; only edge-case behavior (no matches, postal code format) is absent.

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 0%, so the description has to compensate, and it largely does: name gets a concrete example plus its partial-match behavior, limit gets range and default (1..50, default 20), and postal_code is clarified as an optional single-value restriction. Only the postal_code string format is left unexplained.

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 ('Search German localities (Orte) by name') plus the optional postal-code restriction, which clearly separates it from a street search or a pure postal-code lookup. It does not explicitly name a sibling, but the scope is unambiguous.

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?

It says what can be searched and that postal_code is optional, so the usage context is implied, but it gives no explicit when-to-use guidance, no prerequisites, and no routing to alternatives such as a postal-code lookup or full-text search for ambiguous queries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.