Skip to main content
Glama

Finanz & SEO Tools API

German address / postcode normalisation and validation

de_address
Read-only

German address / postcode normalisation and validation: parses a free-text address or postalCode/city/street, checks that the postcode exists, that city and postcode match and that the street exists in that postcode area (fuzzy matching, e.g. 'Hauptstrasse' vs 'Hauptstraße'), and returns the normalised address, state and official municipality key (AGS) plus ranked candidates. Data: OpenStreetMap via OpenPLZ (ODbL), ~8,100 postcodes, 1.2 million street entries. House numbers are not verified. Price: $0.003 USDC per call via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "de_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNofree-text address, e.g. 'Grabbeallee 12, 13156 Berlin'
cityNo
streetNo
postalCodeNo
houseNumberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description still adds real behavioral context beyond them: fuzzy matching ('Hauptstrasse' vs 'Hauptstraße'), the house-number limitation, ranked-candidate output, data source/licence, and a per-call price of $0.003 USDC via x402 — the paid-call requirement being the most consequential disclosure for an agent. Not scoring higher only because latency/error behavior on no-match is unstated.

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 tool's identity, then layered detail about checks, outputs, data, and pricing; every clause carries information and nothing is redundant. It is dense as a single block, but the colons and comma-separated clauses keep it scannable.

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 correctly spells out the return values (normalised address, state, AGS, ranked candidates), so the agent knows what to expect. The remaining gap for a 5-parameter tool with weak schema coverage is resolution of the free-text-versus-structured-field precedence and any handling of ambiguous or zero-match results.

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 only 20% (only q is documented), so the description has to compensate more than it does. It does clarify the two input modes ('free-text address or postalCode/city/street') and explains that houseNumber is accepted but not verified, but it never states precedence when q and structured fields are both supplied, and city/street/postalCode get no added meaning beyond their names.

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 concrete verb and resource ('German address / postcode normalisation and validation') and names exactly what it parses and checks: postcode existence, city/postcode agreement, and street existence with fuzzy matching. The scope is narrowed to Germany, and the return payload (normalised address, state, AGS, ranked candidates) is named, so an agent can distinguish this from any unrelated sibling without opening the schema.

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?

Gives clear context for when the tool applies — validating or normalising a German address — and provides a meaningful exclusion with 'House numbers are not verified', plus implicit coverage limits via the ~8,100 postcodes / 1.2M street entries data note. It does not name an alternative tool or explicitly say when to prefer free-text q over the structured fields, which keeps it below a 5.

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