Skip to main content
Glama
stock-mcp-server

stock-mcp-server

by 1018053166

search_stock

Find Chinese stocks by stock code or name keyword to identify matching listings and access real-time East Money data for quotes, charts, and rankings.

Instructions

搜索股票(支持股票代码或名称关键词)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "keyword": "<keyword>"
    },
    "name": "search_stock"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordYes搜索关键词(股票代码或名称)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it says nothing about what is returned (matching symbols, names, exchanges), how many results, or what happens with ambiguous or non-matching keywords. For a search tool with zero annotation coverage this is a notable gap.

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?

One short sentence with the core purpose front-loaded and no filler; the parenthetical efficiently conveys accepted input types. Its brevity is appropriate, though it borders on under-specification rather than optimal density.

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?

For a simple one-parameter lookup, the purpose and input are adequately covered, but with no annotations and no output schema the return behavior is entirely undocumented, leaving an agent unsure of result shape and multiplicity.

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?

With a single required parameter at 100% schema description coverage, the schema already defines the keyword fully. The description restates that the keyword may be a code or a name but adds no format, length, or matching-behavior detail beyond the schema.

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 (搜索/search) and resource (股票/stocks) and names the accepted input forms (股票代码 or 名称). It is clear what the tool does, but it does not explicitly differentiate itself from the get_* siblings, which retrieve stock data rather than resolve a symbol.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the lookup step for converting a code or name into a stock, but there is no explicit when-to-use, no mention of carrying results into get_stock_realtime or get_kline, and no exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.