Skip to main content
Glama

Get every text diff for a bill

get_bill_text_history

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

TableJSON 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.2/5.0
Behavior3/5

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

No annotations are provided, so the description must carry behavioral context. It explains what the timeline contains (what changed, when, and how much) and notes the include_whitespace behavior only implicitly via the schema. It does not mention pagination, response size limits, or whether this is a read-only operation, but the GET semantics and schema are reasonably self-explanatory.

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 compact sentences, each earning its place: the first defines the resource and endpoint, the second routes to a sibling, the third gives provenance for the required parameter. No filler.

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 simple two-parameter read tool with full schema coverage, the description is largely sufficient. It could add a note about the response shape or pagination, but no output schema exists and the GET semantics plus sibling routing make the tool usable as documented.

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 the description does not need to repeat parameter definitions. The description adds helpful context that bill_id comes from search tools, and the title implies include_whitespace pertains to diff computation. This meets the baseline for full schema coverage.

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 ('get'), resource ('bill text history'), and scope ('all computed diffs between successive text versions of one bill'). It also distinguishes itself from get_bill_diff by noting it covers the full timeline rather than one specific pair.

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 names get_bill_diff as the alternative for one specific pair of versions, and tells the agent where to obtain bill_id (search_bills or semantic_search_bills). This is clear routing guidance among siblings.

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