Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

stock_industry_category_cninfo

Read-onlyIdempotent

Retrieve industry classification data from CNInfo for a specified standard (e.g., CSRC, Shenwan) to categorize stocks by sector.

Instructions

巨潮资讯-行业分类数据 https://webapi.cninfo.com.cn/#/apiDoc 查询 p_public0002 接口 :param symbol: 行业类型;choice of {"证监会行业分类标准", "巨潮行业分类标准", "申银万国行业分类标准", "新财富行业分类标准", "国资委行业分类标准", "巨潮产业细分标准", "天相行业分类标准", "全球行业分类标准"} :type symbol: str :return: 行业分类数据 :rtype: pandas.DataFrame

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNo巨潮行业分类标准

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is fully covered. The description adds only the source URL and a return-type note, disclosing nothing extra about behavior, auth, rate limits, or result characteristics beyond what the annotations provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the raw API URL and 'p_public0002' endpoint reference add clutter that does not help an agent select or call the tool, and the Sphinx-style :param/:type/:rtype scaffolding is verbose. Acceptable but not tight.

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 single-parameter tool with no output schema, the description supplies the valid parameter values and notes the DataFrame return, which is useful since no output schema exists. Given the annotations cover safety, the definition is nearly complete, missing only routing guidance against siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single 'symbol' parameter has no enum in the schema, so the description carries the load and does so well by spelling out all eight classification-standard choices, which the raw schema lacks. It could explain the default's effect, but this is a strong compensation for the coverage gap.

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?

States a specific resource (巨潮资讯 industry classification data) and the underlying p_public0002 interface, with a clear query intent implied by the docstring. However, it never distinguishes itself from closely related siblings like stock_industry_pe_ratio_cninfo or stock_industry_change_cninfo, so an agent must infer the boundary.

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?

The description gives no when-to-use, when-not-to-use, or alternative-tool guidance. It enumerates the valid classification standards but never explains which to pick or what situation calls for this tool over the sibling industry tools.

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

Deploy Server

Other Tools