Skip to main content
Glama

Nd Search

nd_search
Read-onlyIdempotent

Search the North Dakota Century Code BY TOPIC or keyword rather than citation, "landlord security deposit", "concealed weapon permit", "homicide". Matches against the Legislature's own official section and chapter CATCHLINES across the whole Code (not full statutory prose, North Dakota does not publish a full-text search of Code section text, verified live), e.g. "landlord" surfaces sections like "Landlord obligations - Maintenance of premises" even though no CHAPTER is named "Landlord and Tenant". Returns matching citations and catchlines; call nd_statute with a citation for the full text. 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"
    },
    "name": "nd_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return, default 10, max 25.
queryYesTopic or keywords, e.g. "landlord security deposit".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, but the description adds the non-obvious constraint that matching is against catchlines only, not statutory prose, with the reason given (ND does not publish full-text search). It also discloses what is returned (citations and catchlines) and that the tool is keyless, which annotations do not say.

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-loaded with the core purpose and what to do next, with no filler sentences. It is dense with parenthetical asides (e.g. 'verified live', the landlord example) that are useful but make it read as one long run-on.

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 a two-parameter search tool with no output schema, it covers what is searched, how results are scoped, the shape of the return (citations plus catchlines), the handoff to nd_statute, and authentication. Nothing an agent needs to invoke it 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; the description goes beyond it by clarifying that the query is a topic phrase rather than a citation and by giving example phrasings. The limit parameter is left to the schema, which already documents default and max.

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 a specific verb and resource (search the North Dakota Century Code) and pins down the exact access mode: by topic or keyword rather than citation. It also contrasts implicitly with the citation-lookup sibling, so an agent can tell the two apart without inspecting schemas.

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?

Explicitly states when to use this (topic/keyword queries, with three concrete example queries) and names the alternative and condition for it: call nd_statute with a citation for full text. That is a complete routing rule.

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.