Skip to main content
Glama

Bill Text Slice

politics_bill_text
Read-onlyIdempotent

One signed, bounded slice of a bill's full legislative text, addressed by part number or section label. Each response carries part and total_parts, next_part, the slice's part_sha256, and the whole-bill content_hash. Parts 1 through total_parts concatenated in order hash to content_hash, so a bill too large to return in a single response remains verifiable as complete and unaltered.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
partNo1-based part number. Response tells you total_parts and next_part.
bill_idYesBill ID (e.g. hr7148-119)
sectionNoJump to a section by label instead of part, e.g. "2", "SEC. 2", or "preamble". Overrides part.
max_charsNoMax characters per part (2000–60000). Larger = fewer parts but bigger responses.

TDQS

A4.3/5.0
Behavior5/5

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

The description discloses significant behavioral detail beyond the annotations: it specifies the response includes part, total_parts, next_part, part_sha256, and a whole-bill content_hash, and explains the verification scheme (concatenating parts hashes to content_hash). This adds context about pagination and data integrity that annotations do not cover.

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?

The description is three sentences, front-loaded with the core purpose, and every sentence carries essential information (purpose, response structure, verification method). There is no fluff or repetition.

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?

With no output schema, the description must explain return values, and it does: it describes the response fields (part, total_parts, next_part, hashes) and the concatenation rule for verification. It also addresses the pagination use case and constraints (bounded slices, max_chars indirectly), making the tool's behavior clear for an agent.

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 100%, and the description largely reinforces the schema (e.g., 'addressed by part number or section label' mirrors the section and part parameters). It does not add meaningful new semantics about formats or defaults beyond what the schema already provides, though it does tie the part parameter to the response's total_parts and next_part.

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?

The description opens with 'One signed, bounded slice of a bill's full legislative text, addressed by part number or section label,' which clearly specifies the tool's function and distinguishes it from siblings like politics_bill_toc. The verb 'slice' and resource 'bill's full legislative text' make the purpose unambiguous.

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

Usage Guidelines3/5

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

The description implies usage for bills too large to return in a single response ('a bill too large to return in a single response remains verifiable as complete and unaltered'), but it never explicitly names alternatives like politics_bill or politics_bill_toc, nor does it state when not to use this tool. This is implied guidance rather than explicit direction.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose covering different aspects of political data: bills (search, details, text slices, TOC), officials (details, search, by state, representation), bridge pages (create, compare, session, letter), and specialized queries (speeches, votes, positions, provenance). No two tools overlap in functionality.

Naming Consistency5/5

All tools follow a consistent 'politics_<descriptive_name>' pattern using snake_case. Verbs and nouns are combined logically (e.g., 'politics_bills_search', 'politics_candidate_feed'), with no mixing of conventions.

Tool Count4/5

At 25 tools, the set is comprehensive for a political data API but slightly on the high side. However, each tool covers a specific niche (bills, officials, bridge pages, etc.), and the count is justified by the breadth of the domain. It remains manageable and well-scoped.

Completeness4/5

The tool surface covers major data types (bills, officials, candidates, speeches, votes, positions) and interaction workflows (bridge pages, watchlists). Minor gaps exist, such as missing a direct 'politician by name and state' endpoint, but the search and filtering tools compensate. Overall, the set is thorough.