Skip to main content
Glama

Show a bill card

show_bill
Read-only

Show one bill as an interactive card. Call it whenever your answer is about a bill, after the data read. view picks the card: overview (default): status, sponsors, progress, latest floor vote. text: text versions as a timeline, the held one marked. No diff; get_text reads the held text. companies: companies whose lobbying names the bill, by SEC industry, with its lobbyists. sponsors: LD-203 money to each sponsor; contributions="bill" (default, federal) is from this bill's lobbyists and clients, "all" every LD-203 naming them. Not FEC. dossier: stage, sponsors, and per graph relation a total with the first pointers, never text.

Name the bill with resource_uri or jurisdiction_slug plus bill_number (newest session unless session_slug pins one).

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

Input Schema

NameRequiredDescriptionDefault
viewNooverview
bill_numberNoBill number as issued, e.g. SB53, HR1 or S. 1582.
resource_uriNoThe bill's amendment://bills/... resource, as a tool returned it.
session_slugNoSession slug, or a federal Congress (119); omit for the newest.
contributionsNoview="sponsors" only: "bill" counts this bill's lobbying, "all" every LD-203 naming each sponsor.bill
jurisdiction_slugNoJurisdiction slug, enum name or state code, with bill_number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: per-view payload contents, the source caveat "Not FEC" for sponsor money, that contributions default to federal/bill-scoped lobbyists and clients, and that dossier "never" includes text. It still doesn't cover limits, failure modes, or how identifiers resolve when both forms are absent.

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 the purpose and the call trigger, then a compact one-line-per-view block where each line contributes distinct information. Some lines are telegraphic fragments ("Never text."), which costs a little readability but not substance.

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 six-parameter, multi-view read tool with no output schema, the description covers what each view returns, which parameters identify the bill, and the data-scope caveats a caller needs. Gaps remain around error behavior and whether views are mutually exclusive beyond the fact that view selects the card.

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?

Schema coverage is 83%, and the enum values for view carry no per-value descriptions in the schema — the description supplies that meaning for all five modes, plus the distinction between contributions="bill" and "all" and the rule that resource_uri alone or jurisdiction_slug+bill_number is required. Session defaulting is partly restated from the schema rather than extended.

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 ("Show one bill as an interactive card") and then enumerates the five view modes with what each one renders, so an agent knows exactly what it gets. It also explicitly distinguishes itself from a sibling: "No diff; get_text reads the held text."

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 a concrete trigger — "Call it whenever your answer is about a bill, after the data read" — including the sequencing relative to data-read tools. It also routes the differential-text case to get_text rather than leaving the agent to infer it.

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