Skip to main content
Glama

Search case names

search_case_names
Read-onlyIdempotent

Case-name metadata search over the local CourtListener mirror. Punctuation-insensitive trigram match on the case name ("Brown v board of education" matches "Brown v. Board of Education"). Returns cluster rows: id, case_name, case_name_short, date_filed, precedential_status, citation_count, slug. Metadata only: no opinion text, and not concept search (it finds a case by its name, not by what it is about). Case law in this mirror ends 2026-09-30 (exact scan of all 10,174,547 case records): a thin or empty result for recent authority means the collection ends there, not that no such case exists. Every response carries a "note" stating that response’s source and coverage limits.

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": {
      "q": "<q>"
    },
    "name": "search_case_names"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYescase name or fragment (>=3 chars)
sortNoorder: citation (default), date, date_asc
courtNofilter to CourtListener court ids (e.g. ["scotus","ca10"]); OR within the list
limitNomax results, 1-20 (default 20)
date_filed_afterNoonly cases filed on/after this date (YYYY-MM-DD)
date_filed_beforeNoonly cases filed on/before this date (YYYY-MM-DD)
min_citation_countNominimum citation_count
precedential_statusNofilter by precedential status; OR within the list

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the bar is behavioral detail on top — and the description delivers: punctuation-insensitive trigram matching with a worked example, a fixed result shape, a hard coverage cutoff date, and a "note" field in every response stating source and limits. That is exactly the disclosure an agent needs to trust and qualify its findings.

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?

Front-loads the identity and matching rule, then the exclusion, then the coverage caveat, then the response note. Four tight sentences, each carrying a distinct and non-redundant fact; no 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?

Eight parameters but only one required, and the schema documents all of them; with no output schema, the description compensates by naming the returned cluster fields. It also discloses the data-coverage horizon and the per-response note, which is the main thing an agent must know before treating an empty result as authoritative.

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 100%, so the baseline is 3; the description earns an extra point by adding matching semantics for the required q parameter (punctuation-insensitive trigram, example query/result pair) that the schema's "case name or fragment (>=3 chars)" does not convey. It says nothing extra about sort, court, date bounds, or min_citation_count, relying on the schema for those.

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 ("case-name metadata search over the local CourtListener mirror") and immediately bounds the scope: "Metadata only: no opinion text, and not concept search." This lets an agent separate it from search_by_concept and search_opinion_text on purpose alone, before opening any schema.

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

Usage Guidelines5/5

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

Explicitly defines when to use it ("it finds a case by its name") and when not to (not concept search, not full-text). It also gives operational guidance for interpreting results: a thin or empty result for recent authority means the collection ends 2026-09-30, not that the case is absent — a condition an agent would otherwise misread.

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