Skip to main content
Glama

Read a bill or law's text

get_text
Read-only

Read the text of a bill or a law unit; a bill also lists its versions with dates and source urls. Read the bill's law_references (get_item, response_format="full" for up to 50) before paging text to learn what it amends.

The platform holds one version of a bill's text, but records which only when the bill has a single version with a source page: held_version is null otherwise, and the note says the version is unknown. Never name a version the note does not. Bill text is held for federal bills only. Pass next_start back as start to page on, or find to start at the first match of a phrase.

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": {
      "uri": "<uri>"
    },
    "name": "get_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
uriYesA amendment://bills/... or amendment://domain/... resource.
findNoStart at the first match of this phrase at or after start, case-insensitive.
startNoCharacter offset to read from; next_start from the last call.
max_charsNoCharacters to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover read-only/non-destructive/closed-world, yet the description adds substantial behavior: only one version of a bill's text is held, held_version is null unless the bill has a single version with a source page, the note reports the version as unknown, and the agent must 'Never name a version the note does not.' That is exactly the kind of data-availability and honesty constraint annotations cannot express.

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 core action, then paging/version caveats, then cursoring mechanics — a logical order with no filler sentences. It is dense to the point of being slightly run-on (the version paragraph packs three conditions into one sentence), but every clause carries operational information.

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 4-parameter read tool with no output schema, it covers what is returned (text plus version list with dates and urls), how to continue (next_start), how to jump (find), and when data will be missing (non-federal bills, unknown version). Minor gaps remain around the shape of the returned text payload and what next_start=null implies at end of document.

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 parameter meaning is already largely carried by the schema; the description still adds inter-parameter semantics by tying next_start to start paging and explaining that find positions the read at the first phrase match at or after start. It does not restate max_chars or offset units, leaving those to the schema.

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?

Opens with a concrete verb+resource ('Read the text of a bill or a law unit') and immediately clarifies a secondary output ('a bill also lists its versions with dates and source urls'). It also distinguishes itself from the sibling get_item, which is cast as the metadata/reference lookup that precedes text paging, so an agent can separate the two without reading either schema.

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?

Gives an explicit prerequisite workflow ('Read the bill's law_references ... before paging text to learn what it amends') plus concrete paging/find instructions ('Pass next_start back as start to page on, or find to start at the first match of a phrase'). It also states a real usage boundary ('Bill text is held for federal bills only'), though it does not name alternatives such as show_bill/show_law or search for non-federal text needs.

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