Skip to main content
Glama
stockmcp

Stock Data MCP Server

by stockmcp

A股融资融券

stock_margin_trading

Retrieve A-share margin trading data including margin balance and short balance. Supports overall market metrics or specific stock queries to monitor leveraged capital in the Chinese stock market.

Instructions

获取A股市场融资融券数据,包括融资余额、融券余额等。融资融券是衡量市场杠杆资金的重要指标。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNo股票代码(可选),留空则获取市场整体数据
marketNo市场: 'sh'(沪市), 'sz'(深市)sh
limitNo返回数据条数
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It does not state that the operation is read-only, nor does it mention any side effects, authorization needs, rate limits, or data freshness. The description is too brief to cover these aspects.

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

Conciseness5/5

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

The description is extremely concise and front-loaded: two sentences that first state the action and data included, then provide context about the indicator's significance. Every sentence adds value without redundancy.

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?

There is no output schema, so the description should detail the return data structure. It only gives examples (融资余额、融券余额等) but not the full list of fields, types, or pagination. The agent lacks complete information about what to expect from the response.

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?

The input schema has 100% description coverage for all three parameters. The description adds minimal value beyond the schema: it mentions that data includes 融资余额 and 融券余额, which is the content of the returned data rather than parameter details. Baseline 3 is appropriate as the schema already defines the parameters.

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

Purpose5/5

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

The description clearly states the tool retrieves A-share market margin trading data including margin balance and short balance. It is specific about the resource (融资融券数据) and the action (获取). Among sibling tools, none explicitly target margin trading, so it is well-distinguished.

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 provides no guidance on when to use this tool versus alternatives. It does not mention any prerequisites, exclusions, or when it should be preferred over sibling tools like stock_fund_flow or stock_north_flow. Usage context is only implied by the tool name.

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/stockmcp/stock-data-mcp'

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