Skip to main content
Glama

get_analyst_rating_summary

Read-only

Where the analysts stand on one company now — the consensus rating, how many firms cover it, each firm's current rating and latest action, and a written analysis. The direct read for "what's the street's rating on X".

FLOW: get_analyst_rating_actions for each firm's action history; get_analyst_estimates
for the consensus numbers.

Returns {"symbol", "consensus_rating", "firm_count", "analysis", "firms", "note"}.
- firms is [{rating_company, rating, prev_rating, action, date}], most recently active
  first; ratings are in each firm's own words.
- firm_count covers every firm that acted in the year up to the latest action, even when
  limit cuts the list.
- analysis is {date, consensus_rating, summary} or null. It can be months old (CSCO's is
  dated 2025-11-12): report its date, never present it as current.

An unknown symbol returns empty lists (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_rating_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoFirms to list (1-100, default 25), most recently active first.
symbolYesTicker, e.g. "CSCO".

Output Schema

NameRequiredDescriptionDefault
noteNoSet only when nothing came back: what an empty result can mean.
firmsNoMost recently active first.
symbolYes
analysisNoNull when there is none. Report its date: it can be months old.
firm_countNoEvery firm that acted in the year up to the latest action, even when limit cuts `firms`.
consensus_ratingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, but the description adds substantial behavior: an unknown symbol returns empty lists rather than a 404 and sets `note` only then, 422 means bad symbol/limit, 401 means expired auth with automatic OAuth re-run, rate limit of 100/min per user, and quota impact. It also warns that `analysis` can be months old and must be reported with its date, and that firm_count can exceed the truncated firms list.

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 core purpose and the natural-language question it answers, then structured into FLOW, returns shape, field caveats, and error/auth behavior. Dense but every section carries information; the returns block is somewhat verbose given an output schema exists.

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 a read-only tool with an output schema, the description still explains field caveats the schema cannot (stale analysis date, firm_count vs limit), error semantics, and auth/quota behavior. Complete enough for correct invocation and result interpretation, with only minor redundancy in restating the return keys.

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 coverage is 100%, so baseline would be 3, and the description adds meaning by clarifying that limit truncates the `firms` list while `firm_count` still covers every firm active in the prior year, and that firms are ordered most-recently-active first. It doesn't restate the symbol pattern, but the interaction between limit and firm_count is real added semantic value.

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+resource: consensus rating, firm count, per-firm ratings/actions, and written analysis for one company. It explicitly positions itself as "the direct read for 'what's the street's rating on X'" and routes action history to get_analyst_rating_actions and consensus estimates to get_analyst_estimates, distinguishing it from named siblings.

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 FLOW section names the alternatives (get_analyst_rating_actions for per-firm action history, get_analyst_estimates for consensus numbers), which tells the agent when to prefer this tool. It does not explicitly state negatives or exclusions beyond that routing, so it is clear context but not a full when/when-not matrix.

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