Skip to main content
Glama

NC General Statutes

North Carolina (NC) appellate, practice and Business Court rules

get_court_rule
Read-onlyIdempotent

North Carolina (NC) court rules that are NOT in the General Statutes: the Rules of Appellate Procedure, the General Rules of Practice for the Superior and District Courts, and the Business Court Rules.

Give citation in any common form — "N.C. R. App. P. 30(e)", "App. R. 30", "Appellate Rule 28(b)(6)", "Rule 2 of the General Rules of Practice", "BCR 7.2", "Business Court Rule 7.2" — or rule_set + rule. A pinpoint returns that subdivision's text (pinpoint) alongside the whole rule. rule_set alone lists its rules; query searches by topic.

The Rules of Civil Procedure and of Evidence are General Statutes (G.S. 1A-1, 8C-1): use get_statute("1A-1, Rule 12"). The Rules of Professional Conduct are NC Administrative Code (27 NCAC 02): use get_rule. Local rules are not covered.

Earlier versions: as_of reads the rule as codified then, and compare_with adds a line diff between two codifications — "Appellate Rule 28 in 2019 vs today" is citation="App. R. 28", compare_with="2019". Versions are dated by codification, not by each amendment's effective date; the Appellate Rules go back to the January 2019 codification.

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_court_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleNoRule number within `rule_set`.
as_ofNoRead the rule as codified on this date (YYYY-MM-DD), or in this year (the first codification that year). Omit for the current text.
limitNoWith `query`: maximum number of rules to return (1-25).
queryNoTopic search when there is no citation.
citationNoA court rule in any common form, with or without a pinpoint.
rule_setNo"app" (Appellate Procedure), "gen" (General Rules of Practice) or "bcr" (Business Court); with `rule`, or to narrow `query`.
max_charsNoCut the rule's text, and its commentary, at this many characters (default 12000).
compare_withNoDiff the rule against its version on this date or in this year (same forms as `as_of`), oldest first. The diff replaces the full text in the answer and may run to twice `max_chars`.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / as_of
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Read the rule as codified on this date (YYYY-MM-DD), or in this year (the first codification that year). Omit for the current text.",
      +  "examples": [
      +    "2019",
      +    "2021-06-30"
      +  ]
      +}
    • addedInput schema / properties / compare_with
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Diff the rule against its version on this date or in this year (same forms as `as_of`), oldest first. The diff replaces the full text in the answer and may run to twice `max_chars`.",
      +  "examples": [
      +    "2019"
      +  ]
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"With `query`: maximum number of rules to return (1-25)."
    • addedInput schema / properties / max_chars / description
      Added value: +"Cut the rule's text, and its commentary, at this many characters (default 12000)."
  3. Added

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, closed-world), it discloses output shape — a pinpoint returns that subdivision alongside the whole rule — plus truncation via max_chars and the fact that compare_with replaces full text and can run to twice max_chars. It also flags the important caveat that versions are dated by codification, not amendment effective date, and that Appellate Rules only go back to January 2019. Slightly short of 5 only because it never says what happens on an unresolved citation or a date outside the available range.

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?

Three tight paragraphs, front-loaded with scope before mechanics, and the sibling routing is placed early where it does the most work. The citation-form list is somewhat redundant with the schema examples and could be trimmed, but no sentence is filler.

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 an 8-parameter, all-optional, read-only lookup with a full output schema, everything an agent needs is present: scope, exclusion routing, input shapes, truncation, version semantics and diff behavior. Return-value explanation is correctly left to the output schema.

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 already 100%, so the baseline is 3; the description earns above that by enumerating accepted citation spellings and by explaining that rule_set alone lists its rules while query does topic search — behavior not captured in the schema. Some of the citation examples duplicate the schema's own examples field, which caps it below 5.

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?

Names the exact corpus it covers — Rules of Appellate Procedure, General Rules of Practice, Business Court Rules — and explicitly scopes out everything that lives in the General Statutes. An agent can immediately distinguish it from get_statute and get_rule 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 routing: Civil Procedure and Evidence go to get_statute("1A-1, Rule 12"), Professional Conduct goes to get_rule, local rules are not covered at all. It also states the three usage modes (citation, rule_set+rule, query, rule_set alone) so the agent knows which input shape to pick for which intent.

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