Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

index_stock_cons_sina

Read-onlyIdempotent

Retrieves constituent stocks for a specified stock index symbol using Sina's index components data. Useful for index composition analysis and portfolio research.

Instructions

新浪新版股票指数成份页面,目前该接口可获取指数数量较少 https://vip.stock.finance.sina.com.cn/mkt/#zhishu_000040 :param symbol: 指数代码 :type symbol: str :return: 指数的成份股 :rtype: pandas.DataFrame

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNo000300

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior, so the safety bar is low. The description adds a coverage caveat (few indices available) and states the return type, but the caveat largely duplicates the annotation title, and it omits any rate-limit, auth, or pagination detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the block includes a raw URL and docstring boilerplate (:param/:type/:return/:rtype) that partly repeats structured information. It is compact but not maximally economical.

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?

With no output schema, the description does supply the return type (DataFrame of constituents), which is helpful. But for a low-coverage single-param tool it leaves the symbol format and the choice against sibling index-constituent tools unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the parameter semantics. It only labels symbol as 指数代码 (index code) without format, prefix, or example (the default 000300 and the URL fragment hint at the shape but are not stated). Type str merely restates the schema.

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 the source and resource: Sina's new stock-index constituent page, returning 指数的成份股 (index constituent stocks). This is a specific verb+resource and the Sina sourcing implicitly distinguishes it from the sibling csindex/cons tools. However, it never names an alternative, so the differentiation stays implicit.

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 when-to-use or when-not-to-use guidance, and no pointer to the many sibling constituent tools (index_stock_cons, index_stock_cons_csindex, index_component_sw). The note that coverage is limited is a soft hint but not a routing rule.

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

Deploy Server

Other Tools