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

Fetch CNBS Series

cnbs_fetch_series
Read-onlyIdempotent

Batch fetch statistical indicator time series from CNBS. Specify dataset ID, metric IDs, time ranges, and regions to retrieve data points for analysis.

Instructions

批量获取统计指标数据。支持多个指标ID、多个时间段、多地区。

Args:

  • setId (string): 数据集ID

  • metricIds (string[]): 指标ID数组

  • periods (string[]): 时间范围数组,如 ["202501MM-202503MM"] 或 ["2023YY-2025YY"]

  • areas (array): 地区维度,默认全国

  • rootId (string): 根节点ID,月度数据默认为 fc982599aa684be7969d7b90b1bd0e84

Returns: 统计数据点列表

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
setIdYes数据集ID
metricIdsYes指标ID数组
periodsYes时间范围数组,如 ["202501MM-202503MM"] 或 ["2023YY-2025YY"]
areasNo地区维度,默认全国
rootIdNo根节点ID,月度数据默认为 fc982599aa684be7969d7b90b1bd0e84
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, covering the safety profile. The description adds that it returns a list of data points, which is useful but not extensive. It does not mention rate limits or error handling.

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 well-structured with a summary sentence followed by an Args list and Returns. It is front-loaded and uses clear formatting, though it could be slightly more concise by avoiding duplication of schema content.

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

Completeness2/5

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

With no output schema, the description only vaguely mentions '统计数据点列表' (list of statistical data points). It does not describe the structure of each data point, how pagination works, or what errors may occur. This is insufficient for an agent to fully understand the return format.

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 the input schema already documents all parameters adequately. The tool description mostly repeats the same information without adding new semantic details or usage nuances.

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 clearly states '批量获取统计指标数据' (batch fetch statistical indicator data) and specifies support for multiple metric IDs, time periods, and areas. However, it does not differentiate from sibling tools like cnbs_fetch_metrics or cnbs_search, leaving room for confusion.

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 description mentions support for multiple IDs, periods, and areas, providing context on when to use the tool. However, it lacks explicit guidance on when not to use it or alternatives among the many sibling tools.

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