Skip to main content
Glama

Search Case Law

search_case_law

Search US court decisions and binding precedents by legal issue, party name, or case number across federal and state courts, with optional court filtering to narrow results.

Instructions

Search United States (US) court decisions and binding precedents via CourtListener REST API v4 (Free Law Project - Federal & 50 States) and open national judicial archives (Supported courts: scotus (US Supreme Court), ca1..ca11, cadc, cafc (Federal Circuit Courts), State Supreme Courts (50 States)).

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": {
      "query": "<query>"
    },
    "name": "search_case_law"
  }
}

Input Schema

NameRequiredDescriptionDefault
courtNoOptional court filter (scotus (US Supreme Court), ca1..ca11, cadc, cafc (Federal Circuit Courts), State Supreme Courts (50 States)).
limitNoMaximum number of judgments to return.
queryYesLegal issue, keywords, party name, or ECLI/case number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden; it does usefully disclose the data source, API version, and jurisdictional coverage. It says nothing about rate limits, authentication/API-key requirements, result ordering, or pagination behavior, which matter for a live third-party REST API. An output schema exists, so return-value detail is less critical.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence, which is good, but the long parenthetical restating the court list duplicates the schema field verbatim and bloats the description. Roughly half the text is redundant with structured data.

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?

For a three-parameter search tool with a full-coverage schema and an output schema, the definition is minimally adequate: the corpus and jurisdiction list are clear. It is incomplete regarding how it differs from its tiered-court sibling and what operational constraints (rate limits, auth) apply to the external API.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description only repeats the court enumeration already present in the schema and adds no meaning about query syntax (keyword vs. party name vs. ECLI) or how court codes behave when omitted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Search United States (US) court decisions and binding precedents') and names the underlying source (CourtListener REST API v4), so an agent knows exactly what corpus is queried. However, it never distinguishes itself from the close sibling search_tiered_court_decisions, which appears to cover overlapping ground.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no routing to alternatives such as search_tiered_court_decisions or verify_citation. Usage is only inferable from the phrase 'binding precedents', leaving the agent to guess which search tool to pick.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.