Skip to main content
Glama

覓安居

行政區機構數

list_district_counts

回傳指定縣市的行政區與機構數。

Input Schema

NameRequiredDescriptionDefault
cityYes縣市,例如「臺中市」

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. '回傳' implies a read-only query, but the description says nothing about the return shape (district name paired with a count), ordering, behavior for an unknown or empty city, or pagination. For a data-returning tool with no output schema, this leaves significant behavioral gaps.

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 with no filler, and the resource ('行政區與機構數') is front-loaded immediately after the verb. It is efficient, though its brevity borders on under-specification rather than tight polish.

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?

The tool is simple (one required string parameter, no nesting, no output schema), and the description conveys the core return concept of districts plus counts. However, without an output schema the description should say more about the result structure and edge cases, and it offers no routing guidance against the related count/list siblings.

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?

There is one parameter and schema description coverage is 100%, with the schema itself supplying an example value (「臺中市」). The description only restates the parameter as '指定縣市' and adds no format, matching, or normalization details beyond what the schema already provides. Baseline 3 is appropriate.

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: it returns the administrative districts and their facility counts for a given county/city, scoped by the required 'city' parameter. An agent can understand what it produces without opening the schema. It does not, however, differentiate itself from the sibling list_city_counts, which likely returns a similar aggregate at a different level.

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?

There is no explicit when-to-use guidance, no mention of alternatives such as list_city_counts, and no prerequisites or exclusions. The required 'city' parameter implies the tool is used for a single-city breakdown, but that inference is left entirely to the agent.

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