Skip to main content
Glama

Nj Statute Search

nj_statute_search
Read-onlyIdempotent

Search the New Jersey Statutes (N.J.S.A.) BY TOPIC or keyword rather than citation, "security deposit interest", "landlord grounds for eviction", "possession of weapons for unlawful purposes". Returns ranked sections with their citations (where parseable) and headings; use nj_statute_section afterward for the full text of one. Full-text search, so it answers questions no citation lookup can. Keyless.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "landlord grounds for eviction"
    },
    "name": "nj_statute_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, default 10, max 25.
queryYesTopic or keywords, e.g. "security deposit interest". A few plain words works better than a long sentence, this engine ANDs every word.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Topic or keywords, e.g. \"security deposit interest\". A few plain words works better than a long sentence — this engine ANDs every word."New value: +"Topic or keywords, e.g. \"security deposit interest\". A few plain words works better than a long sentence, this engine ANDs every word."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds context not in annotations: it is keyless (no auth needed) and it describes the return shape — ranked sections with citations where parseable, plus headings. It does not mention result-count or pagination limits, which keeps it below a 5.

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?

A single front-loaded paragraph of roughly four sentences with no filler; the topic-vs-citation distinction leads and the sibling hand-off follows. The three inline example queries partially duplicate the schema's example and sample, which is minor redundancy rather than noise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly takes on the job of explaining what comes back (ranked sections, citations, headings) and notes the keyless access model. The only gap is that the limit parameter and any result-cap behavior go unmentioned in prose, though the schema covers them.

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 coverage is 100%, and the schema already documents both the query form and the limit bounds (default 10, max 25). The description's example queries and emphasis on topic-style phrasing add modest meaning but largely restate what the schema says, so the baseline of 3 applies.

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 and resource ("Search the New Jersey Statutes") and immediately scopes it: by topic or keyword rather than citation. It also names the sibling nj_statute_section as the follow-up for full text, so an agent can distinguish 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?

Gives explicit when-to-use guidance with three concrete example queries and the routing rule "use nj_statute_section afterward for the full text of one." It also states the negative case — this is not a citation lookup — which is exactly the decision an agent needs to make between siblings.

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.