Skip to main content
Glama
fastmcp-me

AkTools MCP Server

by fastmcp-me

查找股票代码

search

Find stock codes by company name or keyword. Covers Shanghai, Shenzhen, Hong Kong, and US markets. Does not support cryptocurrency. If you already have the stock code, use other tools directly for faster queries.

Instructions

根据股票名称、公司名称等关键词查找股票代码, 不支持加密货币。该工具比较耗时,当你知道股票代码或用户已指定股票代码时,建议直接通过股票代码使用其他工具

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketNo股票市场,仅支持: sh(上证), sz(深证), hk(港股), us(美股), 不支持加密货币sh
keywordYes搜索关键词,公司名称、股票名称、股票代码、证券简称
Behavior3/5

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

The description discloses two behavioral traits beyond the schema: the tool is relatively time-consuming ('比较耗时') and does not support cryptocurrency ('不支持加密货币'). However, it omits other important aspects such as return format, potential multiple matches, or error handling. With no annotations, the description carries the burden but has notable gaps.

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 concise, consisting of two sentences. It front-loads the primary purpose and limitation in the first sentence, then provides usage guidance in the second. Every word earns its place with no redundancy.

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 low-complexity tool with only 2 parameters and no output schema, the description adequately covers purpose, scope (no crypto), and usage tradeoffs (slow, use other tools when code known). It lacks an explicit description of what the tool returns, but the title and purpose imply it returns stock codes, making it sufficiently complete.

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 coverage is 100% because both 'keyword' and 'market' have detailed descriptions. The tool description adds minimal parameter-specific meaning; it reinforces the use of 'keyword' as a lookup mechanism but does not introduce new syntax or format details. Baseline 3 is appropriate given the high schema coverage.

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's function: '根据股票名称、公司名称等关键词查找股票代码' (Search for stock codes based on keywords such as stock names, company names). It uses a specific verb and resource, and it distinguishes itself from sibling tools by focusing on code lookup rather than retrieving data like prices or news.

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

Usage Guidelines5/5

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

The description explicitly advises when not to use this tool: '当你知道股票代码或用户已指定股票代码时,建议直接通过股票代码使用其他工具' (when you know the code, use other tools directly). This provides clear exclusion and an alternative, while also implying when it should be used (when only a name or keyword is available).

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/fastmcp-me/mcp-aktools'

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