Skip to main content
Glama

openplz_lookup_postal_code

Look up the German localities associated with a 5-digit postal code by entering the code and returning matching locality names.

Instructions

Which locality (or localities) a German postal code belongs to. postal_code: exactly 5 digits, e.g. 10115 (Berlin-Mitte).

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

Input Schema

NameRequiredDescriptionDefault
postal_codeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses that the result is one or more localities and adds input-format detail, but it does not state read-only behavior, error handling, or result multiplicity beyond the parenthetical hint. The output schema covers return values, so that omission is less serious.

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?

Two short sentences, front-loaded with purpose and followed by the one parameter constraint. Every sentence earns its place for a simple one-parameter lookup.

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 lookup with one required parameter and an output schema, the definition covers purpose and input format adequately. It leaves alternative-selection guidance and error behavior implicit, but the core information needed to call the tool is present.

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?

The schema has 0% description coverage and labels the parameter only as a string. The description adds meaningful constraints: exactly 5 digits and an example, 10115 for Berlin-Mitte, which substantially compensates for the schema gap.

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?

States clearly that it maps a German postal code to the locality or localities it belongs to, giving a specific resource and output. It does not explicitly differentiate itself from sibling search tools such as search_locality or search_street beyond the postal-code input.

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?

Usage is implied: call it when you have a German postal code and want the associated locality. There is no explicit when-not guidance, no named alternatives, and no stated prerequisites.

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