Skip to main content
Glama

Read a judgment

caselaw_get_case
Read-onlyIdempotent

Fetch one judgment by id.

section='summary' (default) returns metadata + the headnote (plain-language summary, the
laws/provisions referred, and keyword tags) — read this first to judge relevance cheaply.
section='full' additionally returns the judgment text; a long judgment arrives in its first part and says so.
Long judgment: section='outline' gives a map (the judge's paragraph numbers, each separate opinion, the order),
then paras='41-55' reads exactly those paragraphs (paras='2:3-5' = opinion 2, paragraphs 3-5, where separate
opinions each restart their numbers), find='words' returns the paragraphs of this judgment that
match, and start=N continues from a character position. These return the court's own words, never a summary.

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": {
      "case_id": "<case_id>"
    },
    "name": "caselaw_get_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
findNoWords to look for inside this one judgment: returns the matching paragraphs, with their numbers
parasNoThe judge's own paragraph numbers to read, e.g. '41-55' or '7'; '2:3-5' = opinion 2, paragraphs 3-5 ('notes' = the footnotes)
startNoRead on from this character position (when a reply says More follows)
case_idYesNumeric judgment id (from a search/lookup/graph result)
sectionNo'summary' = metadata + headnote (cheap); 'outline' = a map of a long judgment; 'full' = + judgment textsummary
response_formatNomarkdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / paras / description
      Previous value: -"The judge's own paragraph numbers to read, e.g. '41-55' or '7' ('notes' = the footnotes)"New value: +"The judge's own paragraph numbers to read, e.g. '41-55' or '7'; '2:3-5' = opinion 2, paragraphs 3-5 ('notes' = the footnotes)"
  2. Changed5 schema fields changed
    • addedInput schema / properties / find
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 300,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Words to look for inside this one judgment: returns the matching paragraphs, with their numbers",
      +  "title": "Find"
      +}
    • addedInput schema / properties / paras
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The judge's own paragraph numbers to read, e.g. '41-55' or '7' ('notes' = the footnotes)",
      +  "title": "Paras"
      +}
    • changedInput schema / properties / section / description
      Previous value: -"'summary' = metadata + headnote (cheap); 'full' = + judgment text"New value: +"'summary' = metadata + headnote (cheap); 'outline' = a map of a long judgment; 'full' = + judgment text"
    • changedInput schema / properties / section / enum
      Previous value: -[
      -  "summary",
      -  "full"
      -]New value: +[
      +  "summary",
      +  "full",
      +  "outline"
      +]
    • addedInput schema / properties / start
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Read on from this character position (when a reply says More follows)",
      +  "title": "Start"
      +}
  3. Changed9 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "Fmt": {
      -    "enum": [
      -      "markdown",
      -      "json"
      -    ],
      -    "title": "Fmt",
      -    "type": "string"
      -  },
      -  "Section": {
      -    "enum": [
      -      "summary",
      -      "full"
      -    ],
      -    "title": "Section",
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / response_format / $ref
      Removed value: -"#/$defs/Fmt"
    • addedInput schema / properties / response_format / enum
      Added value: +[
      +  "markdown",
      +  "json"
      +]
    • addedInput schema / properties / response_format / title
      Added value: +"Response Format"
    • addedInput schema / properties / response_format / type
      Added value: +"string"
    • removedInput schema / properties / section / $ref
      Removed value: -"#/$defs/Section"
    • addedInput schema / properties / section / enum
      Added value: +[
      +  "summary",
      +  "full"
      +]
    • addedInput schema / properties / section / title
      Added value: +"Section"
    • addedInput schema / properties / section / type
      Added value: +"string"
  4. Changed1 schema field changed
    • changedInput schema / properties / section / description
      Previous value: -"'summary' = metadata + AI headnote (cheap); 'full' = + judgment text"New value: +"'summary' = metadata + headnote (cheap); 'full' = + judgment text"
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare this a safe, idempotent read, and the description adds genuinely new behavioral facts: 'full' may return only a first part and says so, 'summary' is the cheap relevance check, and all paragraph modes 'return the court's own words, never a summary.' The truncation/continuation contract is exactly the kind of disclosure an agent cannot infer from annotations.

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 action, then the recommended cheap-first path, then the long-judgment drill-down. Slightly redundant where it restates section semantics already present in the schema and repeats 'long judgment' twice, but no sentence is wasted.

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 values need no prose; what remains — which section to request, how to page a long judgment, and what the paragraph matchers yield — is fully covered for a 6-parameter tool with two enums.

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 83%, so the schema already carries most parameter meaning; the description adds the connecting logic between parameters (outline → paras → start as a sequence) and explains the per-opinion numbering convention with a worked example. Only response_format is left unexplained, which is acceptable for a self-describing enum.

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?

Opens with a specific verb+resource ('Fetch one judgment by id') and immediately distinguishes its own modes from retrieval siblings, which deal with citations/search rather than a single judgment. An agent knows exactly what it gets back.

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?

Strong within-tool routing: 'summary' first to judge relevance cheaply, 'outline' for long judgments, then paras/find/start to drill in. It never explicitly says when to prefer a sibling tool (e.g. caselaw_get_citations) over this one, so it stops short of full alternative-routing 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