Skip to main content
Glama
al-one

MCP Server for stock and crypto

给出投资建议

trading_suggest

Generates investment recommendations for stocks and crypto, specifying action (buy/sell/hold), confidence score, and reasoning based on AI analysis.

Instructions

基于AI对其他工具提供的数据分析结果给出具体投资建议

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes股票代码或加密币种
actionYes推荐操作: buy/sell/hold
scoreYes置信度,范围: 0-100
reasonYes推荐理由

Implementation Reference

  • The tool 'trading_suggest' is registered via the @mcp.tool decorator with a Chinese title '给出投资建议' (Give investment advice) and a description about providing investment suggestions based on AI analysis of data from other tools.
    @mcp.tool(
        title="给出投资建议",
        description="基于AI对其他工具提供的数据分析结果给出具体投资建议",
  • The handler function for 'trading_suggest'. It takes four parameters: symbol (stock/crypto code), action (buy/sell/hold), score (confidence 0-100), and reason (recommendation rationale). Simply returns them as a dictionary.
    def trading_suggest(
        symbol: str = Field(description="股票代码或加密币种"),
        action: str = Field(description="推荐操作: buy/sell/hold"),
        score: int = Field(description="置信度,范围: 0-100"),
        reason: str = Field(description="推荐理由"),
    ):
        return {
            "symbol": symbol,
            "action": action,
            "score": score,
            "reason": reason,
        }
  • The schema for input parameters includes symbol (string), action (string - buy/sell/hold), score (int 0-100), and reason (string). The output schema is a dictionary with the same four fields.
    def trading_suggest(
        symbol: str = Field(description="股票代码或加密币种"),
        action: str = Field(description="推荐操作: buy/sell/hold"),
        score: int = Field(description="置信度,范围: 0-100"),
        reason: str = Field(description="推荐理由"),
    ):
        return {
            "symbol": symbol,
            "action": action,
            "score": score,
            "reason": reason,
        }
Behavior3/5

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

No annotations are provided. The description indicates the tool outputs suggestions based on AI analysis, implying no destructive side effects. However, it does not disclose behavioral details like whether suggestions are deterministic, rate limits, or how the AI analysis is performed.

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, concise sentence with no unnecessary words. It efficiently communicates the core purpose.

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

Completeness2/5

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

Given the tool has 4 required parameters and no output schema, the description should explain how the suggestion is derived or what the output format is. It lacks details about the reasoning process, return structure, or any caveats, making it insufficient for an AI to reliably invoke.

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 description adds no additional meaning beyond what the schema already provides for each parameter. Baseline 3 is appropriate as the schema is self-sufficient.

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 clearly states the tool provides investment suggestions based on AI analysis of data from other tools. It implicitly distinguishes from sibling data-gathering tools like stock_prices and binance_ai_report, but does not explicitly differentiate or list specific resources.

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. It does not specify prerequisites, when not to use it, or mention any sibling tools as alternatives. Usage context is only implied.

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/al-one/mcp-aktools'

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