Skip to main content
Glama

NC General Statutes

Read a North Carolina (NC) General Statutes section

get_statute
Read-onlyIdempotent

Full text of one North Carolina (NC) General Statutes section, by citation.

Use for "what does G.S. 14-72.1 say". Accepts any spelling — "14-72.1", "G.S. 14-72.1", "§ 14-72.1". Returns catchline, body, history note, and when it was first enacted and last amended. as_of gives the text observed on a past date; pending lists variants enacted but not yet effective.

Carries codified_through, session_laws_through and a legislation_note naming any enacted act that touches this section outside the codified text. An uncodified override ("Notwithstanding G.S. ...") is never codified, so it is reported regardless of the watermark. PENDING BILLS ARE NOT COVERED — a ratified bill is not law and appears in neither source, so an empty note is not evidence nothing passed.

as_of RESOLVES AGAINST OBSERVED VERSIONS, NOT EFFECTIVE DATES — it answers "what did this database hold on that date", so it cannot reach text from before the first ingest run. For "what took effect on 1 October" use recent_law_changes(source="effective").

include_definitions=True adds the defined terms the section uses, each with the definition that governs it here (most specific scope) — use it whenever the outcome turns on a word like "vehicle", "person" or "dwelling". get_definition looks up one term.

Section-level only — ask for "20-141", not "20-141(j1)". The Rules of Evidence and of Civil Procedure are each one statute (G.S. 8C-1, G.S. 1A-1) holding many rules; ask for a rule as "8C-1, Rule 104" or "1A-1, Rule 12" (N.C. R. Evid. / N.C. R. Civ. P. forms work). Asking for 8C-1 or 1A-1 itself lists the rules. For WHEN it changed use amendment_history; for WHAT changed use diff_statute.

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": {
      "citation": "<citation>"
    },
    "name": "get_statute"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoA date (YYYY-MM-DD): the text this database recorded as in force at the end of that day, instead of today's. Records begin with the first ingest run.
pendingNoTrue lists every variant of the section, including text enacted with a future effective date, each marked in_force_today.
citationYesOne NC General Statutes SECTION, or one rule of the Rules of Evidence or Civil Procedure ("8C-1, Rule 104", "N.C. R. Civ. P. 12"). Any spelling works; subsections do not — ask for 20-141, not 20-141(j1), and 1A-1, Rule 12, not Rule 12(b)(6).
max_charsNoCut the body at this many characters (default 12000). A cut is flagged `truncated`, with the length to retry with.
include_definitionsNoAlso list the statutory definitions that govern this section and whose terms appear in its text (e.g. "impairing substance" in 20-138.1, defined in 20-4.01 for all of Chapter 20).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / as_of / description
      Added value: +"A date (YYYY-MM-DD): the text this database recorded as in force at the end of that day, instead of today's. Records begin with the first ingest run."
    • addedInput schema / properties / as_of / examples
      Added value: +[
      +  "2026-01-01"
      +]
    • addedInput schema / properties / max_chars / description
      Added value: +"Cut the body at this many characters (default 12000). A cut is flagged `truncated`, with the length to retry with."
    • addedInput schema / properties / pending / description
      Added value: +"True lists every variant of the section, including text enacted with a future effective date, each marked in_force_today."
  2. Changed1 schema field changed
    • addedInput schema / properties / include_definitions
      Added value: +{
      +  "default": false,
      +  "description": "Also list the statutory definitions that govern this section and whose terms appear in its text (e.g. \"impairing substance\" in 20-138.1, defined in 20-4.01 for all of Chapter 20).",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / citation / description
      Previous value: -"One NC General Statutes SECTION. Any spelling works; subsections do not — ask for 20-141, not 20-141(j1)."New value: +"One NC General Statutes SECTION, or one rule of the Rules of Evidence or Civil Procedure (\"8C-1, Rule 104\", \"N.C. R. Civ. P. 12\"). Any spelling works; subsections do not — ask for 20-141, not 20-141(j1), and 1A-1, Rule 12, not Rule 12(b)(6)."
    • changedInput schema / properties / citation / examples
      Previous value: -[
      -  "14-72.1",
      -  "G.S. 14-72.1",
      -  "§ 14-72.1",
      -  "15A-145.5"
      -]New value: +[
      +  "14-72.1",
      +  "G.S. 14-72.1",
      +  "§ 14-72.1",
      +  "15A-145.5",
      +  "8C-1, Rule 104"
      +]
  4. First observed

TDQS

A4.8/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 genuinely non-obvious behavior: as_of resolves against observed versions rather than effective dates and cannot reach text before first ingest, uncodified overrides are reported regardless of the watermark, and an empty legislation_note is explicitly not evidence that nothing passed. It also discloses truncation flagging and the codified_through/session_laws_through metadata.

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?

Dense but well front-loaded: purpose first, then return shape, then the as_of caveat, then scoping rules and alternatives. Some of the as_of and include_definitions explanation restates what the schema already documents, so it is slightly longer than strictly necessary.

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?

Returns are covered by the output schema, safety by annotations, and the description closes the remaining gaps an agent would hit in practice: subsection rejection, rule citation formats, the pre-ingest limit on as_of, and the pending-bill blind spot. Nothing material is missing for a single-section lookup tool.

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 schema baseline is strong, but the description still adds meaning: it frames as_of as "what did this database hold on that date" and steers include_definitions toward outcome-determinative terms like "vehicle" or "dwelling." It does not add much for max_chars or pending beyond the schema text, keeping it just below the top.

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?

Opens with a precise verb+resource+scope: "Full text of one North Carolina (NC) General Statutes section, by citation." It also immediately disambiguates the scope boundary versus siblings (section-level only, rules of evidence/civil procedure, get_definition for single terms), so an agent can route 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?

Gives explicit when-to-use triggers ("what does G.S. 14-72.1 say"), when-not conditions ("PENDING BILLS ARE NOT COVERED"), and named alternatives with the condition that selects them: recent_law_changes(source="effective") for effective dates, amendment_history for when, diff_statute for what changed, get_definition for a single term.

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