Skip to main content
Glama

A股数据 API (A-Share Data API)

ashare_chip

筹码分布 / 持仓成本(沪深 A 股 + ETF):获利盘比例 + 平均成本 + 90% 与 70% 集中度 + 当日收盘价。用户问'筹码集中吗/套牢盘多不多/平均成本多少/抛压大不大/主力成本在哪'用这个。⚠️ 多只请用 ashare_chip_batch(一次 200 只、逐只标明成功与否)—— 本工具只查一只。⚠️ date 可回看历史(YYYY-MM-DD,缺省=最新);历史仅保留约近 1 年;非交易日/未来日期会自动回退到最近交易日,以返回行的 date 为准。⚠️ 代码可传 sh600667 或裸 6 位 600667。⚠️ ETF 也能查(实测 sh510300:平均成本 4.39 / 获利 13.47%),口径与个股相同;港美股不支持。⚠️ 付费工具:需 Key(体验版及以上),免费/匿名不可用。

Input Schema

NameRequiredDescriptionDefault
codeYes股票代码:sh600667 / 600667
dateNo交易日 YYYY-MM-DD(可选,默认最新;仅近 1 年)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does: paid tool requiring a Key (体验版及以上), free/anonymous unavailable; history limited to ~1 year; non-trading-day or future dates auto-fall-back to the nearest trading day with the returned row's `date` authoritative. These are exactly the operational traits an agent needs before invoking.

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?

Front-loaded with purpose and trigger questions, then bulleted ⚠️ caveats that each carry distinct information (batch routing, date rules, code formats, ETF scope, payment). Dense but every line earns its place; slightly repetitive on the ETF/面 code notes.

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

Completeness5/5

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

An output schema exists, so return values need no explanation, and the description still covers the remaining gaps: auth/cost, universe exclusions, date fallback, and code format. An agent has everything needed to call it correctly and interpret the result.

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 coverage is 100%, so the baseline is 3, but the description adds semantics beyond the schema: the date fallback behavior and the 'trust the returned date' rule, plus confirmation that both `sh600667` and bare `600667` forms work and ETF codes are valid. Marginal value above the schema, not below.

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?

Names the specific resource (筹码分布/持仓成本) and enumerates the returned metrics: 获利盘比例, 平均成本, 90%/70% 集中度, 收盘价, plus the exact user questions it answers. It also names the sibling ashare_chip_batch as the multi-stock alternative, so an agent can distinguish it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing rule: multiple stocks → ashare_chip_batch (200 at a time, per-stock success flags); this tool queries one. It also states supported universe (沪深A股 + ETF) and excludes 港美股, and maps natural-language user questions to this tool.

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.

Resources