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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "state": "<state>",
      "number": "<number>"
    },
    "name": "get_measure_statutes"
  }
}

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.3/5.0
Behavior5/5

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

Well beyond the readOnly/openWorld annotations, it discloses that results derive from the measure's official text, that constitutional amendments are not loaded, that unpublished measures return nothing, and that the list should be treated as a floor. These are genuine data-completeness caveats an agent could not infer from annotations.

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?

Scope and endpoint come first, then usage, then caveats about coverage, which is the right order. It is dense but nearly every clause carries information; 'Treat the list as a floor' is the one phrase whose meaning stays vague.

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 does the needed work by explaining that links carry resolved:true plus text when the section is held, otherwise just the citation as written. Combined with the empty-result and constitutional-amendment caveats, an agent knows enough to call and interpret it, though it does not describe list size or ordering.

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 the schema already documents both parameters, including the 2-letter code and the get_ballot_measure-derived number. The description adds some meaning by tying state to which code is loaded and resolution behavior, but no format or syntax beyond the schema.

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?

Names a specific verb and resource (sections of law a measure amends/creates/repeals/cites) and gives the endpoint. It is clearly distinguishable from siblings get_bill_statutes, get_statute, and search_statutes because the subject is a ballot measure rather than a bill or free-text statute search.

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 an explicit query pattern ('which laws does Prop X / Question Y change') and routes coverage questions to list_statute_coverage. It does not explicitly name get_bill_statutes or get_statute as alternatives for the bill/statute-side questions, so the when-not guidance 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