Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

index_stock_cons_csindex

Read-onlyIdempotent

Retrieve current constituent stocks for a Chinese index from CSIndex using its code. Provide an index symbol like 000300 to receive a DataFrame with the latest holdings.

Instructions

中证指数网站-成份股目录 https://www.csindex.com.cn/zh-CN/indices/index-detail/000300 :param symbol: 指数代码, 可以通过 ak.index_stock_info() 函数获取 :type symbol: str :return: 最新指数的成份股 :rtype: pandas.DataFrame

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNo000300
Behavior3/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior. The description adds minimal context: it specifically returns the latest constituents and points to the csindex.com.cn source. However, it does not disclose data freshness, column details, or any potential caveats beyond what annotations cover.

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 compact and includes the essential components: source URL, parameter documentation, and return type. It is reasonably structured despite being a free-form docstring, with no redundant information beyond what is needed.

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 simple single-parameter tool with no output schema, the description provides adequate context: source, parameter meaning, return type, and the 'latest' qualifier. It does not describe the DataFrame columns or limitations, but given the simplicity, this is sufficient.

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 schema only provides a default value, but the description explains that symbol is an index code and suggests using ak.index_stock_info() to obtain it. This adds meaningful semantics beyond the schema, making it easier for the agent to understand and populate the parameter.

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?

Description clearly states it fetches constituent stocks from the CSI index website with a specific URL, and it returns the latest index constituents. The resource and scope are clear, and the source URL differentiates it from sibling tools like index_stock_cons_sina, though it doesn't explicitly contrast with them.

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?

No guidance is given on when to use this tool versus alternatives such as index_stock_cons, index_stock_cons_sina, or index_stock_cons_weight_csindex. The only hint is the source URL, but there is no explicit when-to-use or when-not-to-use instruction.

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/kevynf/akbridge'

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