Skip to main content
Glama

Search statutes and rules

search_statutes
Read-onlyIdempotent

Search statutes, COURT RULES and codes by citation or topic, for EVERY U.S. state plus federal. For a specific state, pass state="wi" (any two-letter code, all 50 states + DC) and a topic or section number; add kind="rule" for that state's court rules or kind="statute" for its code. Without state it searches only the kinds named in kinds (default: Florida). Handles citation lookups ("83.49", "174.02") and topic queries ("dog bite strict liability"). Each result carries currency (text_last_changed and, where recorded, last_amended_year / effective_date / status / successor) and corpus_currency gives each corpus's edition and current-through date. OPERATIVE DATE: statute text is the edition this corpus holds, not the law on every date. For a crime, a contract, a limitations period or a procedural step, establish the operative date first (offense, contract, accrual or filing date) and pass it as as_of (YYYY-MM-DD); say so when the text postdates the facts, since an older offense may be charged under a predecessor section. (as_of is taken by get_statute and check_citation.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesCitation or topic query, max 200 chars
kindNoWith state: scope to one source — "rule" (that state's court rules) or "statute" (its code). Omit to search both; the response's sources field lists what the corpus holds and how many rows of each.
kindsNoUsed only when state is absent. Comma list of corpus kinds: statute (FL statutes), rule (FL court rules), fac (Fla. Admin. Code), ocga, usc, cfr, fedrule, sg, plus any state's own kind ("nc", "tx") and rules kind ("nc-rule", "tx-rule"). Default "statute,rule" is FLORIDA ONLY.
limitNoMax hits (default 5, max 25)
stateNoTwo-letter state code to search that state's corpus (e.g. wi, tx, ny, ca). Covers all 50 states + dc. That corpus holds the state's COURT RULES too in 44 of the 51 — all but ks, la, nh, ok, sd, vt, whose rules of procedure are codified as statutes. Also accepts state="fac" for the Florida ADMINISTRATIVE Code (agency rules such as 6A-6.03019) — state="fl" is the Florida Statutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds real value beyond that: result fields (text_last_changed, last_amended_year, effective_date, status, successor), corpus_currency, and the operative-date caveat that text is the held edition rather than the law on every date. However, it does not describe result ordering, pagination beyond limit, or how source coverage is surfaced in the response, so it stops short of full behavioral disclosure.

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?

Core purpose and the state/kind routing are front-loaded, and every sentence carries actionable content. It is somewhat dense and leans on all-caps emphasis plus a long parenthetical, but the length is justified by the multi-jurisdiction behavior it must convey.

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 five-parameter search tool with no output schema, the description covers defaults, jurisdiction resolution, result currency fields, and the operative-date pitfall. Nothing essential for correct invocation or result interpretation 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 baseline is 3, but the description adds meaning on top of it: examples of state codes, the rule/statute semantics of kind, the conditional use of kinds, and citation-vs-topic query examples. It also clarifies that as_of belongs to get_statute/check_citation rather than this tool, which prevents a common misuse.

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 (Search) and resource (statutes, court rules, codes) with explicit scope (every U.S. state + federal). It is clearly distinguishable from siblings like search_cases, find_authority, and get_statute, which retrieve other document types or a single known provision.

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?

Gives explicit when-to-use routing: pass state for one jurisdiction, kind to scope to rule vs statute, kinds only when state is absent, and the default is Florida-only. It also names alternatives for the as_of workflow (get_statute, check_citation), so the agent knows where operative-date lookups belong.

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