Skip to main content
Glama

Market data: earnings calendar and history

stock_earnings

Retrieve a single ticker's earnings calendar and history, cross-checking next and last earnings dates plus analyst EPS estimates across multiple market data providers.

Instructions

Earnings calendar and history for one ticker.

Finviz owns the detailed tables (reported quarters, estimate revisions, fundamental series, post-earnings reactions); TradingView's scanner confirms the next/last earnings timestamp from its own calendar. Yahoo supplies the next scheduled date on its own feed. The dates are reported; Finviz's last reported quarter never becomes next_earnings_date.

Args: symbol: Ticker.

When TAPEBASIS_EQUIBLES_API_KEY is configured, Equibles's analyst estimates are asked too. An EPS estimate value enters comparisons only when metric, period, statistic, unit, basis and dimensions match exactly; otherwise the candidate is listed in declined_comparisons with a reason instead of being called an agreement or a conflict. Without a key no request is made and Equibles stays outside the provider scope entirely.

Returns: Envelope with data.next_earnings_date, the Finviz tables, a date_comparison block and eps_estimate_analyst_counts (the single-source Equibles EPS-estimate contributor counts, keyed by that provider's period label, null when the provider supplies no count).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>"
    },
    "name": "stock_earnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses multi-provider sourcing, the precedence rule that Finviz's last reported quarter never becomes next_earnings_date, that no Equibles request is made without the API key, and that unmatched estimates land in declined_comparisons rather than being reported as agreement or conflict. It omits failure/degradation behavior when a provider is unavailable and any latency or rate-limit expectations.

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

Conciseness3/5

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

The lead sentence is well front-loaded, but the body spends substantial space on provider archaeology (who owns which table and which feed confirms what) that is only partly actionable, plus a long Returns section that overlaps the existing output schema. The genuinely load-bearing content — date precedence and the API-key gate — is buried mid-paragraph.

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?

This is a moderately complex multi-provider aggregation, and the description covers scope, provider precedence, and the key-gated Equibles path. Because an output schema exists, the extended field-by-field Returns paragraph is largely redundant, while practical gaps remain: no guidance on partial provider failure, and no symbol formatting detail.

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?

There is a single parameter and schema coverage is 0%, with the schema only repeating the title 'Symbol'. The description's 'symbol: Ticker.' adds a little meaning but no exchange-qualification, casing, or symbol-format guidance, so it does not fully compensate for the coverage gap.

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 opening line, 'Earnings calendar and history for one ticker,' names the resource and the scope precisely, and the body makes clear it aggregates earnings dates and reported quarters rather than prices or estimates. It does not explicitly contrast itself with nearest siblings like stock_analyst_estimates or stock_fundamentals, so an agent must infer the boundary from topic alone.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent can infer this is the tool for one ticker's next/last earnings date plus reported-quarter history. The provider discussion (Finviz tables, TradingView confirmation, Yahoo next date, optional Equibles estimates) explains composition but never says when to prefer this over stock_analyst_estimates or stock_fundamentals, and no exclusions are given.

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