Skip to main content
Glama

get_analyst_estimates

Read-only

One company's quarterly analyst consensus — EPS, revenue, EBITDA and net income averages, EPS/revenue low-high, analyst counts, consensus YoY growth — for the next 4 quarters and the quarters just ended, newest period first. The direct read for "what does the street expect from X".

FLOW: get_earnings_history for the reported EPS/revenue surprise per quarter;
company_financials for the GAAP statements.

Returns {"symbol", "limit", "count", "rows", "note"}, newest period first. A row is
{symbol, period_end, period_ended, eps_avg, eps_low, eps_high, revenue_avg, revenue_low,
revenue_high, ebitda_avg, net_income_avg, num_analysts_eps, num_analysts_revenue,
eps_yoy_growth, revenue_yoy_growth, est_range_is_modeled}.

READING THE NUMBERS:
- Actual vs estimate is worked out by the agent: line an ended quarter up with
  company_financials by period_end to the NEAREST date (they can differ by a day, e.g.
  2025-10-24 vs 2025-10-25), or use get_earnings_history for EPS/revenue surprise.
- EPS here is adjusted; EDGAR EPS in company_financials is GAAP, so comparing the two
  directly misreads a beat as a miss (CSCO: 0.85 GAAP vs 1.03 consensus).
- Growth columns are consensus vs the year-ago quarter's consensus, as FRACTIONS
  (0.05 = +5%).
- eps/revenue low and high are null when est_range_is_modeled: the vendor's band there
  is synthetic.
- There is no estimate revision history: an ended quarter shows only the final
  pre-report consensus.
- A just-ended quarter can be period_ended=true before it is reported.

An unknown symbol returns no rows (never a 404): `note` is set only then. A 422 means a
bad symbol or limit. A 401 means the sign-in expired (your MCP client re-runs OAuth).
Requires auth (your MCP client attaches the OAuth bearer automatically). Rate-limited
100/min per user; counts toward plan quota.

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": "get_analyst_estimates"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoQuarters (1-20, default 8), counted back from the furthest of the next 4 quarters it reaches: 8 = the next 4 + the last 4 ended; 2 = the next 2.
symbolYesTicker, e.g. "CSCO".

Output Schema

NameRequiredDescriptionDefault
noteNoSet only when no rows came back: what an empty result can mean.
rowsYesNewest period first.
countYesRows returned, one per quarter.
limitYesQuarters requested, counted back from the furthest of the next 4 quarters.
symbolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With readOnlyHint supplied, the description still adds substantial behavior an agent cannot get from annotations: OAuth bearer requirement, 100/min rate limit with plan quota consumption, unknown-symbol-returns-empty-with-note rather than 404, 422 for bad symbol/limit, 401 for expired sign-in. It also discloses data quirks (adjusted vs GAAP EPS, null bands when est_range_is_modeled, final-only consensus for ended quarters). Slightly short of 5 only because eventual-consistency/freshness of the consensus is not described.

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?

Front-loaded with the one-line purpose and organized under clear FLOW / Returns / Reading the numbers headings, so an agent can scan it. It loses a point for re-listing the full row schema (symbol, period_end, eps_avg, ...) when an output schema already exists, which is duplicated content.

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

Completeness5/5

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

Covers the full lifecycle an agent needs: what it returns, how to join it to company_financials by nearest period_end, the GAAP-vs-adjusted trap, growth units as fractions, error-code semantics, and auth/rate-limit constraints. Nothing material is left for the agent to guess.

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% and the limit parameter is already documented in detail in the schema (1-20, default 8, counted back from the furthest of the next 4 quarters). The description adds nothing parameter-specific about symbol or limit beyond repeating the period window, so this rests at the baseline.

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?

States a specific verb and resource (one company's quarterly analyst consensus) and enumerates the exact metric families covered: EPS, revenue, EBITDA, net income averages, low/high bands, analyst counts, YoY growth. The scope is also bounded (next 4 quarters plus recently ended ones, newest first), so the agent can distinguish it from rating-summary or financials siblings without opening a schema.

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

Usage Guidelines5/5

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

Explicitly positions itself as 'the direct read for what does the street expect from X' and names the alternatives with their conditions in FLOW: get_earnings_history for the reported surprise, company_financials for GAAP statements. It also states a negative condition (no estimate revision history), which prevents a whole class of wrong calls.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources