Skip to main content
Glama

Statute section by citation

get_statute
Read-onlyIdempotent

Exact lookup of one statute or regulation section by citation, in a snapshot of published law. Returns the text verbatim with jurisdiction, corpus, citation, heading, path, source_url, as_of, act_status, last_amended_year and repaired. Enacted text only: not case law or annotations, no treatment or "good law" judgment, and nothing in a result means the text is current; as_of on each row is its snapshot date. Default source: 2,123,652 rows in four snapshots, never blended (state statutes from open-us-law 2026.08, as_of 2026-08-14; state statutes from Justia 2019-2021 where the newer snapshot lacks the section, with GA, NC, PR and VI Justia-only; the United States Code; and 9,888 Kansas Administrative Regulations from the 2022 bound edition). source= reaches one regulation source (cfr for federal, or a state code), each with its own note, coverage_note, defect floor, held units and citation form, never mixed with another. Superseded, not current law: source=us_hist (U.S. Code, 1994, 2000, 2006, 2012; edition= picks one), source=wa_hist (RCW ch. 9.94A, 2000), mn_hist (Minn. Stat., 1978-2019, in part); a current miss may carry a historical_editions pointer, never that text. Regulations outside the loaded sources are absent from this mirror, which says nothing about whether a rule exists. A miss is not an absence: structured_lookup_supported=false means that lookup form cannot match for the jurisdiction, and cite_normalized and cite_forms_tried report the forms tried. Row flags: ends_at_colon (text stopping where a table or list is announced; its absence does not show the text is whole), page_overlap_repeats_removed (raw=true returns the stored text unchanged), last_amended_year_older_than_text. A held unit answers kind "held" with its reasons and no text. Every response, including 400 and 404, carries "note" and "coverage_note". The describe_sources tool gives this tool’s full coverage and, per source code, its coverage, citation forms, counts and read dates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_statute"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNostatutes only: true returns the stored text unchanged, without the page-overlap repeat removal
citeNofull citation as published, e.g. "KRS § 11A.001" (2026-08-14 rows, no year), "KS Stat § 1-201 (2021)" (Justia rows), or "K.A.R. 1-1-1" (Kansas regulations, no section sign) — the reliable form for every jurisdiction
copyNosource="nj" only: which copy of a New Jersey Title 5, 6A, 7 or 13 section to read, "agency" (the agency’s own posted copy) or "lii" (Cornell LII’s copy); omit it for the default, which answers from the agency copy first and names the other in other_copy
titleNooptional title or chapter number narrowing a jurisdiction+section lookup; with source="cfr" the CFR title, required with section; for other sources the forms are given by describe_sources(tool="get_statute", source=<code>)
sourceNoomit for statutes and Kansas regulations; a regulation source code ("cfr" for federal, or a state code) reaches that source alone; "us_hist" reaches superseded United States Code text, "wa_hist" superseded Revised Code of Washington text and "mn_hist" superseded Minnesota Statutes text (not current law); each code’s coverage and citation forms are given by describe_sources(tool="get_statute", source=<code>)
editionNosource="us_hist": which superseded edition of the United States Code to read (1994, 2000, 2006 or 2012), omit it for every loaded edition, newest first; source="wa_hist": 2000 only (the one Revised Code of Washington edition loaded); source="mn_hist": 1978, 1980, 1984, 1986, 1988 or a year 1997 to 2019, but each Minnesota section is loaded at one edition only, so omit it or a different year answers a not_found naming the one loaded. A year a source does not hold is a visible error, never an empty answer
sectionNosection number as the publisher prints it, e.g. "21-6614", "11A.001", or a Kansas regulation number "1-1-1"; requires jurisdiction. Justia rows carry none, so this can never match one of them
jurisdictionNojurisdiction code, e.g. "us" or "ks"; requires section. Resolves for the federal slice, for 2026-08-14 state rows and for the Kansas regulation rows (Justia-only GA/NC/PR/VI never match this way)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive, so the description correctly spends its words elsewhere: snapshot/currency semantics (as_of is the snapshot date, non-blending of snapshots), historical-source routing with a visible error rather than an empty answer, held units returning kind "held" with no text, and every response including 400/404 carrying note and coverage_note. Row flags (ends_at_colon caveat, page_overlap_repeats_removed vs raw=true) are exactly the kind of behavior an agent cannot infer from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well front-loaded: the first two sentences carry purpose and return shape. But the body becomes a dense wall of parenthetical detail — row counts, snapshot dates, per-source enumerations — much of which duplicates what describe_sources is said to provide, making the description over-long for a tool that already points at a coverage tool.

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 an 8-parameter, multi-corpus tool with no output schema, the description does the necessary work: it enumerates returned fields, explains snapshot/currency caveats, documents held units and permissive 400/404 payloads, and routes deep per-source detail to describe_sources. An agent has what it needs to call this correctly and to interpret a miss.

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 earns more by explaining cross-parameter behavior the schema only hints at — a historical miss may return a historical_editions pointer but never that text, and an edition a source does not hold produces a visible error rather than an empty answer. It also clarifies the default-source behavior when source is omitted and that cite/section/jurisdiction forms vary per corpus (Justia rows match neither cite-by-section nor jurisdiction).

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?

A specific verb + resource ("Exact lookup of one statute or regulation section by citation") plus an explicit scope ("in a snapshot of published law"). The clauses "Enacted text only: not case law or annotations" and "A miss is not an absence" sharply distinguish this exact-citation lookup from the sibling search tools (search_statute_text, search_by_concept, find_opinions_citing_statute).

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?

Tells the agent the conditions that make this the right tool (you hold a citation; you want verbatim text, not treatment) and directs the agent to source= for single-regulation corpora and to describe_sources for per-source citation forms. It does not explicitly name an alternative to use when you lack a citation, so the when-not guidance is implied rather than stated.

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