Skip to main content
Glama

Trace a law or bill history

get_history
Read-only

List what changed one unit of law and when: the source note's events (added, amended, repealed, with date and measure) and the bills, public laws and law units (a constitutional amendment) that enact, amend, supersede or repeal it. A supersedes edge carries the acting unit's enactment date. via_public_law marks a bill that amends it through a public law. Name the unit as resolve_citation does. An empty changed_by does not prove nothing changed it. On a CFR section it also lists the Federal Register rules the section's source note cites, newest first, one entry per edge with its pinpoint; rules_total counts them and after=rules_next_after reads older ones. enactment_date_means says whether enactment_date is an adoption date or only the earliest cite of the current text.

A bill's amendment://bills/... uri returns its recorded actions with date and body instead; empty events do not prove nothing happened.

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_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
uriYesA citation key, amendment://domain/... resource or printed citation (26 U.S.C. 401), or a amendment://bills/... resource.
afterNoCFR sections only: skip this many of the newest Federal Register rules. Pass rules_next_after from the last result to read older ones.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare it as a safe, closed read; the description adds substantial behavior beyond that: supersedes edges carry the acting unit's enactment date, via_public_law marks public-law-mediated amendments, CFR results are newest-first, one entry per edge with pinpoint, rules_total counts them, after=rules_next_after pages older ones, and enactment_date_means disambiguates adoption date vs earliest cite. These are exactly the semantics an agent needs and cannot get from the schema or annotations.

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?

Purpose is front-loaded in the first clause, and nearly every sentence carries operative detail (edge semantics, pagination, caveats). It is dense and jargon-heavy with long compound sentences and a detached trailing note on bills, which slightly hurts scanability but no sentence is filler.

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?

For a two-parameter, no-output-schema tool, the description fully covers result shape and semantics (events, edges, enactment dates, CFR rule pagination) plus the critical caveat about empty results. Nothing an agent needs to invoke it or interpret its output is missing.

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 baseline is 3; the description goes further by tying `after` to the returned rules_next_after/rules_total fields and explaining what the uri forms resolve to (citation key, amendment://domain resource, printed citation, bill resource). It stops short of detailing uri format errors or the meaning of a null enactment_date.

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: lists what changed one unit of law and when, breaking the result into source-note events (added, amended, repealed with date and measure) and enacting/amending/superseding units. It adds a clearly scoped branch for bills (amendment://bills/... returns recorded actions) and for CFR sections (Federal Register rules), so an agent can tell exactly what it will get.

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 clear operating context: name the unit the way resolve_citation does, and note that a bill amendment://bills/... uri takes a different path returning actions rather than events. It also warns that an empty changed_by does not prove nothing changed, which prevents a common misread. It stops short of explicit when-not-to-use or naming a specific sibling to prefer for historical context (e.g. show_bill/show_law).

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