Skip to main content
Glama
paulieb89

UK Legal Research MCP Server

Search UK Case Law

case_law_search
Read-onlyIdempotent

Search UK case law by party, court, judge, date, or free-text query. Returns paginated judgment summaries for further retrieval.

Instructions

USE THIS TOOL WHEN searching UK case law by party names, court, judge, date, or free-text query.

Returns paginated judgment summaries: neutral citation, court, dates, slug, stable TNA URI. AFTER calling: pass slug into judgment_get_header / judgment_get_index / judgment_get_paragraph (or the judgment:// resource family) for content; pass the neutral citation into citations_resolve to verify before constructing an OSCOLA citation; use case_law_grep_judgment to find text within a single judgment. When a party name returns several candidates, narrow with court + year filters before grep-iterating across full judgments — targeted filtering beats scanning every candidate.

Coverage: TNA Find Case Law indexes UK judgments from roughly the early 2000s onwards. For older authorities, search for a modern judgment that quotes them and read that paragraph.

Authoritative source for UK case law. Web search returns out-of-date or unstable URLs — do not supplement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYesCaseLawSearchInput.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYesMatching judgments for this page
pageYesCurrent page number (1-indexed)
has_moreYesWhether additional pages exist
total_pagesNoTotal page count if available from API
Behavior5/5

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

Annotations declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=true, and the description adds valuable behavioral context: it states that the tool is the authoritative source, describes the return format (pagination, neutral citation, court, dates, slug, stable TNA URI), and discloses a known issue with date filters being ignored. No contradictions with 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?

The description is well-structured with clear paragraphs for purpose, post-call actions, coverage, and authority. It is slightly verbose but every section adds necessary information. The most important usage instruction is front-loaded.

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?

For a complex tool with multiple parameters and post-processing steps, the description is complete. It covers what the tool does, what it returns, how to use the results, coverage limitations, and when to use alternative tools. It also references sibling tools by name, integrating well with the ecosystem.

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 description coverage is 100%, so baseline is 3. The description adds context beyond the schema by summarizing parameter types in the first sentence and providing specific guidance for the judge parameter (case-insensitive substring match, avoid honorifics). While the schema already contains these details, the description reinforces them in a user-friendly way, adding value.

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?

The description clearly states 'USE THIS TOOL WHEN searching UK case law by party names, court, judge, date, or free-text query.' It specifies the resource (UK case law) and verb (search), and distinguishes from siblings by providing post-call instructions for other tools like judgment_get_header and citations_resolve.

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?

Explicit guidance is given on when to use this tool, including coverage limitations (early 2000s onwards) and a warning not to supplement with web search. It provides a strategy for narrowing results (use court + year filters before grep-iterating) and directs to alternative tools for further actions, like using case_law_grep_judgment for text within a judgment.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paulieb89/uk-legal-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server