Skip to main content
Glama

Statute coverage and codes

list_statute_coverage
Read-only

Which jurisdictions' codified law is loaded, and how big and current it is (GET /v1/statutes/coverage): per state the number of codes, sections, bill links and the edition it is current through. Pass state to list that state's codes (GET /v1/statutes/codes) — the code_id values used by get_statute lookups. Call this first to know whether a state's statutes are available.

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": "list_statute_coverage"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNo2-letter postal code (e.g. NJ), DC, GU, or US for the U.S. Code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds genuinely new context — the underlying GET endpoints and the fact that a state parameter changes which endpoint/result set is returned — but says nothing about pagination, rate limits, auth, or response shape.

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 resource and its metrics, then the parameter behavior, then the call-first recommendation — a logical progression with little waste. The parenthetical endpoint paths are dense but earn their place by disambiguating the two modes.

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?

With no output schema, the description carries the burden of explaining returns, and it does describe the coverage fields (code counts, section counts, bill links, current edition). The state-branch return is described only as code_ids, leaving the full shape of that listing somewhat implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the state parameter is already documented in the schema, including postal-code format and the US/DC/GU special cases. The description adds the meaningful detail that supplying state switches the call to the codes listing and yields code_id values, but no further semantics beyond that.

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 resource and scope: which jurisdictions' codified law is loaded, plus per-state counts of codes, sections, bill links, and the edition current through. It also names the mode switch (pass state → list that state's codes with code_id values) and ties itself to the get_statute sibling, so an agent can distinguish it from search_statutes or get_statute without opening schemas.

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 explicit sequencing guidance: "Call this first to know whether a state's statutes are available," and explains that the returned code_id values feed get_statute lookups. It does not mention when to prefer search_statutes for full-text statute searching, so the alternative routing is only partial.

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