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.

Read one rule

get_rule
Read-onlyIdempotent

Read-only. One rule's text with its version hash, retrieved_at and source_url. court_id is the court whose books include it (from map_procedure, get_packet or sentencing_books: a sentencing guideline section opens with its book's court_id). An unknown rule_id returns rule not found; a rule whose text is not stored yet returns body pending.

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>",
      "rule_id": "<rule_id>"
    },
    "name": "get_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYes
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

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 behavior, so repeating 'Read-only.' adds little. The description earns credit for disclosing outcomes the annotations cannot: 'rule not found' for an unknown rule_id and 'body pending' for an un-stored text, giving the agent a way to interpret both failure shapes.

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 dense sentences, front-loaded with the read-only nature and the return payload, then usage context, then error semantics. Every sentence carries information; the only near-waste is 'Read-only.', which restates the annotation.

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 does the work of naming the return fields and both terminal states (not found, body pending), which is what an agent needs to branch. The remaining gap is the rule_id side of the contract — how to get a valid one and what shape it takes — which is not addressed anywhere in the structured fields.

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 50% — court_id is documented, rule_id is bare. The description compensates by explaining court_id's provenance and semantics beyond the schema's format hint, and by telling the agent what an unrecognized rule_id yields. It still never describes rule_id's expected format or where to obtain one.

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 ('Read one rule') and enumerates the returned fields (text, version hash, retrieved_at, source_url), which clearly distinguishes it from search_rules, discover_rules and list-type siblings. An agent can tell this is the single-record fetch.

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?

Explicitly tells the agent where court_id comes from (map_procedure, get_packet, sentencing_books) and adds the non-obvious convention that a sentencing guideline section opens with its book's court_id. It does not explicitly contrast with search_rules or discover_rules, and says nothing about where rule_id comes from, so it falls short of full when/when-not guidance.

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