Skip to main content
Glama

get_analyst_rating_actions

Read-only

One company's analyst rating actions — upgrades, downgrades and maintains, firm by firm — newest first. The direct read for "who downgraded X", "recent analyst actions on X".

FLOW: get_analyst_rating_summary for where each firm stands now and the consensus;
get_analyst_estimates for the numbers behind the ratings.

Returns {"symbol", "count", "rows", "note"}, newest first. A row is {date,
rating_company, prev_rating, new_rating, action, news_title, publisher, news_url}.
- action is "upgrade", "downgrade" or "maintain".
- Ratings are in each firm's own words (Overweight, Buy, Outperform...): do not map them
  onto one scale without saying so.
- news_* are null for most actions: only each firm's latest sourced article is on file.

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_rating_actions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoActions to return (1-200, default 25).
symbolYesTicker, e.g. "CSCO".

Output Schema

NameRequiredDescriptionDefault
noteNoSet only when no rows came back: what an empty result can mean.
rowsYesNewest first.
countYesActions returned.
symbolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds error semantics (unknown symbol returns no rows and sets `note`, 422 = bad symbol/limit, 401 = expired sign-in), auth requirements and a 100/min rate limit. The one real gap is pagination/truncation behavior for a 'newest first' list with a limit.

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?

Purpose is front-loaded, then FLOW, then returns, then error behavior – a readable progression with no filler. It runs long for a two-parameter tool, but nearly every sentence carries operational value.

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 scope, alternatives, row-level return shape, null semantics for news_*, rating-format caveat, error codes, auth and quota. Even though an output schema exists, the field-level caveats (ratings not on one scale, news_* usually null) supply what the schema alone would not.

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%, with both `symbol` (pattern, example) and `limit` (1-200, default 25) fully documented in the schema. The description only mentions limit in the 422 context, so the schema does the heavy lifting – baseline 3.

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?

Specific verb+resource with explicit scope ('One company's analyst rating actions — upgrades, downgrades and maintains, firm by firm — newest first') and it directly names the sibling it is not, get_analyst_rating_summary. The quoted user intents ('who downgraded X') make selection unambiguous.

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?

The FLOW block explicitly routes: summary for where each firm stands now and the consensus, estimates for the numbers behind the ratings. It states both when to use this tool and which alternatives cover the adjacent needs.

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