Skip to main content
Glama
makiichikawa

stock-mcp-server

by makiichikawa

analyze_profitability_turnaround

Detect if a stock recently transitioned from net loss to net profit by analyzing quarterly earnings data.

Instructions

Analyze whether a stock has turned from loss to profit in recent quarters

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesStock symbol (e.g., AAPL, GOOGL, TSLA)
Install Server

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations and no output schema, the description carries the full burden of behavioral disclosure, and it does not carry it. It does not explain what qualifies as 'recent quarters', what data source or methodology is used, or what the call returns (boolean verdict, report, or metrics). An agent cannot predict the outcome shape or the analytical assumptions behind the verdict.

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?

A single sentence with zero filler; the core analytical question is front-loaded and every word earns its place. It is efficient, though arguably so brief that it leaves behavioral and output questions unaddressed — that is a completeness issue rather than a conciseness problem.

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?

The tool has no output schema and no annotations, so a complete description should state the result format and clarify how this differs from the closely related screen_profit_turnaround_stocks sibling. It does neither. While invocation is trivial (one well-documented parameter), the meaning of the result and the definition of 'turned from loss to profit' remain underspecified, making agent judgment unreliable.

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% — the symbol parameter is already described with concrete examples (AAPL, GOOGL, TSLA). The description adds no parameter-level detail beyond what the schema provides, so the baseline 3 applies. The description's phrasing about 'a stock' does implicitly map to the symbol parameter, but it adds no format, constraints, or semantics.

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 names a specific verb and resource ('Analyze whether a stock has turned from loss to profit in recent quarters') and makes the analytical question concrete. It is clear and unambiguous about the single-stock scope, but it never explicitly distinguishes itself from the overlapping sibling screen_profit_turnaround_stocks, which shares the same profit-turnaround theme.

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?

There is no guidance on when to use this tool versus alternatives — no mention of screen_profit_turnaround_stocks for screening a universe, or get_financial_data for raw metrics. The use case (analyzing a single stock's profitability trajectory) is only weakly implied by the phrasing and the single symbol parameter; the agent must infer the boundary between this tool and the similarly named sibling.

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

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/makiichikawa/stock-mcp-server'

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