Skip to main content
Glama

openplz_admin_children

Retrieve child administrative units below a German federal state, region, or district using parent type and official key. Set child type and optional limit to walk one hierarchy level.

Instructions

Walk one step down the German administrative tree. parent_type: federal_state | government_region | district. parent_key: official key, e.g. "11" (Berlin), "09" (Bayern), "11000" (Berlin district), "091" (Oberbayern region). child_type: districts | government_regions | localities | municipalities | municipal_associations — only the combinations the API offers (e.g. federal_state -> districts, district -> localities). 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": {
      "parent_type": "<parent_type>",
      "parent_key": "<parent_key>",
      "child_type": "<child_type>"
    },
    "name": "openplz_admin_children"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
child_typeYes
parent_keyYes
parent_typeYes

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 does add useful constraints — that only certain parent/child combinations are offered by the API — but never states that this is a read-only lookup, whether results are paginated or capped, or how errors on invalid combinations surface. For a low-risk lookup this is adequate but not thorough.

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?

Front-loaded with the core action, then one short line per parameter with no filler or repetition. Every sentence contributes a constraint or an example the schema lacks.

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?

An output schema exists, so return values need not be described, and the description covers the three required parameters plus limit. The one meaningful omission is how to begin a traversal from the root level, which an agent needs to chain calls correctly.

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% and the schema exposes no enums, so the description must do all the work — and it largely does: it enumerates parent_type values, gives illustrated parent_key formats at multiple levels, lists child_type values, and specifies limit as 1..50 with default 20. The remaining gap is that the mapping between each parent_type and its legal child_types is only shown by example, not enumerated.

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 opening sentence gives a specific verb and resource: "Walk one step down the German administrative tree." That clearly distinguishes this hierarchical traversal from flat lookups like openplz_list_federal_states or openplz_search_locality. It stops short of naming any sibling explicitly, so it doesn't earn a 5.

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?

"Walk one step down" implies the traversal use case and the valid parent/child pairings imply when the tool applies, but there is no explicit statement of when to prefer this over the sibling search/list tools, nor guidance on where to start the walk (e.g. whether to call list_federal_states first). Usage is inferable rather than instructed.

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