Skip to main content
Glama

margin

融资融券明细(行情数据) 需要 PRO 及以上套餐(低档位调用返回 403)。

Args: symbol: 证券代码(带后缀),如 000001.SZ start_date: 起始日期 YYYYMMDD end_date: 结束日期 YYYYMMDD trade_date: 单个交易日 YYYYMMDD(与 start/end 二选一)

Returns: JSON 数组;字段: trade_date, symbol, name, rzye, rqye, rzmre, rqyl, rzche, rqchl, rqmcl, rzrqye

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNo证券代码(带后缀),如 000001.SZ
end_dateNo结束日期 YYYYMMDD
start_dateNo起始日期 YYYYMMDD
trade_dateNo单个交易日 YYYYMMDD(与 start/end 二选一)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description shoulders the transparency burden. It discloses the 403 error behavior for low-tier users and specifies the return format (JSON array with listed fields). It does not state explicitly that it is read-only, but '行情数据' implies a data retrieval operation.

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 compact and front-loaded: purpose, access requirement, parameters, and returns are all covered in a concise block. No redundant text or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple data query tool, the description provides the essential context: what it does, access restriction, parameters, and output fields. The output schema exists, so return fields are redundant but harmless. It lacks only minor details like pagination or field definitions, but those are covered by the schema.

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?

Schema description coverage is 100%, so baseline is 3. The description's parameter list merely repeats the schema's descriptions (symbol example, date format, and the trade_date mutual exclusivity). It adds no new meaning beyond 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 the tool provides '融资融券明细' (margin trading details) as market data. The verb '明细' and resource are specific and distinct from sibling tools, though it does not explicitly call out alternatives.

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 mentions the PRO/PRO+ subscription requirement and that lower tiers return 403, which is a prerequisite/context. However, it does not explicitly state when to use this tool versus alternative data endpoints or provide exclusionary guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.3/5.0
Disambiguation3/5

Several tools have overlapping purposes or unclear names, such as daily vs etf_daily vs index_daily vs fx_daily, and fundamentals vs technical_factors_pro (which also includes PE/PB). top_inst and top_list are also easily confused. Descriptions help, but the names alone are not always sufficient to distinguish them.

Naming Consistency3/5

All names use lowercase with underscores, which is consistent, but there is variation in number (daily vs stocks), specificity (daily vs index_daily), and verbosity (top_inst vs top_list). The pattern is not uniform across the set, making it less predictable.

Tool Count3/5

45 tools is on the heavy side for an MCP server, and there is redundancy (technical_factors and technical_factors_pro overlap significantly). For a broad financial data API, the count is justifiable, but it borders on overwhelming.

Completeness4/5

The tool set covers a wide range of financial data: quotes, fundamentals, technicals, financial statements, corporate actions, money flows, ETF data, index data, and news. There are minor gaps (e.g., no bond data) but the core domain of Chinese A-share/ETF/FX data is well covered.

Resources