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

Get CNBS Categories

cnbs_get_categories
Read-onlyIdempotent

Retrieve all CNBS data categories with codes, names, and time granularities (monthly, quarterly, yearly, provincial annual). Use this to discover available datasets for economic indicators like CPI, GDP, and population.

Instructions

获取所有数据分类信息,包括分类代码、名称和时间粒度。

Returns: 分类列表,包含代码、名称、时间粒度类型

示例返回:

  • 代码 1:月度数据(CPI、PPI等)

  • 代码 2:季度数据(GDP季度值等)

  • 代码 3:年度数据(GDP年度值、人口等)

  • 代码 6:分省年度数据

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds value by listing example return values and clarifying that the tool returns all categories. It does not contradict annotations.

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?

The description is very concise: one short sentence about purpose plus example returns. No fluff, front-loaded with the main action. Every sentence contributes.

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?

For a tool with no parameters and good annotations, the description is fairly complete. It explains the output structure with examples. Minor gap: it does not mention if the output is sorted or any ordering, but examples suffice.

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?

The tool has no parameters, so the input schema provides no meaning. The description compensates by explaining what the output contains, including example categories, which adds semantic value 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 the tool gets all category information including code, name, and time granularity. It provides example return values, making the purpose unambiguous. It distinguishes from siblings like cnbs_fetch_nodes or cnbs_get_regions by focusing on categories.

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 description provides no guidance on when to use this tool versus alternatives. It does not mention any prerequisites, when it is appropriate to call it, or when to use other tools instead.

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