Skip to main content
Glama

Laws a ballot measure changes

get_measure_statutes
Read-only

The sections of existing law a 2026 ballot measure amends, creates, repeals or cites (GET /v1/measures/{state}/{number}/statutes). Use for 'which laws does Prop X / Question Y change'. Read from the measure's official text: constitutional amendments cite the constitution (not loaded), and a measure whose text is not yet published returns nothing. Treat the list as a floor. 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.

Input Schema

NameRequiredDescriptionDefault
stateYes2-letter postal code (e.g. NJ), DC, GU, or US for the U.S. Code.
numberYesMeasure number as served by get_ballot_measure, e.g. 'Proposition 319'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Adds substantial behavior beyond the readOnly/openWorld annotations: data is read from the measure's official text, unpublished text yields empty results, the list is a 'floor', and resolved:true distinguishes a section we hold from a bare citation. Doesn't cover pagination or ordering, but the annotation bar is already low for a read tool.

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 definition, then caveats; every sentence carries information. The final sentence is dense and packs resolution semantics into one line, which hurts scanability slightly.

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?

No output schema, so the description carries the return-shape burden and does so by explaining the resolved:true/text pairing. Combined with the state-coverage caveat and empty-result condition, an agent has everything needed to call and interpret it.

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%, so both parameters are already documented, and the description leans on that ('see list_statute_coverage', 'state whose code is loaded') without adding syntax or format detail. Baseline 3 is appropriate.

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 and resource: 'The sections of existing law a 2026 ballot measure amends, creates, repeals or cites', with the underlying endpoint given. This is clearly distinct from sibling get_statute (a single section) and get_bill_statutes (bills, not measures).

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 an explicit trigger phrase ('which laws does Prop X / Question Y change') and routes the agent to list_statute_coverage for the coverage question. It also states the cases where the tool returns nothing, which functions as a when-not-to-expect-results rule.

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