Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

stock_hk_index_daily_em

Read-onlyIdempotent

Fetch historical daily data for a Hong Kong stock index from Eastmoney by passing its index code, returning a pandas DataFrame for analysis.

Instructions

东方财富网-港股-股票指数数据 https://quote.eastmoney.com/gb/zsHSTECF2L.html :param symbol: 港股指数代码;可以通过 ak.stock_hk_index_spot_em() 获取 :type symbol: str :return: 指数数据 :rtype: pandas.DataFrame

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNoHSTECF2L

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so safety semantics are covered. The description only adds the return type (pandas.DataFrame) and a source URL; it discloses nothing about date-range coverage, rate limits, or pagination. Minimal added behavioral value over the annotations.

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?

It is compact and front-loads the source, but it is a raw docstring dump with :param/:type/:return/:rtype scaffolding and a bare URL that provides provenance rather than actionable guidance. Adequate but not tightly structured.

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?

For a single-parameter tool with no output schema, the description covers the input source and the return type but says nothing about what columns the DataFrame contains or what date span is returned. That leaves an agent guessing about the result shape, which a slightly fuller description should have addressed.

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?

Schema description coverage is 0% and the single schema property has no description, so the description carries the burden. It explains that symbol is a 港股指数代码 and points to ak.stock_hk_index_spot_em() as the way to discover valid codes, which meaningfully compensates for the empty schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the provider (东方财富网), the market (港股), and the resource (股票指数数据), which is more than a tautology. However, it never states the frequency/scope that distinguishes it from siblings like stock_hk_index_spot_em (spot) or stock_hk_index_daily_sina; 'daily' appears only in the tool name, so an agent cannot tell the temporal granularity from the description alone.

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?

It gives a useful procedural hint — obtain the symbol via ak.stock_hk_index_spot_em() — which implies usage context. But it never says when to prefer this tool over the spot or Sina-daily alternatives, nor does it state any prerequisite or exclusion.

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