Skip to main content
Glama

Congress Trade Alerts

Party Breakdown

get_party_breakdown

Get counts of the trades in CTA's records broken down by party (D/R/I), with optional date filter.

Input Schema

NameRequiredDescriptionDefault
daysNoLook-back window in days, measured on trade date. Disclosures can arrive up to 45 days after the trade (later if filed late), so the newest part of any window is incomplete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. "Get" implies a read, but nothing is said about whether counts are of trades or distinct filers, whether a total is included, or how the data-refresh lag affects the numbers — the lag caveat lives only in the schema.

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?

A single front-loaded sentence with no filler. It is efficient, though the brevity is also the source of the missing usage and behavioral detail.

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?

For a one-optional-parameter aggregation tool with no output schema, the definition should sketch the return shape (per-party counts, presence of a total) and the default window. It gestures at the output with "counts" but leaves the agent guessing on both points.

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 description coverage is 100%, and the days parameter is documented with range limits and an explicit note that recent windows are incomplete. The description adds only "optional date filter," which restates rather than extends the schema, so baseline 3 applies.

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 ("get counts of the trades") plus the exact breakdown dimension ("by party (D/R/I)"), which cleanly separates it from get_chamber_breakdown and get_aggregate_stats by implication. It stops short of naming those siblings explicitly, so it lands just below the top mark.

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?

The only usage signal is "with optional date filter," which implies an all-time default when days is omitted. There is no statement of when to prefer this over get_chamber_breakdown or get_aggregate_stats, and no prerequisites or exclusions.

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