Skip to main content
Glama

NC General Statutes

Legislative activity across a North Carolina (NC) statute chapter

chapter_activity
Read-onlyIdempotent

How much legislative churn a North Carolina (NC) statute chapter has seen.

Use for "which parts of Chapter 14 keep changing". Returns amendment counts by year, the most-amended sections with their totals, and counts of pending and repealed sections. Omit chapter for a corpus-wide view.

Counts are STATUTORY, from history notes — not observations. For one section use amendment_history; for upcoming text use pending_changes.

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": "chapter_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoHow many of the most-amended sections to list (1-100).
chapterNoThe chapter. Omit for every chapter.
since_yearNoCount amendments from this year on (default: five years ago).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / chapter / description
      Added value: +"The chapter. Omit for every chapter."
    • addedInput schema / properties / chapter / examples
      Added value: +[
      +  14,
      +  "15A"
      +]
    • addedInput schema / properties / since_year / description
      Added value: +"Count amendments from this year on (default: five years ago)."
    • addedInput schema / properties / since_year / examples
      Added value: +[
      +  2015
      +]
    • addedInput schema / properties / top / description
      Added value: +"How many of the most-amended sections to list (1-100)."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered; the description adds genuinely non-obvious context by stating the counts are STATUTORY, derived from history notes rather than observations, which tells the agent the numbers are not runtime telemetry. It falls short of a 5 only because it says nothing about result volume or pagination behavior for corpus-wide queries.

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?

The opening line states the purpose, the second gives the use case, the third summarizes returns, and the remainder handles scope and alternatives — a well front-loaded progression with no filler. Every sentence carries information an agent would otherwise have to infer.

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, so the description needn't define return values, yet it still sketches the payload shape usefully. With annotations covering safety, full schema coverage, and explicit sibling routing, nothing an agent needs in order to call this correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all three parameters including the five-year default for since_year. The description's only parameter-adjacent statement, that omitting `chapter` yields a corpus-wide view, largely restates the schema's "Omit for every chapter," so it adds little beyond structured data. Baseline 3 is appropriate.

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 description opens with a specific verb-and-resource framing (legislative churn in an NC statute chapter) and spells out the return payload: amendment counts by year, most-amended sections with totals, and pending/repealed counts. It also distinguishes its scope from section-level siblings, so an agent can tell it apart from amendment_history 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 a concrete use case ("which parts of Chapter 14 keep changing"), an explicit corpus-wide mode ("Omit `chapter` for a corpus-wide view"), and names two alternatives with the conditions that select them: amendment_history for a single section, pending_changes for upcoming text. When-to-use and when-to-use-something-else are both covered.

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