Skip to main content
Glama

Read a case record

get_case
Read-onlyIdempotent

Read-only. Read one case row by case id. Includes the court's name, level (supreme, appellate, trial, other) and state from the CourtListener courts file, and the case's opinions (lead opinion first, with how many opinions cite each and whether its stored text has words). Citations point at opinion ids, not the case id: use list_citations with case_id for all of them. citation_count is the source file's count, not a calculated authority rank. Treatment: negative_treatment_flag (red = verified overruled, abrogated or receded; yellow = possible) and, on a U.S. Supreme Court case, negative_treatment with overruled_by from the Constitution Annotated table of overruled decisions.

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": "get_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
case_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the read-only/idempotent/non-destructive profile, and the description goes well beyond them: it defines the red vs yellow meaning of negative_treatment_flag, explains that citation_count is a raw source-file count rather than a computed authority rank, and notes the U.S. Supreme Court-specific overruled_by field. These are behavioral semantics an agent could not infer from any structured field.

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?

The safety note and core action are front-loaded in the first line, and the remaining sentences are dense but each covers a distinct return-field caveat. The treatment-flag sentence is long and slightly tangled, but no sentence is filler.

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?

There is no output schema, so the description must describe return content, and it does so thoroughly: court metadata, opinion ordering, citation counts, and treatment flags with their color semantics. Nothing an agent needs to interpret the response correctly appears to be 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 0%, so the description has to carry the meaning of case_id, and it does — it repeatedly anchors the parameter as a case id as distinct from opinion ids returned in citations. It does not state the id format or an example, which keeps it out of the top score with a single undocumented parameter.

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 up front — 'Read one case row by case id' — and then enumerates exactly what the row contains (court name, level, state, opinions). The distinction from get_opinion and get_case_by_citation is implicit but clear from the 'by case id' framing and the pointer to list_citations.

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?

It explicitly routes the agent to list_citations with case_id for citation data and clarifies that citations point at opinion ids rather than the case id, which is exactly the confusion that would drive wrong tool choice. It stops short of saying when not to use this in favor of get_case_by_citation, so it is not a full when/when-not treatment.

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