Skip to main content
Glama
stock-mcp-server

stock-mcp-server

by 1018053166

get_shareholder_structure

Retrieve a stock's shareholder structure, including retail ownership, retail market value ratio, and institutional holdings, by stock code.

Instructions

获取股东结构数据(散户占比、散户市值比、机构占比等)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "stockCode": "<stockCode>"
    },
    "name": "get_shareholder_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
stockCodeYes股票代码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about data freshness, the reporting period, whether values are percentages or fractions, or how an invalid stock code is handled. The trailing '等' also leaves the returned field set open-ended, which matters since there is no output schema.

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?

One short front-loaded phrase with the resource stated first and the returned metrics immediately after; nothing is padded. The only weakness is the vague catch-all '等', which conveys no information.

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 read tool with no output schema, listing the headline metrics is genuinely useful, but the description is still thin: it omits the reporting period, the units of the ratios, and the full field set. An agent knows roughly what comes back but not enough to rely on the values without inspecting results.

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

Parameters3/5

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

There is a single required parameter and schema description coverage is 100%, with the schema already documenting stockCode as 股票代码. The description adds no format, market-prefix, or exchange-code detail beyond what the schema provides, so the baseline of 3 applies.

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 names a specific verb (获取) and resource (股东结构数据), then enumerates the exact metrics returned (散户占比、散户市值比、机构占比), which lets an agent distinguish it from siblings like get_top_ten_holders or get_shareholder_count. It stops short of explicitly stating how it differs from get_shareholder_trend or get_top_ten_holdings, so it is clear but not fully differentiated.

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 guidance, no exclusion of alternatives, and no mention of when an agent should prefer get_top_ten_holders, get_shareholder_count, or get_shareholder_trend instead. The metric list only weakly implies the use case (ownership composition analysis).

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