Skip to main content
Glama

Get every text diff for a bill

get_bill_text_history
Read-only

Timeline of all computed diffs between successive text versions of one bill (GET /v1/bills/{bill_id}/changes): what changed, when, and how much. Use get_bill_diff for one specific pair of versions. Get bill_id from search_bills or semantic_search_bills.

Input Schema

NameRequiredDescriptionDefault
bill_idYesbill_id from a search result.
include_whitespaceNoInclude whitespace-only changes (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/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 real context about the shape of the result (a chronological series of diffs with magnitude), but says nothing about result volume or pagination for what is described as 'all' diffs on a bill.

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?

Two sentences, zero filler. The primary purpose and endpoint come first, then the disambiguation and prerequisite, in exactly the order an agent needs them.

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?

No output schema exists, and the description compensates by summarizing what each diff entry contains. For a small two-parameter read tool this is nearly complete; the only gap is any hint about result size ordering for a bill with many versions.

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 100%, so the schema already documents both parameters including the include_whitespace default. The description still adds value by naming the concrete tools that produce a valid bill_id, which is more actionable than the schema's generic 'bill_id from a search result'.

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 resource (the timeline of all computed diffs between successive text versions of one bill) plus the underlying endpoint, and clarifies what each entry conveys: what changed, when, and how much. It is clearly distinguishable from get_bill_diff and from get_bill_text, so an agent can pick it without opening any 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?

Explicitly routes the agent: use get_bill_diff for one specific pair of versions, use this for the full succession of diffs. It also removes the main prerequisite blocker by naming search_bills and semantic_search_bills as the source of bill_id.

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