Skip to main content
Glama
leewhite97

xueqiu-mcp

by leewhite97

获取个股行业标签

get_stock_industry
Read-onlyIdempotent

Retrieve the industry and concept sector tags for an A-share stock by providing its stock code.

Instructions

获取某只A股股票所属的行业和概念板块标签。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesA股股票代码,如 SH600519

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
industriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world behavior, so the description only needs to add context. It adds the meaningful constraint that the tool is A-share-specific and returns two categories of tags, without contradicting the annotations.

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 sentence with no filler. It states the scope, the input, and the output in exactly the needed amount of text.

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

Completeness5/5

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

This is a simple one-parameter, read-only lookup with a full schema and an output schema available. The description covers the input domain and expected result sufficiently; no missing information would prevent an agent from calling it correctly.

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%: the parameter already specifies A-share stock codes with an example format. The description merely repeats 'A股股票' and adds no new semantic detail beyond the schema.

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 names a specific verb ('获取'), a specific resource ('某只A股股票'), and the exact data returned ('行业和概念板块标签'). This clearly distinguishes it from sibling tools like get_stock_quote or get_industry_list, which target different data.

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 conveys clear context: use this when you need the industry and concept labels for a single A-share stock. It does not explicitly name alternatives or when-not-to-use conditions, 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.