Skip to main content
Glama
UK Business Tools - Ledgerhall

UK Business Tools - Ledgerhall

Search UK Case Law

law_case_law_search
Read-onlyIdempotent

Search UK case law by party, court, judge, date, or free-text query and return paginated judgment summaries with neutral citations and stable links.

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.

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

Input Schema

NameRequiredDescriptionDefault
pageNoResult page number (1-indexed)
courtNoFilter by court slug. Values: 'uksc', 'ukpc', 'ewca/civ', 'ewca/crim', 'ewhc/kb', 'ewhc/qb', 'ewhc/ch', 'ewhc/comm', 'ewhc/fam', 'ewhc/pat', 'ewhc/ipec', 'ewhc/admin', 'ewhc/tcc', 'ewhc/costs', 'ewhc/admlty', 'ewhc/bp', 'ewfc', 'ewcop', 'eat', 'ukut/iac', 'ukut/aac', 'ukut/tcc', 'ukut/lc', 'ukftt/tc', 'ukftt/grc', 'nica', 'niqb'.
judgeNoFilter by judge surname. Case-insensitive substring match against the indexed form. Use the surname alone ('Reed', 'Sumption') or with the bare title ('Lord Reed'). Honorific suffixes silently zero the result set — do not append 'JSC', 'of Allermuir', 'KC' etc. Speculating a fuller form than what TNA indexed will return 0 hits with no error.
limitNoMaximum results to return (1–50). TNA returns up to 50 per request; this slices client-side. Default 10 for a tight shortlist. Set higher for breadth (e.g. 50 to scan the full result set).
partyNoFilter by party name
queryYesFull-text search query, e.g. 'negligence duty of care'
to_dateNoLatest judgment date (YYYY-MM-DD). Same caveat as `from_date` — currently silently ignored by upstream. Filtering happens client-side at best.
from_dateNoEarliest judgment date (YYYY-MM-DD). NOTE: the TNA atom.xml endpoint currently appears to ignore this filter — the same results come back regardless. Do not rely on it to narrow output; sort+slice client-side or refine `query` instead.

Output Schema

NameRequiredDescriptionDefault
pageYesCurrent page number (1-indexed)
resultsYesMatching judgments for this page
has_moreYesWhether additional pages exist
attributionNoOpen Justice Licence attribution for the Find Case Law content in this result.
total_pagesNoTotal page count if available from API
unparsed_resultsNoFeed entries on this page that could not be parsed and are omitted from `results`. When greater than zero, `results` is incomplete for this page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.1
    • changedInput schema / properties / court / description
      Previous value: -"Filter by court slug. Values: 'uksc', 'ukpc', 'ewca/civ', 'ewca/crim', 'ewhc/kb', 'ewhc/ch', 'ewhc/comm', 'ewhc/fam', 'ewhc/pat', 'ewhc/ipec', 'ewhc/admin', 'ewhc/tcc', 'ewhc/costs', 'ewfc', 'ewcop', 'eat', 'ukut/iac', 'ukut/aac', 'ukut/tcc', 'ukut/lc', 'ukftt/tc', 'ukftt/grc', 'nica', 'niqb'."New value: +"Filter by court slug. Values: 'uksc', 'ukpc', 'ewca/civ', 'ewca/crim', 'ewhc/kb', 'ewhc/qb', 'ewhc/ch', 'ewhc/comm', 'ewhc/fam', 'ewhc/pat', 'ewhc/ipec', 'ewhc/admin', 'ewhc/tcc', 'ewhc/costs', 'ewhc/admlty', 'ewhc/bp', 'ewfc', 'ewcop', 'eat', 'ukut/iac', 'ukut/aac', 'ukut/tcc', 'ukut/lc', 'ukftt/tc', 'ukftt/grc', 'nica', 'niqb'."
    • addedOutput schema / properties / attribution
      Added value: +{
      +  "description": "Open Justice Licence attribution for the Find Case Law content in this result.",
      +  "properties": {
      +    "licence_url": {
      +      "default": "https://caselaw.nationalarchives.gov.uk/open-justice-licence/version/2",
      +      "description": "The Open Justice Licence v2.0.",
      +      "type": "string"
      +    },
      +    "statement": {
      +      "default": "Contains information licensed under the Open Justice - Licence v2.0.",
      +      "description": "Attribution required by the Open Justice Licence. Include it, verbatim, wherever this judgment content is shown or reused.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.3.0
    • addedOutput schema / properties / unparsed_results
      Added value: +{
      +  "default": 0,
      +  "description": "Feed entries on this page that could not be parsed and are omitted from `results`. When greater than zero, `results` is incomplete for this page.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
  3. First observedv0.2.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/open-world, so the description earns credit for the extras: pagination, the returned fields, TNA coverage starting ~early 2000s, and a warning not to substitute web search. One flaw: it presents 'date' and 'year filters' as working narrowing axes while the schema declares from_date/to_date are silently ignored upstream, so the recommended narrowing strategy can mislead.

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?

Front-loaded with the trigger condition, then a clean BEFORE/AFTER structure with labeled sections. Slightly verbose in the grep-iteration aside, but nearly every sentence carries actionable routing or coverage information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter search with an output schema, the description supplies the workflow handoffs, coverage limits, and anti-pattern warnings an agent needs. The residual gap is the tension between recommending year/date narrowing and the schema's note that those filters are no-ops upstream.

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 coverage is 100% and the schema already documents the court slug list, the judge honorific-suffix trap, the client-side limit slicing, and the broken date filters. The description mentions the filter axes and a narrowing heuristic but adds no syntax or format meaning beyond the schema, so the baseline 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?

Opens with a specific verb and resource ('searching UK case law') and enumerates the exact query axes (party names, court, judge, date, free-text). It is immediately distinguishable from law_case_law_grep_judgment and the judgment_get_* family, which it explicitly names as downstream.

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?

States when to use it, then gives an explicit post-call routing table: slug into judgment_get_header/index/paragraph, neutral citation into citations_resolve, grep for in-document text. It even gives a strategy rule ('narrow with court + year filters before grep-iterating') and a fallback for pre-2000s authorities.

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

Deploy Server

Other Tools