Skip to main content
Glama

List regencies and cities

wilayah_list_kabupaten
Read-onlyIdempotent

List regencies/cities, optionally filtered by province id.

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": "wilayah_list_kabupaten"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
per_pageNo
provinsi_idNoFilter by province id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world behavior, so the safety profile is covered. The description adds nothing beyond that - it says nothing about result ordering, pagination behavior, or how many records exist - but with full annotation coverage a 3 is fair.

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?

A single short sentence, front-loaded with the verb and resource, with zero padding. It is efficient, though its brevity is part of why coverage gaps remain rather than being a model of tight completeness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple read-only list tool with a small flat schema and no output schema, so the description does not need to explain return values. Still, it omits any note on paging results or expected volume, which an agent calling a paginated endpoint would benefit from.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%, so the description should compensate, yet it only restates the provinsi_id filter that the schema already documents and says nothing about page or per_page (including the 100 maximum). The two pagination parameters remain semantically unexplained anywhere.

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 description states a specific verb and resource (list regencies/cities) and notes the optional province filter, so the agent knows exactly what it returns. However, it does not distinguish this from nearby siblings such as wilayah_get_kabupaten (single-item lookup) or wilayah_search, leaving the agent to infer the difference from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'optionally filtered by province id' implies one usage context, but there is no explicit when-to-use guidance and no mention of when a sibling (e.g. wilayah_get_kabupaten for a known id, or wilayah_search for name matching) would be preferable.

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