Skip to main content
Glama

caselaw_search

Read-onlyIdempotent

Search US court opinions (Caselaw Access Project, public domain) by case name / keyword, court, jurisdiction, and decision-date range. Returns matching case metadata with CAP ids and citations. Use caselaw_opinion_text with a returned id to read the full opinion. Note: v1 index covers the U.S. Reports reporter (official US Supreme Court reporter).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
courtNoOptional court-name fragment, e.g. 'Supreme Court'.
limitNoMaximum rows to return (default 25, max 100).
queryNoCase name or keyword, e.g. 'Brown Board Education', 'Miranda'.
end_dateNoOptional ISO date upper bound (YYYY-MM-DD).
start_dateNoOptional ISO date lower bound (YYYY-MM-DD).
jurisdictionNoOptional jurisdiction fragment, e.g. 'United States'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  2. 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 readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful non-structured context: the v1 index only covers the U.S. Reports reporter, a material scope limitation, plus a summary of what is returned (metadata with CAP ids and citations).

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?

Three tight sentences, front-loaded with purpose and filters, then the follow-up action, then the scope caveat. No filler or redundancy.

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?

No output schema exists, and the description compensates by stating the return shape (case metadata with CAP ids and citations) and the critical index-coverage limitation. Combined with annotations and a fully documented schema, an agent has everything needed to call and interpret this tool.

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 all six parameters are documented with examples and bounds in the schema itself. The description names the filter dimensions but adds no syntax, format, or combination rules beyond what the schema already provides, so the baseline of 3 applies.

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 (search US court opinions) and enumerates the filterable dimensions (case name/keyword, court, jurisdiction, date range). It also distinguishes itself from the sibling caselaw_opinion_text, so an agent can route without opening the schema.

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 names the alternative and the condition for using it: 'Use caselaw_opinion_text with a returned id to read the full opinion.' That is clear routing, though there is no explicit when-not-to-use guidance or mention of the other caselaw siblings (case_details, citation_lookup).

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.