Skip to main content
Glama

NC General Statutes

Recently changed North Carolina (NC) statutes

recent_law_changes
Read-onlyIdempotent

Changed North Carolina (NC) statutes, by effective date, observation or session year.

source="effective" answers "what took effect on 1 October" from ncleg's own effective dates — use it for that, and bound a single day with since=until. It looks FORWARD too, so it also answers "what takes effect next quarter".

source="statutory" is the legislature's record from history notes, back to the 1800s, dated by year. source="observed" is only when this database saw text change — ncleg's publishing schedule, not the law's, and no substitute for effective dates.

"both" returns statutory + observed. For one section use amendment_history.

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": {
      "since": "<since>"
    },
    "name": "recent_law_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of rows per source (1-500).
sinceYesStart of the window: a session year or an ISO date. Pair with `until` and source="effective" to ask about a single day.
untilNoEnd of the window: a year or an ISO date, inclusive. Omit for no end; effective dates run into the future.
sourceNo"effective" (what took or takes effect, by ncleg's effective dates), "statutory" (session laws by year, from history notes), "observed" (when this database saw text change) or "both" (statutory and observed).both
chapterNoOnly sections in this chapter.
include_baselineNoWith observed changes: also include the rows from this database's first load, which record the start of the record, not a change in the law.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / chapter / description
      Added value: +"Only sections in this chapter."
    • addedInput schema / properties / chapter / examples
      Added value: +[
      +  20,
      +  "15A"
      +]
    • addedInput schema / properties / include_baseline / description
      Added value: +"With observed changes: also include the rows from this database's first load, which record the start of the record, not a change in the law."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of rows per source (1-500)."
    • addedInput schema / properties / source / description
      Added value: +"\"effective\" (what took or takes effect, by ncleg's effective dates), \"statutory\" (session laws by year, from history notes), \"observed\" (when this database saw text change) or \"both\" (statutory and observed)."
    • addedInput schema / properties / source / examples
      Added value: +[
      +  "effective",
      +  "statutory",
      +  "observed",
      +  "both"
      +]
    • addedInput schema / properties / until / description
      Added value: +"End of the window: a year or an ISO date, inclusive. Omit for no end; effective dates run into the future."
    • addedInput schema / properties / until / examples
      Added value: +[
      +  "2026",
      +  "2026-10-01"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior the annotations cannot: effective dates run into the future, statutory history reaches back to the 1800s, and 'observed' reflects this database's publishing schedule rather than the law's. It does not discuss ordering, pagination, or the per-source meaning of the limit cap, so it stops short of a top score.

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-loads the purpose, then organizes by source value in short paragraphs, so scanning is easy. Some sentences are redundant with the schema (the since/until single-day advice) and the scatter of quotation marks around 'both' and 'effective' adds noise without information.

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?

With 6 parameters, one required, an output schema, and full annotation coverage, the description supplies exactly the missing layer: which source answers which question and how effective vs. observed differ. Unmentioned parameters (chapter, limit, include_baseline) are fully documented in the schema, so nothing an agent needs to call it correctly is absent.

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 earns credit for mapping source values to the questions they answer and for the since=until trick to bound a single day, which makes the parameter choice actionable rather than merely documented. This framing largely restates the schema's own source and since descriptions, so the added meaning is real but modest.

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 specific verb+resource: 'Changed North Carolina (NC) statutes, by effective date, observation or session year.' An agent immediately knows this is a change-feed over statutes parameterized by source, and the final line routes single-section lookups to amendment_history, so it is distinguishable from siblings without opening a 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 per source value: 'effective' for 'what took effect on 1 October', 'statutory' for the legislature's historical record, 'observed' for database-detected text changes, 'both' for the combination. It also names the alternative (amendment_history) and the condition selecting it, plus the when-not caution that observed is 'no substitute for effective dates.'

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