Skip to main content
Glama

Nm Statute

nm_statute
Read-onlyIdempotent

Get the FULL TEXT of a section of the New Mexico Statutes Annotated 1978 (NMSA 1978) by citation, e.g. "30-2-1" (Murder) or "40-4-1" (grounds for divorce). Accepts "30-2-1", "NMSA 1978, section 30-2-1", or "section 30-2-1". Returns the current statutory text, its official catchline, chapter name, and legislative "History:" line. New Mexico publishes each CHAPTER as one PDF rather than per-section, so a bare citation (no chapter name) resolves via a baked chapter index, most chapters are covered; an uncovered one reports chapter_not_baked rather than a false no-match. Keyless. Use for "what does NMSA 30-2-1 say" or to check a New Mexico statute a case or contract relies on.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "citation": "30-2-1"
    },
    "name": "nm_statute"
  }
}

Input Schema

NameRequiredDescriptionDefault
citationYesSection citation as chapter-article-section, e.g. "30-2-1" (murder) or "40-4-1" (divorce). A lettered chapter keeps its letter, e.g. "59A-1-1" (Insurance Code) or "32A-4-1" (Children's Code).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: keyless access, the chapter-PDF resolution mechanism, and the specific failure mode 'chapter_not_baked rather than a false no-match'. That error semantics disclosure is exactly the kind of behavior an agent needs and cannot get from structured fields.

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 core action and examples, then the resolution caveat and use cases. Dense but every sentence carries information; the parenthetical glosses on examples are slightly redundant but harmless.

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 exists, and the description compensates by naming the returned fields (statutory text, catchline, chapter name, History line). Combined with the error-mode disclosure, an agent has everything needed to call and interpret results.

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 the baseline is 3, but the description adds accepted input formats ('NMSA 1978, section 30-2-1', 'section 30-2-1') and the lettered-chapter convention ('59A-1-1', '32A-4-1') that go beyond the schema's own examples.

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: 'Get the FULL TEXT of a section of the New Mexico Statutes Annotated 1978 (NMSA 1978) by citation', with concrete citation examples. An agent can distinguish this from nm_search (keyword lookup) and nm_chapters (chapter listing) without opening any schema.

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 use cases: 'what does NMSA 30-2-1 say' and checking a statute a case or contract relies on. It does not name a sibling alternative or state when not to use it (e.g. keyword search via nm_search), so it stops short of full routing guidance.

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.