Skip to main content
Glama

Edgrapi — US Government Data API

Get congressional stock trades (House STOCK Act)

get_congress
Read-onlyIdempotent

Congressional stock trades parsed from US House STOCK Act periodic transaction reports, normalized to flat JSON: member, state/district, ticker, buy or sell, the disclosed dollar range, transaction and disclosure dates, and a House disclosure PDF link. Pass a ticker for one stock, or omit it for the recent feed. House-only for now (Senate coming); amounts are ranges and disclosure lags the trade by up to 45 days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoTrades to return, 1-100 (default 40).
actionNoFilter the feed to 'buy' or 'sell'.
tickerNoStock ticker for one-stock history, e.g. 'NVDA'. Omit for the recent feed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, covering safety. The description adds behavioral context beyond annotations: it specifies the output format (flat JSON fields), notes that amounts are ranges and disclosure lags by up to 45 days, and clarifies House-only scope. This enriches the agent's understanding without contradicting annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences with no redundancy: the first defines the data and output, the second gives usage, and the third adds critical caveats. Key information is front-loaded (what it returns) and the entire text is compact and purposeful. Every sentence earns its place.

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?

With no output schema, the description must convey the return structure, which it does by enumerating fields (member, state/district, ticker, buy/sell, dollar range, dates, PDF link). It also explains how to filter, the data source, and limitations (House-only, range amounts, disclosure lag). This is complete for an agent to call it correctly and interpret results, given the simple read-only nature and annotations covering safety.

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% for all three parameters (limit, action, ticker), so the schema already defines them. The description repeats the ticker usage ('Pass a ticker for one stock, or omit it for the recent feed') which is already in the schema, adding no new semantic depth. It does not elaborate on limit or action beyond the schema. Baseline of 3 is appropriate given high coverage and minimal additional meaning.

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?

The description clearly states the tool's purpose: retrieving congressional stock trades from US House STOCK Act reports, normalized to flat JSON with a specific list of fields. It distinguishes itself from sibling tools by focusing on congressional trades (not corporate holdings or filings), and the title reinforces this. The verb 'get' and resource are unambiguous.

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 description provides clear usage instructions: 'Pass a ticker for one stock, or omit it for the recent feed.' It also discloses scope limitations ('House-only for now (Senate coming)') and data caveats (amounts are ranges, disclosure lag). While it doesn't explicitly name alternatives, the domain is unique among siblings, so context is sufficient. A minor gap is not stating when to prefer this over, say, get_holdings, but the distinction is implicit.

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