Skip to main content
Glama

NC General Statutes

Read a North Carolina (NC) session law, by act-section

get_session_law
Read-onlyIdempotent

The text of North Carolina (NC) session laws — the enacted acts — by act-section.

Use when an answer turns on what an ACT says rather than the codified statute: "what does Sec. 5.14 of S.L. 2026-61 do", an uncodified "Notwithstanding G.S. 143-129 …" provision, an amendment to one subsection the codified text has not caught up with, or when an act takes effect. get_statute names acts touching a section; this reads them.

  • session_law alone: the act's title, effective date, the chapters it creates or repeals, and its table of contents (each act-section's number, caption and the G.S. sections it names), paged by limit/offset.

  • session_law + section: the full text of that act-section ("5.14" gives 5.14.(a), (b), …).

  • citation (a G.S. section), with or without session_law: every provision naming it, newest act first.

  • query: provisions containing all the words, in one act or across all of them.

Amended text is marked as the act prints it: [-deleted-] {+inserted+}. Covers the acts of the current biennium (2025-) that ncleg has published; a bill not yet law is not here. This is the act's own text, not the codified statute — use get_statute for that.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_session_law"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum entries (1-50): act-sections in an act's contents, or provisions found by `citation` or `query`.
queryNoWords that must all appear in the provision. Within `session_law` when given, else across every act.
offsetNoSkip this many act-sections of an act's contents; pass the previous answer's `next_offset`.
sectionNoAn act-section number as the act prints it. "5.14" returns every lettered part (5.14.(a), (b), …); "5.14(a)" one of them.
citationNoA G.S. section: return the act provisions that name it — amendments of one subsection, uncodified "Notwithstanding G.S. …" provisions, effective-date clauses. Without `session_law`, searches every act.
max_charsNoTotal characters of provision text in the answer (default 15000). A cut provision says so.
session_lawNoThe act, as "S.L. 2026-61", "Session Law 2026-61" or "2026-61". May carry its section: "S.L. 2026-61, s. 5.14" or "Sec. 5.14 of S.L. 2026-61".

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations it discloses coverage scope (current biennium 2025- only, published acts only), amendment markup conventions ([-deleted-] {+inserted+}), paging via limit/offset, and truncation behavior under max_chars with the reassurance that a cut provision says so. These are operational traits the annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then a use-case sentence, then a four-bullet mode map, then markup and coverage caveats. Every line carries information an agent needs to construct a correct call; no filler or restatement of the title.

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?

For a seven-parameter, multi-mode retrieval tool with an output schema, the definition covers selection criteria, mode behavior, edge conditions (unpublished bills, truncation), and the sibling boundary. Nothing material for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, but the description adds what the schema cannot: the mode dispatch — session_law alone returns title/TOC, session_law + section returns full section text, citation alone searches every act, query is scoped or global depending on session_law. It also clarifies that '5.14' returns every lettered part while '5.14(a)' returns one, which is real call-shaping guidance.

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 first sentence names a concrete verb and resource (read NC session laws — the enacted acts — by act-section) and immediately draws the boundary against codified statutes. The closing sentence reinforces the distinction by naming get_statute as the tool for codified text, so an agent can separate the two without opening either 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 explicit trigger conditions (an uncodified 'Notwithstanding G.S. …' provision, an amendment the code hasn't absorbed, effective dates) and states plainly that get_statute names the acts while this tool reads them. Exclusions are also stated: bills not yet law are not covered, and codified text belongs to get_statute.

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