Skip to main content
Glama
michaelfeng

FactorHub MCP Server

by michaelfeng

get_index_daily

Retrieves daily trading data for Chinese stock indices, such as Shanghai Composite and CSI 300. Specify index code and date range to get OHLCV and other daily quotes.

Instructions

获取指数日线行情。常用:000001.SH(上证)、399001.SZ(深证)、000300.SH(沪深300)、000905.SH(中证500)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ts_codeNo
start_dateNo
end_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, and the description does not disclose behavioral traits such as read/write nature, rate limits, or error handling. It simply describes the action without additional context beyond the basic functionality.

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?

The description is very brief (two sentences), which is concise but may be too short given the lack of parameter documentation. It is front-loaded but under-specified for a tool with three parameters.

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?

Despite having an output schema, the description fails to cover parameter semantics or usage context. With three parameters and no parameter descriptions, the description is incomplete for effective tool invocation.

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

Parameters1/5

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

Schema description coverage is 0%, and the description does not explain any parameter meanings. It only provides example values for ts_code, leaving start_date and end_date completely undocumented. The description adds negligible value over 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 clearly states 'get index daily market data' (获取指数日线行情) and provides common index codes. It is specific about the resource (indices) but does not explicitly differentiate from sibling tools like get_market_daily, though the context strongly implies it is for indices only.

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 offers no guidance on when to use this tool vs alternatives, no prerequisites, and no exclusions. It merely lists common index codes without explaining when to use each.

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/michaelfeng/factorhub-mcp'

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