Skip to main content
Glama

NC General Statutes

What a term means in North Carolina (NC) statutes, where it applies

get_definition
Read-onlyIdempotent

What a term means in the North Carolina (NC) General Statutes — the statutory definition, and where it applies.

Use whenever a statute's outcome turns on a word that may be DEFINED rather than plain English ("motor vehicle", "impairing substance", "person", "dwelling"). With section, returns only the definitions whose scope covers that section, most specific first (section > listed sections > Subpart > Part > Subchapter > Article > Chapter > statewide rules of construction in G.S. 12-3), each with why it applies. Without section, returns every definition of the term grouped by scope — which differ: "board" means a different body in each chapter that defines it.

Matching: the exact term first, then case and plural folded, then the term inside a longer defined phrase (flagged fuzzy). A definition that only says "has the meaning in G.S. X" is resolved one step to that section's definition.

Definitions are extracted automatically from the statute text; some lead-ins ("As used in this act") cannot be tied to a scope and are reported as such, never guessed. Read the defining section before relying on a definition. get_statute(include_definitions= True) lists every defined term a section uses.

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": {
      "term": "<term>"
    },
    "name": "get_definition"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYesThe defined word or phrase, as it reads in the statute. Case and plural do not matter.
chapterNoLimit to definitions made in or scoped to one chapter.
sectionNoThe section whose text uses the term. Returns ONLY the definitions that legally apply there, most specific first. Strongly recommended.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, but the description goes well beyond that: it discloses the precedence chain for scope resolution, the `why` field, the matching ladder (exact, then case/plural folded, then embedded-in-phrase flagged `fuzzy`), one-step resolution of 'has the meaning in G.S. X' references, and the honest caveat that unscopeable lead-ins are reported rather than guessed. It even warns the reader to read the defining section before relying on the result.

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?

The core purpose is front-loaded and every paragraph carries information an agent needs, but the prose is dense and the matching/scope details could be tighter or bulleted for scanning. No sentence is pure filler, though the closing caveat and the get_statute pointer sit at the end where they are easy to under-weight.

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?

An output schema exists, yet the description still explains the meaningful return structure (`why` per definition, grouping by scope, `fuzzy` flag) and the precedence ordering, so an agent knows how to interpret results. Combined with the extraction-accuracy caveat, nothing needed to call or trust the tool is missing.

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 genuine meaning about `section` beyond the schema's 'Returns ONLY the definitions that legally apply there' — namely the ordering rule (section > listed sections > Subpart > Part > ... > G.S. 12-3) and the contrasting behavior when `section` is omitted (all definitions grouped by scope, which can differ by chapter). `term` matching semantics are also clarified (case/plural folding, fuzzy phrase matches).

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?

The opening states a specific resource (the statutory definition of a term in the NC General Statutes) and scope ('and where it applies'), which is exactly what distinguishes it from get_statute and search_statutes. An agent can tell this is a definition-lookup tool rather than a text-fetch tool without opening the schema.

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?

It gives an explicit trigger ('Use whenever a statute's outcome turns on a word that may be DEFINED rather than plain English') with concrete example terms, and it names an alternative route ('get_statute(include_definitions=True) lists every defined term a section uses'), which lets the agent choose between the two. The distinction between the with-`section` and without-`section` modes is also spelled out.

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