Skip to main content
Glama

BaanMe

List regions

list_regions
Read-onlyIdempotent

List Thai provinces, or the districts or subdistricts inside a province or district, with slugs, ids and active listing counts.

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": {
      "level": "<level>"
    },
    "name": "list_regions"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelYesRegion level to list.
limitNoMaximum regions.
localeNoLanguage for names and descriptions: en, th or zh.en
districtIdNoFor level=subdistrict, instead of provinceId.
provinceIdNoRequired for level=district.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior. Beyond them, the description adds that each result carries slugs, ids, and active listing counts, which tells the agent what the payload contains and hints that returned counts are scoped to active listings only. Pagination and the limit cap are left undocumented.

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?

One sentence with no filler, front-loading the resource and hierarchy before the returned fields. Every clause contributes distinct information.

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 five parameters, a required enum level, and no output schema, the description does the important extra work of naming the returned fields. It could be stronger by stating cap/pagination behavior or the active-listing scoping of counts, but nothing essential for correct invocation is missing.

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 description coverage is 100%, so level, locale, limit, provinceId, and districtId are all documented in structured form. The description reinforces the conditional relationship between level and the id parameters but adds no format, default, or boundary details beyond the schema, so the baseline applies.

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 names a specific verb and resource ("List Thai provinces... districts or subdistricts") and clarifies the hierarchical relationship between levels. It stops short of differentiating itself from the sibling search_regions, so an agent must infer which one to use for filtered versus full enumeration.

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 "inside a province or district" implies the prerequisite chain (provinceId for districts, districtId for subdistricts), which is useful contextual guidance. There is no explicit statement of when to prefer this over search_regions, nor any exclusion or failure condition.

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.