Skip to main content
Glama

Get a company's lobbying spend

get_lobbying_spend
Read-only

Report federal lobbying spend from Senate LDA LD-2 reports, for 1 to 10 public companies by ticker, SEC CIK or full company name. Use it for "how much does X spend", "who lobbies for X", "which issues does X lobby on" and "which issues do X and Y share". Not for state lobbying or for which bills a company lobbied (neighbors on the company with LOBBIES_ON).

years takes filing years; omit it for the newest year held and the two before. Each company gets one block: linked LDA clients, one row per year (in-house expenses and outside income apart, plus estimated_total) and the top 3 issue codes. With two or more companies, overlap lists the issue codes at least two share. An outside lobbying firm reports the income it received from the company; the company, when it lobbies for itself, reports its own expenses. The two are never added together. The estimated total follows the OpenSecrets convention, per quarter across all of the company's linked LDA clients: when the company reported in-house expenses for the quarter, those expenses are the total, taken to include what it paid outside firms, and the firms' income is not added; otherwise the total is the outside firms' income. The same per-quarter rule runs within each issue on its own, so the issue amounts can add up to more than the estimated total. Each report's money is split evenly across its issue codes, so issue amounts are estimates, and issues rank by report count. estimated_total is that total; the firms' income it leaves out is outside_income_not_added. LDA rounds reported amounts and allows no amount under $5,000, so totals are estimates. The newest year can be partial. To read a company's reports, pass its ticker as the company filter of list_items on lobbying_filings.

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

Input Schema

NameRequiredDescriptionDefault
yearsNoFiling years, at most 10; omit for the newest held and the two before.
companiesYesOne to 10 companies (amendment://companies/ URI, uuid, ticker, CIK, or a full name matching exactly one company).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, closed-world profile, and the description adds substantial behavior beyond them: the OpenSecrets per-quarter aggregation convention, the rule that outside-firm income and in-house expenses are never summed, even splitting of report money across issue codes, issue ranking by report count, and that the newest year may be partial. The main omission is result shape/pagination, but most of this paragraph is exactly the kind of non-obvious computation an agent cannot get from annotations.

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?

Front-loaded with purpose, then usage, then parameters, then output semantics and caveats, then a next-step pointer - a sensible ordering with little pure waste. It is dense and contains long run-on sentences (the estimated_total paragraph especially) that could be split into bullets, but nearly every clause carries information an agent would otherwise have to guess.

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?

There is no output schema, so the description must carry the return semantics itself, and it does: per-company blocks, per-year rows split into in-house expenses, outside income and estimated_total, top-3 issue codes, an overlap list, and a named field for excluded firm income. Rounding and $5,000-threshold caveats and the partial-year warning round out what an agent needs to interpret results correctly.

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%, so both parameters are already documented, and the description's restatement of "filing years" and the default behavior largely duplicates the schema's own text. It adds only marginal meaning, such as clarifying that years are filing years and that each company produces its own block, so the baseline of 3 is appropriate.

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?

States a specific verb and resource ("Report federal lobbying spend from Senate LDA LD-2 reports") plus the accepted scope of 1-10 companies by ticker, CIK or name. It immediately distinguishes itself from nearby tools by ruling out state lobbying and bill-level queries, so an agent can pick it without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit triggering questions ("how much does X spend", "who lobbies for X", "which issues do X and Y share") and explicit exclusions ("Not for state lobbying or for which bills a company lobbied"). It also names concrete routes to the excluded cases - LOBBIES_ON neighbors for bills and list_items on lobbying_filings for reports - so alternatives are actionable rather than vague.

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