Skip to main content
Glama
Financial Modeling Prep MCP Server

Financial Modeling Prep MCP Server

getHouseTradesByName

Read-onlyIdempotent

Search U.S. House trading activity by Representative name to retrieve trade dates, assets, amounts, and potential conflicts of interest.

Instructions

Search for House trading activity by Representative name with the FMP House Trades by Name API. Access detailed information on trades made by specific Representatives, including trade dates, assets, amounts, and potential conflicts of interest.

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

Input Schema

NameRequiredDescriptionDefault
nameYesRepresentative name (first or last name)

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. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is covered. The description adds value by enumerating returned data (trade dates, assets, amounts), which matters because there is no output schema, but it doesn't disclose matching semantics (exact vs partial name match) or result size limits. 'Potential conflicts of interest' reads as marketing framing rather than actionable behavior.

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 sentences with the purpose front-loaded; minor waste in the redundant vendor/product name ('FMP House Trades by Name API') and the vague 'potential conflicts of interest' clause. The field enumeration in the second sentence earns its place because no output schema exists.

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 single-parameter read tool the description is serviceable, and listing return fields compensates for the absent output schema. However, ambiguity in name matching and any pagination or result-limit behavior go unmentioned, leaving an agent unsure how to handle partial or duplicate name matches.

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 100% and the schema already documents that the name may be first or last name only. The description restates the name-based lookup without adding matching rules, case sensitivity, or expected format beyond the schema, so it sits at the baseline.

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 verb (search) and resource (House trading activity) and scopes it with 'by Representative name', which implicitly separates it from getHouseTrades (all trades) and getHouseTradesById. It stops short of naming those siblings explicitly, so the differentiation is inferable rather than stated.

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?

Usage is only implied by the 'by Name' qualifier and the note that the parameter accepts a first or last name. There is no explicit statement of when to prefer this over getHouseTrades or getHouseTradesById, nor any mention of what happens when the name is ambiguous or matches multiple Representatives.

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