Skip to main content
Glama
maimai-hqw

ashare-mcp

by maimai-hqw

get_stock_industry

Retrieve Shenwan industry classification for a stock or the entire market, with optional date filtering.

Instructions

Industry classification (申万). Empty code -> whole market. Fields: updateDate, code, code_name, industry, industryClassification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNo
dateNo
Behavior2/5

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

No annotations provided, so description carries full burden. It states it returns data and mentions 'empty code -> whole market' but does not disclose behavioral traits like read-only nature, rate limits, authentication needs, or any side effects. Minimal beyond basic purpose.

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?

Three short sentences: first states purpose, second gives special behavior for code, third lists expected fields. No wasted words, front-loaded with key 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?

Given simple tool with optional parameters and no output schema, description covers purpose, parameter behavior (code), and return fields. However, could clarify whether it returns classification for a specific stock or all stocks when code is empty, and mention that date is optional.

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 has 0% description coverage. Description adds meaning for the 'code' parameter (empty returns whole market) but does not explain the 'date' parameter beyond its presence in the schema. Partially compensates for schema gap but not fully.

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 returns industry classification (申万), specifies that empty code returns whole market, and lists the fields. It distinguishes itself from siblings by focusing specifically on industry classification, not other financial data.

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 get_stock_basic or other data retrieval tools. Only hints at how to use code parameter for whole market, but lacks explicit usage context 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/maimai-hqw/ashare-mcp'

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