Skip to main content
Glama

One statute section

get_statute
Read-only

One section of law with full text and its place in the code (GET /v1/statutes/sections/{section_id}, or by citation via GET /v1/statutes/lookup). Give section_id from a search or a bill/measure link, or state + citation exactly as the code prints it (e.g. '39:4-50', '790.01', '18-3-102'). Set include_bills:true to also return the bills that amend, create, repeal or cite the section. Only states whose code is loaded resolve to section text (see list_statute_coverage); a link to a section we hold carries resolved:true and the text, otherwise just the citation as written.

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
codeNocode_key when a citation exists in more than one code of the state.
stateNo2-letter postal code (e.g. NJ), DC, GU, or US for the U.S. Code.
citationNoSection citation without the code prefix, e.g. '39:4-50'.
section_idNosection_id from a statute search or link.
include_billsNoAlso fetch the bills that touch this section.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered structurally. The description adds genuinely new behavioral context: only states with loaded codes resolve to text, a held section returns resolved:true with the text, and otherwise only the citation as written comes back. It does not mention any rate limits or error modes, which keeps it short of a 5.

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?

Every sentence carries real information and the core purpose is front-loaded in the opening clause. The second half is dense and run-together — the coverage caveat and the resolved:true behavior could be split for faster scanning — but nothing is 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 tool with five optional parameters, no output schema and no required fields, the description covers both input paths, the bills side-effect, and the shape of the return (text plus placement, or citation-only). The notable omission is that it never states that at least one of section_id or state+citation must be supplied, which matters given zero required parameters.

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, but the description goes beyond the schema by giving concrete citation formats ('39:4-50', '790.01', '18-3-102') and clarifying the 'without the code prefix' rule for citations. The one gap is that the `code` parameter for disambiguating multi-code states is never mentioned in prose, leaving that disambiguation to the schema alone.

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 names a specific resource and scope: 'One section of law with full text and its place in the code', and pins it to concrete endpoints (GET /v1/statutes/sections/{section_id} and /v1/statutes/lookup). It also implicitly separates itself from the sibling search_statutes by framing section_id as something you get 'from a search' rather than something this tool produces.

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?

It spells out two mutually exclusive input modes (section_id from a search or bill/measure link, versus state + citation exactly as the code prints it) with literal citation examples. It also routes the agent to list_statute_coverage when a state's code may not be loaded, which is exactly the kind of when-it-won't-work guidance that prevents failed calls.

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