Skip to main content
Glama
tdnupe3

Coin Railz MCP Server

by tdnupe3

get_stock_sentiment

Analyze stock market sentiment using AI by providing a ticker symbol to receive sentiment ratings, confidence scores, key drivers, and trading recommendations.

Instructions

Get AI-powered stock market sentiment analysis.

Args: symbol: Stock ticker symbol (e.g., AAPL, TSLA, MSFT, NVDA) include_news: Include recent news and headlines analysis include_technicals: Include technical analysis and chart patterns include_institutional: Include institutional and insider activity

Returns: Sentiment analysis with overall rating, confidence score, key drivers, and trading recommendation.

Price: $0.40

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
include_newsNo
include_technicalsNo
include_institutionalNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The implementation of the get_stock_sentiment MCP tool, which includes the tool registration decorator, parameter definition, payload construction, service call, and response serialization.
    @mcp.tool()
    async def get_stock_sentiment(
        symbol: str,
        include_news: bool = True,
        include_technicals: bool = True,
        include_institutional: bool = True
    ) -> str:
        """
        Get AI-powered stock market sentiment analysis.
        
        Args:
            symbol: Stock ticker symbol (e.g., AAPL, TSLA, MSFT, NVDA)
            include_news: Include recent news and headlines analysis
            include_technicals: Include technical analysis and chart patterns
            include_institutional: Include institutional and insider activity
        
        Returns:
            Sentiment analysis with overall rating, confidence score, key drivers, and trading recommendation.
        
        Price: $0.40
        """
        payload = {
            "symbol": symbol.upper(),
            "includeNews": include_news,
            "includeTechnicals": include_technicals,
            "includeInstitutional": include_institutional
        }
        result = await call_coinrailz_service("stock-sentiment", payload)
        return json.dumps(result, indent=2)
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions the tool is 'AI-powered' and includes a 'Price: $0.40', hinting at a paid service, but doesn't disclose critical behavioral traits like rate limits, authentication needs, data sources, or error handling. For a tool with no annotations, this leaves significant gaps in understanding its operation.

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

Conciseness4/5

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

The description is well-structured and appropriately sized. It starts with a clear purpose, lists parameters with brief explanations, specifies returns, and ends with price info. Every sentence adds value, though the 'Price' line could be integrated more smoothly. It's front-loaded and avoids redundancy.

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

Completeness3/5

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

Given the tool's moderate complexity (4 params, no annotations, output schema exists), the description is partially complete. It covers parameters and return values, but lacks behavioral context (e.g., costs, limitations). The output schema handles return structure, so the description doesn't need to detail that, but it should address usage and operational aspects more fully.

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%, so the description must compensate. It effectively adds meaning by explaining each parameter: 'symbol' as 'Stock ticker symbol', and the boolean flags as controlling inclusion of news, technicals, and institutional analysis. This clarifies beyond the bare schema, though it doesn't detail format constraints (e.g., symbol validation).

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's purpose: 'Get AI-powered stock market sentiment analysis.' It specifies the action ('Get') and resource ('stock market sentiment analysis'), and distinguishes it from siblings like 'get_forex_sentiment' and 'get_token_sentiment' by focusing on stocks. However, it doesn't explicitly differentiate from 'get_sentiment_analysis' (a sibling), which might be more general.

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 provides no guidance on when to use this tool versus alternatives. It doesn't mention siblings like 'get_forex_sentiment' for forex or 'get_token_sentiment' for tokens, nor does it specify prerequisites or exclusions. The only implicit context is the stock focus, but no explicit usage instructions are given.

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/tdnupe3/mcp-server-coinrailz'

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