Skip to main content
Glama

get_lobbying_filings

Read-only

Lobbying Disclosure Act LD-2 filings (lda.gov), filing year 2016 on: one row per registrant, client and period, with issues, entities contacted and lobbyists. Firms report income, in-house lobbyists expenses (never both), so sort_by=income and min_income see income filers only. Name and entity filters: case-insensitive substring. Detail: keyvex.com/docs/tools/get_lobbying_filings

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

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 50.
sinceNoYYYY-MM-DD, inclusive, on dt_posted.
untilNoYYYY-MM-DD, inclusive, on dt_posted.
sort_byNoDefault dt_posted.
min_incomeNoUSD, inclusive, on income.
sort_orderNoDefault desc.
client_nameNo
filing_yearNoReporting period's year.
filing_periodNoLD-2 is quarterly; mid_year/year_end are semiannual.
registrant_nameNo
government_entityNo
general_issue_codesNoLDA issue codes, any of (max 30): DEF defense, HCR health, TAX taxes, etc.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • removedInput schema / properties / client_name / description
      Removed value: -"Substring match against the paying client's name (case-insensitive). E.g., 'Pfizer', 'Lockheed Martin', 'STATE OF CALIFORNIA'."
    • changedInput schema / properties / filing_period / description
      Previous value: -"Reporting period within filing_year. Quarters for LD-2; mid_year/year_end for LD-203 contributions windows."New value: +"LD-2 is quarterly; mid_year/year_end are semiannual."
    • changedInput schema / properties / filing_year / description
      Previous value: -"Calendar year of the reporting period (NOT the filing date)."New value: +"Reporting period's year."
    • changedInput schema / properties / general_issue_codes / description
      Previous value: -"Array of 3-char issue codes (OR semantics). E.g., ['DEF'] for defense, ['HEA','MMM'] for health+Medicare. Max 30 codes per query."New value: +"LDA issue codes, any of (max 30): DEF defense, HCR health, TAX taxes, etc."
    • removedInput schema / properties / government_entity / description
      Removed value: -"Substring match against any government entity contacted. E.g., 'SENATE', 'Treasury', 'FDA', 'Defense, Dept of'."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum records to return. Default 50, max 500."New value: +"Default 50."
    • changedInput schema / properties / min_income / description
      Previous value: -"Filter to filings with income >= this amount (USD). Use to focus on big-dollar lobbying spend."New value: +"USD, inclusive, on income."
    • removedInput schema / properties / registrant_name / description
      Removed value: -"Substring match against the lobbying firm's name (case-insensitive). E.g., 'Akin Gump', 'Brownstein'."
    • changedInput schema / properties / since / description
      Previous value: -"ISO date (YYYY-MM-DD). Only records on or after this date, using sort_by as the date field."New value: +"YYYY-MM-DD, inclusive, on dt_posted."
    • changedInput schema / properties / sort_by / description
      Previous value: -"Field used for ordering and for since/until filters. Default: dt_posted (when the filing was submitted)."New value: +"Default dt_posted."
    • changedInput schema / properties / sort_order / description
      Previous value: -"Default: desc (most recent / largest first)."New value: +"Default desc."
    • changedInput schema / properties / until / description
      Previous value: -"ISO date (YYYY-MM-DD). Only records on or before this date."New value: +"YYYY-MM-DD, inclusive, on dt_posted."
  2. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: the source registry, the 2016-onward coverage boundary, and the income-vs-expenses reporting split that changes what result sets contain. It says nothing about pagination or default result volume, so the added value is real but partial.

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?

Roughly four dense sentences with the dataset, grain, and the incompatibility caveat front-loaded; nothing is filler. The colon-and-semicolon packing makes it slightly harder to scan than a cleanly separated list of clauses, and the trailing docs link is useful but compressed into the same block.

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?

For a 12-parameter, zero-required, filter-only query tool with no output schema, the description covers the row shape, the coverage window, and the one behavioral trap that would mislead an agent. Pagination defaults and the interaction between sort_by and sort_order are left implicit, which is a minor gap rather than a blocker.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 75% schema coverage the baseline is already 3, and the description earns more: it explains why min_income and sort_by=income silently exclude expense filers, that name/entity parameters are case-insensitive substring matches, and that filing_year effectively starts at 2016. It leaves sort_order, since/until (dt_posted) and limit behavior to the schema.

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 names the specific dataset (Lobbying Disclosure Act LD-2 filings from lda.gov), states the coverage floor (filing year 2016 on), and defines the row grain (one row per registrant, client and period) plus what each row carries (issues, entities contacted, lobbyists). That is far more than a restatement of the name and cleanly separates it from the other filing tools in the sibling list.

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?

It gives real usage context for the trickiest filters: income-based filtering (sort_by=income, min_income) only returns income filers because firms report income or in-house expenses but never both, and name/entity filters are case-insensitive substring matches. It does not state when to prefer another tool or any exclusions, so it stops short of full when/when-not guidance.

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