Skip to main content
Glama

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

ashare_evidence

财经多源取证:一次查询同时搜巨潮公告(沪深两市·官方一手)与东方财富资讯,归一成一张表并去掉转载重复。行字段 source(cninfo/eastmoney)/ kind(notice 公告 / news 资讯 / report 研报)/ title / url / date / code / name / media / authority(1.0 官方·0.5 门户)/ relevance(1.0 命中实体 · 0.6 仅摘要命中 · 0.3 未能确认)/ relevance_where(title 标题有它 / name 主体名称有它 / snippet 只在摘要里 / unknown)/ snippet(正文摘要,资讯才有;公告正文在 PDF 里,此处为空)/ also_on(同一消息的其它转载)。每行还带证据三件套 cit_endpoint / cit_field_path / cit_value_hash / cit_retrieved_at,拿这三样可独立复现并核对这条结果。用户问'这公司最近发了什么公告/有什么新闻/这消息哪来的/能不能核实'用这个。⭐ 与 ashare_news、ashare_flash 的分工:ashare_news 是按代码查单个标的的资讯;ashare_flash 是全市场快讯流;本工具是按关键词跨源检索 + 去重 + 带证据。⭐ scope=report 可一并要研报:标题 + 券商(media)+ 日期 + 研报详情页链接。研报单独算名额,不会被资讯挤掉,也不额外计费。⚠️ 研报没有摘要,snippet 为空。⚠️ 公告给的是PDF 链接(巨潮原始披露),资讯给的是原文链接,研报给的是详情页链接。⭐ 排序 = 相关性 → 权威度 → 日期:标题或主体名称里有这个词的排前面,同级时公告在资讯前面。relevance 只看词出现在哪个字段(可核对的客观分档),不做语义猜测;snippet 让你不用点开就知道是不是你要的。⚠️ 公告比新闻权威(authority 1.0 vs 0.5),名额仍按「源平分」—— 否则公告会被当日新闻挤掉。⚠️ 结果缓存 5 分钟。

Input Schema

NameRequiredDescriptionDefault
qYes检索词:宁德时代 / 贵州茅台 / 三季度业绩
limitNo返回条数(默认 10,各源平分名额,上限 30)
scopeNo范围:notice 公告 / news 资讯 / report 研报,逗号分隔(默认 notice,news)notice,news

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / scope / description
      Previous value: -"范围:notice 公告 / news 资讯,逗号分隔"New value: +"范围:notice 公告 / news 资讯 / report 研报,逗号分隔(默认 notice,news)"
  2. Added

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden, and it does substantial work: per-source authority weighting, per-source quota splitting rationale, 5-minute result caching, report has no snippet, announcement links are PDFs. However, it omits error/auth behavior and pagination, so it is strong but not exhaustive.

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?

The purpose, sibling routing, and output shape are front-loaded and each warning marker flags a distinct caveat. It is nonetheless long, with a full enumeration of output row fields that partially duplicates the existing output schema.

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?

For a multi-source, deduplicating search tool this is complete: it explains sourcing, dedup, ranking order, authority tiers, relevance scoring, evidence-reproduction fields, and caching. An agent has everything needed to call it and interpret the result correctly.

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 the baseline is 3. The description does add value the schema lacks – that scope=report research reports count against a separate quota and carry no snippet, and that limit is split evenly across sources up to 30 – but the core parameter meanings are already documented in the schema.

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?

States a specific verb+resource: cross-source keyword retrieval of cninfo announcements plus eastmoney news, normalized into one deduplicated table. It goes further and explicitly distinguishes itself from siblings ashare_news (by-code single target) and ashare_flash (market-wide stream), so an agent can disambiguate without opening schemas.

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?

Names concrete user intents ('这公司最近发了什么公告/有什么新闻/这消息哪来的/能不能核实') that select this tool, and spells out the division of labor against two sibling tools. It also flags when to widen scope (scope=report) and notes the extra quota is free and not crowded out by news.

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