Skip to main content
Glama

predict_earnings

Predict whether a company will beat or miss earnings estimates by analyzing EPS trends, analyst consensus, FII shareholding, and stock momentum. Returns beat probability and key risks.

Instructions

AI earnings preview before quarterly results.

Combines 4 signals to estimate beat/miss probability:

  • Last 4 quarters EPS trend (improving / declining / mixed)

  • Analyst consensus recommendation + target price upside

  • FII QoQ shareholding change (building before results = positive)

  • Stock alpha vs Nifty last 30 days (momentum into results)

Returns:

  • beat_probability_pct: e.g. 72

  • signal: BEAT LIKELY / SLIGHT BEAT / IN-LINE OR MISS / MISS LIKELY

  • key_risks: list of red flags

  • what_to_watch: what to monitor on results day

  • next_earnings_date: from yFinance calendar

Viral use: post prediction before TCS/Infy results. Screenshot if correct.

Args: symbol: NSE symbol (e.g. TCS, INFY, HDFCBANK, RELIANCE)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations exist, so the description carries full burden. It discloses the four signals used, the outputs (beat_probability_pct, signal, key_risks, etc.), and the data source (yFinance). Missing limitations or reliability notes, but overall transparent.

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 logically structured (purpose, signals, returns, viral use, args) and mostly concise. The 'viral use' section adds length but is not essential, slightly reducing conciseness.

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?

Given the tool's complexity (predictive model with 4 signals) and an output schema that details returns, the description adequately covers purpose, inputs, and outputs. It lacks explanation of the model's reliability or calculation method, but remains fairly complete.

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?

The input schema has only one parameter 'symbol' with 0% description coverage. The description compensates by stating 'NSE symbol' and providing examples (TCS, INFY, etc.), adding meaning beyond the schema.

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 predicts earnings outcomes before quarterly results using a specific verb ('predict') and resource ('earnings'). It distinguishes itself from sibling tools like 'earnings_calendar' and 'nse_quarterly_results' by being a predictive AI model, not just data retrieval.

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

Usage Guidelines4/5

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

The description provides explicit usage context (e.g., 'Viral use: post prediction before TCS/Infy results') and explains it combines 4 signals, implying when it is useful. However, it does not explicitly state when not to use it or compare it to alternative tools like 'earnings_calendar'.

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/finstacklabs/finstack-mcp'

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