Skip to main content
Glama

Resolve Single OSCOLA Citation

citations_resolve
Read-onlyIdempotent

USE THIS TOOL BEFORE constructing an OSCOLA citation string from known fields, OR to confirm a citation points at a real document.

Returns parsed fields plus resolved_url. Neutral citations are checked live against TNA, SIs against legislation.gov.uk: verified=true means the document exists; if the source confirms it does not, verified=false and confidence=0.0 — do NOT format or quote that citation. Act sections, law reports and retained EU law cannot be checked and come back verified=false (Acts with a search_url, not a resolved_url): present them as unverified.

A transient error means the check could not run (timeout, 429, 5xx) — NOT that the document is absent; retry, or proceed without claiming verification.

AFTER calling, if this tool raises or returns no resolved_url, do NOT manufacture a citation — surface the failure and ask the user for the source URL.

Authoritative source for UK legal-citation resolution.

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": {
      "citation": "<citation>"
    },
    "name": "citations_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
citationYesA single OSCOLA citation to parse and resolve. E.g. '[2024] UKSC 12', 'SI 2018/1234', 's.47 Companies Act 2006'

Output Schema

NameRequiredDescriptionDefault
rawYesOriginal citation text as found in the source
pageNoStarting page in the law report
typeYesClassification of the citation type
yearNoYear component of the citation
courtNoCourt code: UKSC, UKPC, EWCA Civ, EWCA Crim, EWHC (KB), EWHC (Ch), EWHC (Comm), EWHC (Fam), EWHC (Pat), EWHC (IPEC), UKUT (IAC), UKUT (TCC), UKUT (AAC), UKUT (LC), EAT, UKFTT (TC), UKFTT (GRC)
numberNoJudgment number within the year
volumeNoReport volume number (for law reports)
sectionNoSection number referenced
si_yearNoSI year (for SI YYYY/NNN citations)
verifiedNoTrue only when this server confirmed the document exists at resolved_url against the authoritative source (TNA for neutral citations, legislation.gov.uk for SIs). Always false from citations_parse, and for citation types this server cannot check (Act sections, law reports, retained EU law).
si_numberNoSI number
confidenceYesParse confidence 0.0–1.0: how sure the parser is about the citation's shape. Citations below 0.7 are ambiguous and may have been sent for LLM disambiguation. 0.0 from citations_resolve means the source confirmed the document does not exist. Existence is reported by `verified`, not by a high confidence.
search_urlNoFor Act sections: a legislation.gov.uk title-search URL. It is a search, not a link to the Act, and does not confirm the Act exists.
resolved_urlNoCanonical TNA Find Case Law or legislation.gov.uk URL for the cited document, constructed from the citation. Constructing a URL does not prove the document exists: check `verified`. Null when no canonical URL can be built (ambiguous court, Act sections — see search_url).
report_seriesNoLaw report series abbreviation: WLR, AC, QB, KB, Ch, All ER, EWCA Civ, etc.
legislation_titleNoTitle of legislation (for s.NN Act YYYY citations)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / confidence / description
      Previous value: -"Parse confidence 0.0–1.0. Citations below 0.7 are ambiguous and may have been sent for LLM disambiguation."New value: +"Parse confidence 0.0–1.0: how sure the parser is about the citation's shape. Citations below 0.7 are ambiguous and may have been sent for LLM disambiguation. 0.0 from citations_resolve means the source confirmed the document does not exist. Existence is reported by `verified`, not by a high confidence."
    • changedOutput schema / properties / resolved_url / description
      Previous value: -"TNA Find Case Law or legislation.gov.uk URL if successfully resolved"New value: +"Canonical TNA Find Case Law or legislation.gov.uk URL for the cited document, constructed from the citation. Constructing a URL does not prove the document exists: check `verified`. Null when no canonical URL can be built (ambiguous court, Act sections — see search_url)."
    • addedOutput schema / properties / search_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "For Act sections: a legislation.gov.uk title-search URL. It is a search, not a link to the Act, and does not confirm the Act exists."
      +}
    • addedOutput schema / properties / verified
      Added value: +{
      +  "default": false,
      +  "description": "True only when this server confirmed the document exists at resolved_url against the authoritative source (TNA for neutral citations, legislation.gov.uk for SIs). Always false from citations_parse, and for citation types this server cannot check (Act sections, law reports, retained EU law).",
      +  "type": "boolean"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / citation
      Added value: +{
      +  "description": "A single OSCOLA citation to parse and resolve. E.g. '[2024] UKSC 12', 'SI 2018/1234', 's.47 Companies Act 2006'",
      +  "maxLength": 500,
      +  "minLength": 3,
      +  "type": "string"
      +}
    • removedInput schema / properties / params
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "CitationsResolveInput.",
      -  "properties": {
      -    "citation": {
      -      "description": "A single OSCOLA citation to parse and resolve. E.g. '[2024] UKSC 12', 'SI 2018/1234', 's.47 Companies Act 2006'",
      -      "maxLength": 500,
      -      "minLength": 3,
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "citation"
      -  ],
      -  "type": "object"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "params"
      -]New value: +[
      +  "citation"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / params / description
      Previous value: -"CitationsResolveInput with a single citation string."New value: +"CitationsResolveInput."
  4. Changed1 schema field changed
    • addedInput schema / properties / params / description
      Added value: +"CitationsResolveInput with a single citation string."
  5. Changed18 schema fields changed
    • changedOutput schema / description
      Previous value: -"Generic wrapper for non-object return types."New value: +"A single parsed OSCOLA citation with optional resolution."
    • addedOutput schema / properties / confidence
      Added value: +{
      +  "description": "Parse confidence 0.0–1.0. Citations below 0.7 are ambiguous and may have been sent for LLM disambiguation.",
      +  "maximum": 1,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedOutput schema / properties / court
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Court code: UKSC, UKPC, EWCA Civ, EWCA Crim, EWHC (KB), EWHC (Ch), EWHC (Comm), EWHC (Fam), EWHC (Pat), EWHC (IPEC), UKUT (IAC), UKUT (TCC), UKUT (AAC), UKUT (LC), EAT, UKFTT (TC), UKFTT (GRC)"
      +}
    • addedOutput schema / properties / legislation_title
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Title of legislation (for s.NN Act YYYY citations)"
      +}
    • addedOutput schema / properties / number
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Judgment number within the year"
      +}
    • addedOutput schema / properties / page
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Starting page in the law report"
      +}
    • addedOutput schema / properties / raw
      Added value: +{
      +  "description": "Original citation text as found in the source",
      +  "type": "string"
      +}
    • addedOutput schema / properties / report_series
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Law report series abbreviation: WLR, AC, QB, KB, Ch, All ER, EWCA Civ, etc."
      +}
    • addedOutput schema / properties / resolved_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "TNA Find Case Law or legislation.gov.uk URL if successfully resolved"
      +}
    • removedOutput schema / properties / result
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / section
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Section number referenced"
      +}
    • addedOutput schema / properties / si_number
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "SI number"
      +}
    • addedOutput schema / properties / si_year
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "SI year (for SI YYYY/NNN citations)"
      +}
    • addedOutput schema / properties / type
      Added value: +{
      +  "description": "Classification of the citation type",
      +  "enum": [
      +    "neutral",
      +    "law_report",
      +    "legislation",
      +    "si",
      +    "eu_retained"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / volume
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Report volume number (for law reports)"
      +}
    • addedOutput schema / properties / year
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Year component of the citation"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "result"
      -]New value: +[
      +  "raw",
      +  "type",
      +  "confidence"
      +]
    • removedOutput schema / x-fastmcp-wrap-result
      Removed value: -true
  6. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond the annotations: it discloses which registries are checked live (TNA for neutral citations, legislation.gov.uk for SIs), that verified=false with confidence=0.0 is a definitive negative while unverifiable categories (Acts, law reports, retained EU law) come back with search_url instead of resolved_url, and that transient errors (timeout, 429, 5xx) mean the check did not run rather than absence. It also specifies the failure protocol — surface the error, do not manufacture a citation.

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 usage directive, then verification semantics, then error handling — a logical order with almost no redundancy. It runs long with emphatic capitalization and a trailing 'authoritative source' line that adds little, which keeps it from a 5.

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?

An output schema exists, yet the description still explains the meaning of verified, confidence, and resolved_url vs search_url, which is the interpretive layer the schema cannot supply. Error, retry, and unverifiable-category behavior are all covered, leaving nothing an agent needs in order to call and interpret it.

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?

Only one parameter and schema description coverage is 100%, including concrete examples of accepted citation forms, so the schema already carries the semantics. The description restates that a single citation is taken but adds no format, normalization, or edge-case detail beyond the 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?

States a specific verb and resource — parse and resolve a single OSCOLA citation against authoritative sources — and explicitly frames its role relative to citation construction (sibling citations_format_oscola). An agent can distinguish this from parse/format tools without opening a 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?

Gives explicit when-to-use conditions (before constructing a citation from known fields, or to confirm the document exists) plus what to do on failure (do not fabricate a citation, ask the user for a source URL). It also names the alternative path implicitly by pointing at formatting from known fields, which is the sibling tool's job.

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.