Skip to main content
Glama

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

lookup_plz_population_batch

Batch variant of lookup_plz_population. Accepts up to 100 "CC:PLZ" strings or {country, postcode} objects and returns one result per unique key (null when unknown).

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

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 burden, and it does disclose real behavior: a 100-item cap, deduplication by unique key, one result per key, and null for unknown keys. It omits result ordering/alignment with the input array, normalization rules that determine what counts as the same key across the two input forms, and any rate-limit or upstream-failure behavior.

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 sentences, zero filler, with the identity of the tool and its input contract front-loaded before the return semantics. Every clause carries information an agent needs.

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 single-parameter batch lookup with no output schema and no annotations, the description covers input forms, size limit, output cardinality, and null handling. The remaining gap is whether the returned array is index-aligned with the input or keyed, which an agent would want before parsing results.

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 effectively 0% for the object variant, yet the description explains both accepted shapes ("CC:PLZ" strings or {country, postcode} objects) and the 100-item maximum. It does not explain how the two forms map to the same unique key, which matters for deduplication behavior.

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 it is the batch variant of lookup_plz_population and specifies the accepted input forms and return cardinality, which cleanly separates it from the single-lookup sibling. The underlying resource (population by postcode) is only implied via the sibling name rather than stated outright, so it falls just short of fully self-contained clarity.

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 phrase "Batch variant" implies the when-to-use condition (multiple lookups at once) and implicitly points at the single-lookup sibling as the alternative. It never states the exclusion explicitly, e.g. "use lookup_plz_population for one key," so the agent must infer the routing rule.

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