Skip to main content
Glama
paulieb89

UK Legal Research MCP Server

Get Case Citation Network

citations_network
Read-onlyIdempotent

Map all citations from a UK judgment: cases, legislation, SIs, and retained EU law, grouped by type, deduplicated, and sorted for authority-network analysis.

Instructions

USE THIS TOOL WHEN you have a judgment slug and want to map every citation it makes — cases cited, legislation referenced, SIs, retained EU law.

Fetches the judgment XML from TNA and parses all OSCOLA citations within. Returns citations grouped by type, deduplicated and sorted. AFTER calling, pass any individual citation through citations_resolve to confirm it resolves and to retrieve its canonical URL.

Useful for authority-network analysis (what did this judgment rely on?) and for surfacing the legislative landscape a case sits inside.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYesCitationsNetworkInput with case_uri (TNA slug, e.g. 'uksc/2024/12').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
case_uriYesThe judgment URI that was fetched and parsed
neutral_citationsNoNeutral citations referenced, e.g. '[2020] UKSC 14'
legislation_refsNoLegislation section references, e.g. 's.47 Companies Act 2006'
si_refsNoStatutory Instrument references, e.g. 'SI 2018/1234'
eu_refsNoRetained EU law references, e.g. 'Regulation (EU) 2016/679'
law_report_refsNoLaw report citations, e.g. '[2020] 1 WLR 100'
total_citationsYesSum of all de-duplicated citations across every bucket
Behavior4/5

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

Annotations provide safety and idempotency hints. Description adds behavioral details: fetches XML from TNA, parses OSCOLA citations, returns grouped/deduplicated/sorted. No contradictions.

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 usage instruction, each sentence provides value. Slightly verbose but clear and well-structured.

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?

Given the moderate complexity, schema coverage, and output schema, the description fully addresses usage, parameter, and workflow, leaving no gaps.

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

Parameters5/5

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

Schema coverage is 100%, but description adds crucial context (use 'uri' field from case_law_search, not full URL) and specifies format examples, going beyond schema.

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?

Description clearly states the tool maps citations from a judgment slug, and distinguishes from siblings by directing to use citations_resolve for individual citations.

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 states when to use (when you have a judgment slug and want to map citations) and provides post-call action (use citations_resolve). Lacks explicit when-not to use, but context is clear.

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