Skip to main content
Glama

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

ashare_watchlist_add

加自选股:把股票加入自选;code 可逗号分隔批量;重复添加幂等。

Input Schema

NameRequiredDescriptionDefault
codeYes股票代码:600519 或 sh600519;批量用逗号分隔
noteNo备注(可选)
tagsNo标签,逗号分隔(可选)
list_nameNo列表名,默认 默认自选

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / code / description
      Previous value: -"股票代码:600519 或 sh600519"New value: +"股票代码:600519 或 sh600519;批量用逗号分隔"
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It usefully discloses that duplicate adds are idempotent and that code supports comma-separated batches, but it does not state permission requirements or what happens to note/tags when re-adding an existing stock.

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 a single, front-loaded line with no wasted text. The key operation, batch support, and idempotency are stated compactly.

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 watchlist-add mutation with a fully described input schema and an output schema, the description covers the core action plus important behaviors like batching and idempotency. It could be more complete with permission or overwrite semantics, but it is largely sufficient for invocation.

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 only reinforces the code batch behavior already documented in the schema and adds no parameter semantics beyond what the schema provides.

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 states a specific verb and resource: adding a stock to the watchlist. It is clear what the tool does, but it does not explicitly distinguish itself from siblings such as ashare_watchlist_remove or ashare_watchlist_list.

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 implies use when adding a stock to the watchlist, but gives no explicit when-to-use guidance, prerequisites, or alternatives. It mentions batch and idempotency, but not when to choose this tool over watchlist_list or watchlist_remove.

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