Skip to main content
Glama
icen-ai
by icen-ai

China Department Statistics

ext_cn_department
Read-onlyIdempotent

Query China National Bureau of Statistics data by department (finance, industry, trade, etc.) with optional indicator keywords, page size, and fetch-all option for comprehensive sector statistics.

Instructions

查询各部门在国家统计局发布的统计数据。涵盖财政、工业、商务、农业、货币金融、社会保障、房地产、能源等。

Args:

  • department (string): 部门键

  • indicator (string): 具体指标关键词(可选,不填则用部门默认首个关键词)

  • pageSize (number): 返回数量,默认 20

  • fetchAll (boolean): 是否获取该部门所有关键词数据(较慢),默认 false

可用部门: finance(财政)| industry(工业)| trade(商务)| agriculture(农业)| monetary(货币金融)| social_security(社保)| housing(房地产)| energy(能源)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
departmentYes部门键
indicatorNo具体指标关键词,如 "财政收入"
pageSizeNo返回数量
fetchAllNo是否获取该部门所有关键词数据
Behavior4/5

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

Annotations already indicate read-only, non-destructive, idempotent behavior. The description adds behavioral traits like fetchAll being slow and indicator defaulting to first keyword, providing additional transparency beyond annotations.

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?

The description is structured with a header, parameter list, and department enumeration. It is concise and informative, though slightly longer due to the list, but every sentence adds value.

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 description lacks information about the output format or structure, which is important since no output schema is provided. It adequately covers input parameters and basic behavior but not the return data.

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 100%, so the baseline is high. The description adds context by listing valid department keys and explaining the behavior of optional parameters (indicator, fetchAll), which adds meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it queries department statistics from the National Bureau of Statistics, covering multiple fields. It uses a specific verb 'query' and identifies the resource, and the list of departments distinguishes it from sibling tools like ext_cn_census or ext_cn_department_list.

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

Usage Guidelines4/5

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

The description provides parameter usage details (optional indicator, default values, slow fetchAll) but does not explicitly state when to use this tool versus alternatives. It implies usage context but lacks direct comparisons.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/icen-ai/mcp-cnbs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server