Skip to main content
Glama
stockmcp

Stock Data MCP Server

by stockmcp

获取美股/港股历史价格

stock_prices_global

Retrieve historical stock prices and technical indicators for US and Hong Kong markets. Automatic failover across data sources ensures consistent data access.

Instructions

获取美股或港股的历史价格数据及技术指标。支持多数据源自动故障转移。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes股票代码(纯数字或字母组合,如600519、AAPL、HK00700)
marketNo市场: us(美股), hk(港股)us
periodNo周期: daily(日线), weekly(周线)daily
limitNo返回数量(int)
Behavior2/5

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

No annotations provided; description only adds 'automated failover across multiple data sources' as a behavioral trait. Lacks information on read-only nature, permissions, or rate limits, leaving the agent uninformed.

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?

Extremely concise: two sentences. The first sentence delivers the core purpose, the second adds the failover feature. No unnecessary text.

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

Completeness3/5

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

Given no output schema, the description could mention return fields or data format. It only says 'historical prices and technical indicators'. The failover mention is useful, but overall completeness is adequate but not thorough.

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%, with each parameter well-documented (symbol format, market options, period, limit). The tool description adds no additional parameter meaning, so baseline of 3 applies.

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 it fetches historical price data and technical indicators for US/HK stocks. The name 'global' and mention of US/HK differentiate it from other stock tools like stock_prices (likely A-shares), but no explicit sibling differentiation.

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?

No guidance on when to use this tool versus alternatives like stock_realtime or stock_prices. Does not specify prerequisites or exclusions.

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/stockmcp/stock-data-mcp'

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