Skip to main content
Glama

Get Politician Sentiment

get_politician_sentiment
Read-onlyIdempotent

Get aggregated politician trading sentiment by ticker, broken down by party (Democrat/Republican).

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results per page (1–50, default 25)
partyNoFilter by political party
cursorNoPagination cursor (offset)
max_traded_dateNoMaximum traded date (YYYY-MM-DD)
min_traded_dateNoMinimum traded date (YYYY-MM-DD)
max_reported_dateNoMaximum reported date (YYYY-MM-DD)
min_reported_dateNoMinimum reported date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds that output is aggregated and party-split, which is genuinely useful context beyond annotations, but says nothing about pagination, result ordering, or what the sentiment value represents numerically.

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?

One front-loaded sentence with no filler. It could have used the remaining space to explain the sentiment metric or when to use it, but nothing present is wasteful.

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?

With no output schema, the description should clarify the shape of the aggregated result (per-ticker, per-party sentiment values and their units). It only hints at the grouping, leaving the agent unsure what a response actually contains; the absent ticker parameter compounds this.

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%, so all seven parameters (limit, cursor, date bounds, party enum) are already documented and the baseline is 3. The description adds no parameter guidance and actually references a 'ticker' dimension that has no corresponding parameter in the schema, which mildly undermines trust.

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?

States a specific verb and resource ('aggregated politician trading sentiment'), plus the aggregation dimension (by ticker) and breakdown (party). This clearly separates it from trade-level siblings like get_politician_trades, though it does not name them explicitly.

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

Usage Guidelines2/5

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

No indication of when to prefer this over get_politician_trades, get_politician_portfolio_holdings, or get_congress_ranking. The agent must infer that this is the summary/aggregate variant from the word 'aggregated' alone.

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