Skip to main content
Glama
chengzuopeng

Stock SDK MCP Server

by chengzuopeng

get_all_a_share_quotes

Read-only

Fetch real-time quotes for all A-share stocks (5000+), filterable by market: Shanghai, Shenzhen, Beijing, STAR, ChiNext. Built-in concurrency control handles large data volumes.

Instructions

【重要】获取全市场 A 股实时行情(5000+ 只股票),支持按市场筛选(上证/深证/北证/科创板/创业板),内置并发控制。注意:数据量较大,请谨慎使用

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketNo市场筛选: all=全部(默认), sh=上证, sz=深证, bj=北证, kc=科创板, cy=创业板
batchSizeNo每批请求的股票数量,默认 500
concurrencyNo并发请求数,默认 7
Behavior4/5

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

Annotations already include readOnlyHint=true and openWorldHint=true, so the safe-read behavior is covered. The description adds useful context beyond annotations: built-in concurrency control and a caution about the large data volume, which helps the agent understand operational characteristics.

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 one concise sentence with a clear important marker and a necessary warning. It is front-loaded with the core purpose and includes no filler. Every phrase contributes meaningful information.

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 tool with no output schema, the description covers key operational aspects: scope, filters, concurrency control, and data-size caution. It does not detail the return format or pagination, but the purpose is straightforward and annotations provide safety context, leaving minimal ambiguity.

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% for all three parameters, so the schema already documents each parameter well. The description adds a summary-level mention of market filtering and concurrency control, but does not provide additional semantic detail beyond the schema. Baseline 3 is appropriate.

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 gets real-time quotes for the entire A-share market (5000+ stocks), using the specific verb '获取' (get) with an explicit resource scope. It distinguishes itself from sibling tools like get_a_share_quotes by emphasizing '全市场' (full market) and the filtering options.

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

Usage Guidelines4/5

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

The description provides clear context: it's for full-market real-time quotes, with market filtering and concurrency control. It also warns about large data volume. However, it does not explicitly mention alternatives or when not to use it, so it falls short of a 5.

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/chengzuopeng/stock-sdk-mcp'

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