Skip to main content
Glama
Signal8 MCP Server

Signal8 MCP Server

Official

Get Policy-Trade Overlap

get_policy_trade_overlap
Read-only

Lists a politician's trades occurring within a set window before or after an executive order signing in the affected sector, with timing, match basis, and summary details.

Instructions

For a single politician, list trades that occurred within a window of days before or after the signing of an executive order affecting the traded sector. Each row contains the trade, the nearestEvent, daysDelta (negative = traded N days before EO signing, positive = traded N days after), matchBasis, and matchCount, plus a summary (totalFlags, totalEstimatedUsd, topSector). Defaults to trades 1-14 days before signing; same-day trades are always excluded (intraday ordering is unknowable). Executive-branch (exec-) slugs return real data here: both congressional and executive trade sources feed the overlap computation. Matches are sector-level co-occurrence: the official traded a stock in a sector the executive order affects, within a window of its signing date. Sector matches are broad and many trades coincide with policy activity by chance; a match is a starting point for research, not evidence of foreknowledge. The matchBasis field describes match strength only ('sector' = broad sector match), not culpability, and matchCount is how many EOs matched in the window (a noise indicator).

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": {
      "slug": "<slug>"
    },
    "name": "get_policy_trade_overlap"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesPolitician URL slug: congressional ("sen-nancy-pelosi", "rep-...") or executive branch ("exec-...")
limitNoMaximum results to return (default: 50, max: 100)
offsetNoPagination offset (default: 0)
windowNoMatch window in days around the EO signing date (default: 14, max: 30)
directionNoWhich side of the signing date to include: 'before' (default), 'after', or 'both'

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.20.0
    • changedInput schema / properties / slug / description
      Previous value: -"Politician URL slug — congressional (\"sen-nancy-pelosi\", \"rep-...\") or executive branch (\"exec-...\")"New value: +"Politician URL slug: congressional (\"sen-nancy-pelosi\", \"rep-...\") or executive branch (\"exec-...\")"
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare a safe read (readOnlyHint=true, destructiveHint=false, openWorldHint=false), and the description still adds substantial behavioral context: same-day trades are always excluded because intraday ordering is unknowable, both congressional and executive trade sources feed the computation, and matchBasis/matchCount are explicitly framed as match-strength and noise indicators rather than culpability signals.

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?

The core purpose is front-loaded and each sentence carries distinct information (row contents, defaults, exec-slug behavior, interpretation caveats). It is on the long side and the alternating explanation of daysDelta signs and matchBasis/matchCount could be tightened, but no sentence is filler.

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?

An output schema exists, yet the description still orients the agent to the row shape (trade, nearestEvent, daysDelta, matchBasis, matchCount, summary) and, more importantly, to the interpretive limits of those fields. For a joined/derived analytical tool, that interpretive framing is the missing piece most definitions omit, and it is present here.

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?

With 100% schema description coverage, the schema already documents slug, limit, offset, window, and direction, including defaults and bounds. The description restates the default (1-14 days before) and the window/direction intent, but adds little parameter meaning beyond what the schema provides; the genuinely new information (same-day exclusion) is behavioral rather than parametric.

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 first sentence states a specific verb and resource ('list trades') plus the exact scope: one politician, trades within a day-window of an executive-order signing affecting the traded sector. This is clearly distinct from siblings such as get_politician_recent_trades or get_policy_trade_leaderboard, which lack the EO-overlap join.

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 gives real usage context: default behavior ('trades 1-14 days before signing'), the exclusion rule for same-day trades, the note that exec- slugs return real data, and a caution that matches are 'a starting point for research, not evidence of foreknowledge.' It does not, however, explicitly name an alternative tool to use for plain trade listings or explain when to prefer a leaderboard view.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools