Skip to main content
Glama

Groundsocial

Buys against sells

uscongresstrades_stats_buy_sell
Read-onlyIdempotent

Buys against sells over a window, by party or sector.

Buys and sells made in the last days (default 30, up to 3650), optionally for one party or sector, with the buy/sell ratio.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "uscongresstrades_stats_buy_sell"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoWindow in days, 1 to 3650. Defaults to 30.
partyNodemocrat, republican or other.
sectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the description doesn't need to re-explain safety. It adds genuinely new behavioral context: cost of 1 credit per call, automatic refund on failure, and confirmation that returned results carry cost_credits and credits_remaining. It does not describe pagination or result shaping, but as a stats endpoint that's minor.

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?

Four short, front-loaded lines: purpose first, then scope, then cost, then return fields. Every sentence carries information the agent needs and there is no filler.

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?

With no output schema, the description compensates by naming two return fields (cost_credits, credits_remaining) and stating the credit cost, which is the main non-obvious risk for an agent. Together with the annotations and three optional params, this is enough to call the tool correctly; only the concrete shape of the ratio results is left implicit.

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 67%, with days and party documented in the schema and sector carrying only an enum. The description restates the 30-day default, the 3650 ceiling, and the optional party/sector filtering, which largely duplicates schema text rather than adding syntax or interaction detail (e.g., how sector and party combine).

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?

The description names a specific computation (buy/sell ratio) over a specific resource (congressional trades) with a scoped window and optional party/sector breakdown, so an agent knows exactly what it returns. It does not explicitly differentiate itself from the closely-related siblings stats_party and stats_sectors, which is the only thing keeping it from a 5.

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 description states what filters exist but never says when to choose this tool over uscongresstrades_stats_party or uscongresstrades_stats_sectors, which overlap heavily with it. There are no exclusions, prerequisites, or alternative-selection guidance; the agent has to infer that this is the buy/sell-ratio view of the same data.

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.