Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Legal Ops Depot. If you published it, claim ownership there.

Search rules by words

search_rules
Read-onlyIdempotent

Read-only. Search one court's rules by words in their titles, snippets and topics. court_id is required. This searches rules only; search_cases searches the whole library.

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": {
      "court_id": "<court_id>"
    },
    "name": "search_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
limitNo
queryNo
court_idYesCatalog court id or court_code (CA11, MDFL, 5DCA, Lake-Cir, CA9, …)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is known. The description adds useful scope details (single court, fields searched), but it does not describe result ordering, pagination, or limit behavior.

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?

Three short, front-loaded sentences with no filler. The scope constraint and sibling differentiation are stated directly and efficiently.

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

Completeness3/5

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

The description covers purpose, scope, required parameter and sibling routing. However, with no output schema and low schema coverage, it should say more about the q/query distinction and limit behavior to be fully sufficient for correct invocation.

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

Parameters2/5

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

Schema description coverage is only 25%, with just court_id documented. The description confirms court_id is required but does not clarify the ambiguous q vs query parameters or what limit controls, leaving most parameter semantics undocumented.

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 one court's rules by words in titles, snippets and topics. It explicitly distinguishes itself from search_cases, so an agent can route between 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear usage context: court_id is required, and search_cases is named as the alternative for whole-library searches. It lacks explicit when-not conditions or mention of other related tools such as get_rule or discover_rules, but the primary routing decision is 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