Skip to main content
Glama

PLZ-Einwohner (EU-27 population per postal code)

lookup_plz_population

Look up the estimated population for an EU-27 postcode (PLZ). Returns inhabitants plus data provenance (source, release). Values are census-grid estimates for targeting weights, not official postcode statistics.

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": {
      "country": "<country>",
      "postcode": "<postcode>"
    },
    "name": "lookup_plz_population"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesISO-3166 alpha-2 country code, e.g. "DE", "AT", "NL".
postcodeYesPostcode in any local format (separators are stripped; NL/PT are resolved at 4-digit level).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses what is returned (inhabitants, source, release) and, more importantly, the methodological nature of the values as census-grid estimates rather than official statistics. It omits failure behavior for unmatched postcodes and any auth or rate-limit context.

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 sentences, front-loaded with the action and resource, then the return shape, then the caveat. Slight overlap between "estimated population" and "census-grid estimates," but nothing is padding.

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 must convey return values and does so (inhabitants plus source and release). For a two-parameter lookup this is nearly complete; only the no-match/error case and the single-vs-batch choice are left unaddressed.

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 coverage is 100%, so country code format and the local-format/4-digit NL-PT resolution rule are already documented in the schema. The description adds only the "EU-27" scope constraint on the pair, which is a marginal but real addition beyond the fields.

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?

Specific verb plus resource ("Look up the estimated population for an EU-27 postcode") with a clearly bounded geographic scope. It never names the batch or dataset-info siblings, so an agent must infer the single-vs-batch split from the tool name alone.

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?

The closing clause "for targeting weights, not official postcode statistics" is a genuine fitness-for-purpose boundary telling the agent when the output is and isn't appropriate. It does not, however, route the agent to lookup_plz_population_batch for bulk work or to get_plz_dataset_info for provenance metadata.

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