Skip to main content
Glama

List sub-regions of a region

nusa_region_children
Read-onlyIdempotent

Lists child Indonesian administrative regions by Kemendagri code, with an optional level to retrieve districts or villages below a region; supports pagination via limit and cursor.

Instructions

Lists child wilayah of a region code (e.g. kecamatan of a kabupaten). Use level to jump several levels down (e.g. all desa of a kabupaten). Paginated with limit and cursor.

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": {
      "code": "<code>"
    },
    "name": "nusa_region_children"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesKemendagri region code, e.g. 33.03 (Kabupaten Purbalingga). Dots required.
langNoLanguage of the human-readable text block: id (Indonesian) or en (English).id
levelNoTarget level below the region. Default: direct children.
limitNo
cursorNoOpaque cursor from a previous result.

Output Schema

NameRequiredDescriptionDefault
dataYes
cacheYesnone = not cached (local data).
sourceYesSource id, e.g. bmkg, bps, region.
derivedNoTrue when computed locally from source data.
dataAsOfNoISO 8601 time the source says the data is current as of.
warningsYes
sourceUrlYesCanonical URL of the data source.
termsNoteYesShort terms caveat for this source.
attributionYesAttribution wording the provider requires. Show it to users.
retrievedAtYesISO 8601 time with offset when data was fetched by this server.
cacheAgeSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-rc.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuine behavioral detail beyond that: results are paginated via limit and cursor, and level can return a multi-level subtree rather than only immediate children — a non-obvious trait worth disclosing.

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?

Three short sentences, each earning its place: purpose first, then the level escalation, then pagination. No restatement of the title or annotations and no filler.

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 an output schema present, the description need not explain return values, and it covers the essential call mechanics: required code, level escalation, and pagination. The only gap is edge behavior — what happens when level is at or above the code's own level, or when the cursor is stale.

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 coverage is 80%, so a baseline of 3 applies, and the description rises above it by explaining the level parameter's jump semantics ("all desa of a kabupaten") in a way the schema's "Target level below the region" does not. The limit/cursor pairing is also named, though the description adds nothing about the code format or lang, which the schema already handles.

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 a specific verb and resource ("Lists child wilayah of a region code") and grounds it with a concrete example (kecamatan of a kabupaten), which immediately separates it from a single-region lookup like nusa_region_get. It never names a sibling explicitly, so differentiation relies on the reader inferring that this is the traversal tool rather than the search or get tool.

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 sentence "Use level to jump several levels down (e.g. all desa of a kabupaten)" gives useful in-tool guidance on choosing a parameter value, and the pagination note signals when to expect multiple calls. However, there is no explicit statement of when to prefer this over nusa_region_search or nusa_region_get, so tool selection is left implied.

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