Skip to main content
Glama
Financial Modeling Prep MCP Server

Financial Modeling Prep MCP Server

getSenatePositions

Read-onlyIdempotent

Retrieve and filter positions held by members of Congress by member ID, party, or position to analyze congressional roles and affiliations.

Instructions

List the positions held by members of Congress with the FMP Senate Positions API. Filter by member ID, party or position.

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": "getSenatePositions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoLimit the number of results
partyNoFilter by party (e.g., Republican, Democrat)
positionNoFilter by position (e.g., Senator, Representative)
senateIDNoFilter by congress member ID (e.g., P000197)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.9.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv2.8.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety and idempotency profile is covered. The description adds nothing behavioral beyond that — no note on result volume, pagination/default limits, or what happens with omitted filters — so it does little work the annotations have not already done.

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?

Two short sentences, front-loaded with the action and resource, with no filler. The 'with the FMP Senate Positions API' clause is mild branding rather than actionable information, keeping it just short of a 5.

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 simple, fully annotated read tool with 100% schema coverage and no output schema, the essentials are present. But the ambiguity of 'positions' and the absence of any behavior for unfiltered calls leave an agent guessing about the returned data, so it is only adequate.

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%, so all four parameters including limit are already documented in the schema; the baseline is therefore 3. The description restates the party, position, and member-ID filters without adding formats, accepted values, or interaction rules, and it omits limit entirely.

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 gives a specific verb and resource ('List the positions held by members of Congress') and names the data source, which is clearer than a tautology. However, 'positions' is left ambiguous (committee seats? party roles? congressional seats?) and no sibling among the many senate/house tools is named for contrast.

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

Usage Guidelines3/5

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

The enumeration of filter dimensions ('Filter by member ID, party or position') implies how the tool is typically used, so usage is implied rather than stated. There is no explicit guidance on when to pick this over getSenateProfile, getSenateTradesById, or getPositionsSummary, despite a large sibling set.

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