Skip to main content
Glama

Show a lobbying leaderboard card

show_lobbying_rank
Read-only

Show the top federal lobbying spenders as a ranked chart; the user can switch ranking, year and issue code. Call it whenever your answer ranks lobbying spend. It takes rank_lobbying_spend's arguments except quarter.

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

Input Schema

NameRequiredDescriptionDefault
byYesclient: who lobbying is for. registrant: who filed. issue: LDA issue codes.
limitNo
yearsNoFiling years, at most 10; omit for the newest held and the two before.
issue_codeNoLDA issue area code (TAX, HCR, DEF).
companies_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / companies_only
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, destructiveHint false, openWorldHint false), so the description's job is to add context, and it does: it discloses that the output is a rendered chart card and that the user can interactively switch ranking, year and issue code. It stops short of saying what the tool returns to the agent (a card reference? rendered markup?), which would matter for follow-up calls.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short clauses, front-loaded with the resource and output form, then the trigger, then the argument inheritance. No filler and nothing repeated from the annotations or schema.

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?

With no output schema, the description should say something about what the caller receives back from a display tool, and it does not. It also omits two of five parameters. For a low-complexity, non-destructive read it is close to adequate, but the return contract is a real gap.

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 60%, so the schema already documents by, years and issue_code with enums and formats. The description reinforces the switchable dimensions (ranking, year, issue code) and adds a useful inheritance hint from rank_lobbying_spend, but leaves limit and companies_only entirely unmentioned in both places.

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 concrete verb and resource ("Show the top federal lobbying spenders as a ranked chart") and implicitly distinguishes itself from rank_lobbying_spend by noting it takes the same arguments "except quarter." The one ambiguity is that it never states outright that rank_lobbying_spend returns data while this renders a card, leaving the agent to infer the division of labor.

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?

"Call it whenever your answer ranks lobbying spend" is an explicit, actionable trigger condition. It does not state a when-not case, but the paired reference to rank_lobbying_spend's arguments points the agent at the sibling for the underlying data.

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