Skip to main content
Glama

NC General Statutes

What a North Carolina (NC) statute cites, what cites it, and its rules

cross_references
Read-onlyIdempotent

Which North Carolina (NC) statutes this section cites, which cite it, and which agency rules implement it.

Use for "what does G.S. 14-72.1 depend on", "what else references it", or "what rules were adopted under G.S. 150B-21.2". OUTBOUND is what the section's own text cites; INBOUND is every section citing it — the direction you cannot get by reading one statute — plus implementing_rules: NC Administrative Code rules that cite it as their authority.

Section-level only: a reference to 20-141(j1) is an edge to 20-141. Chapter-wide and "this Article" references are not edges. For the text itself use get_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": "cross_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of references per direction (1-500).
citationYesThe section whose references you want, in either direction.
directionNo"outbound" (what this section cites), "inbound" (what cites it, with implementing rules) or "both".both

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / direction / description
      Added value: +"\"outbound\" (what this section cites), \"inbound\" (what cites it, with implementing rules) or \"both\"."
    • addedInput schema / properties / direction / examples
      Added value: +[
      +  "outbound",
      +  "inbound",
      +  "both"
      +]
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of references per direction (1-500)."
  2. Changed1 schema field changed
    • changedInput schema / properties / citation / examples
      Previous value: -[
      -  "15A-145.5",
      -  "G.S. 1A-1"
      -]New value: +[
      +  "15A-145.5",
      +  "G.S. 1A-1",
      +  "8C-1, Rule 702"
      +]
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, not destructive, closed-world), and the description adds behavior the agent could not infer: what OUTBOUND vs INBOUND actually mean and why INBOUND matters ('the direction you cannot get by reading one statute'), plus the extra `implementing_rules` payload attached to inbound results. It also discloses the edge-construction rules — subsection references collapse to the parent section (20-141(j1) → 20-141) and chapter-wide/'this Article' references are not edges — which materially affects result interpretation.

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 definition sentence, then usage examples, then the conceptual distinction between directions, then a disambiguation/scope paragraph. Dense but every sentence carries distinct information; no restatement of the tool name or annotations.

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 return-value shape needn't be described, and the remaining burden — direction semantics, edge granularity, and the sibling hand-off for full text — is fully covered. Nothing an agent needs 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.

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 adds real semantics: it explains that `direction` selects outbound, inbound, or both, and that implementing_rules only appears on the inbound side, which is more than the schema's parenthetical states. It says nothing about `limit` being per-direction, leaving that to the schema.

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?

States a specific verb+resource (fetches what an NC statute cites, what cites it, and implementing agency rules) and explicitly separates itself from get_statute by deferring text retrieval to that sibling. An agent can distinguish this from search_statutes or rule_history from the description alone.

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 concrete user phrasings that should route here ('what does G.S. 14-72.1 depend on', 'what else references it', 'what rules were adopted under G.S. 150B-21.2') and states the exclusion with an alternative: 'For the text itself use get_statute.' When-to-use, when-not-to-use, and the alternative are all present.

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