Skip to main content
Glama

laws

Read US state statutes from official legislature sites: list supported states and citation sources, or fetch a state's first sections with citations, headings, text, and URLs.

Instructions

US state codes read whole from each legislature's own site. No state: the list of states Scout can read, with each one's citation form and source. A state (e.g. 'us-tx'): its first limit sections (max 50) as citation, heading, text and url. A whole code is tens of thousands of sections: run scout-mcp laws <state> --out file.jsonl for that.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
stateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It discloses the source (legislature sites), the max-50 limit, the scale warning for whole codes, and the returned fields (citation, heading, text, url). It does not cover permissions, rate limits, or error behavior.

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-loads the purpose, then walks through no-state, state, and whole-code behavior efficiently. It is dense but appropriately sized. Bullet formatting would improve scanability, but no sentence is wasted.

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 no annotations and no output schema, the description covers both modes, return fields, and the scale limitation plus an alternative for full codes. It omits auth/permissions and pagination beyond limit, but is otherwise adequate.

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 description coverage is 0%, so the description must compensate. It explains the state format (e.g. 'us-tx'), the no-state mode, and the limit cap (max 50). The default limit of 10 is not restated, though the schema supplies it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: reading US state codes from each legislature's own site. It also distinguishes two modes based on whether the state parameter is provided. It does not explicitly differentiate from sibling tools, but the scope is clear.

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?

Explains when to omit state (list of states with citation form/source) versus when to provide state (first limit sections of that state's code). It also gives an alternative CLI path for reading a whole code. No sibling-tool alternatives or exclusions are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.