Skip to main content
Glama

Look up a citation

caselaw_lookup_citation
Read-onlyIdempotent

Find the judgment(s) at an exact law-report citation.

Example: journal='PLD', year=1995, page=34  → PLD 1995 Supreme Court 34.
Omit page to list everything reported in that journal+year. Returns the same case shape
as caselaw_search.

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": {
      "journal": "<journal>"
    },
    "name": "caselaw_lookup_citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage/serial number in the report (optional)
yearNoYear of the report, e.g. 1995
limitNo
offsetNo
journalYesLaw-report code, e.g. 'PLD', 'SCMR', 'CLC' (a whole citation such as 'PLD 1995 SC 34' is also understood)
response_formatNomarkdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / journal / description
      Previous value: -"Law-report code, e.g. 'PLD', 'SCMR', 'CLC'"New value: +"Law-report code, e.g. 'PLD', 'SCMR', 'CLC' (a whole citation such as 'PLD 1995 SC 34' is also understood)"
    • changedInput schema / properties / journal / maxLength
      Previous value: -30New value: +120
    • changedInput schema / properties / page / anyOf
      Previous value: -[
      -  {
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / year / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / year / default
      Added value: +null
    • addedInput schema / properties / year / description
      Added value: +"Year of the report, e.g. 1995"
    • removedInput schema / properties / year / maximum
      Removed value: -2100
    • removedInput schema / properties / year / minimum
      Removed value: -1900
    • removedInput schema / properties / year / type
      Removed value: -"integer"
    • changedInput schema / required
      Previous value: -[
      -  "journal",
      -  "year"
      -]New value: +[
      +  "journal"
      +]
  2. Changed5 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "Fmt": {
      -    "enum": [
      -      "markdown",
      -      "json"
      -    ],
      -    "title": "Fmt",
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / response_format / $ref
      Removed value: -"#/$defs/Fmt"
    • addedInput schema / properties / response_format / enum
      Added value: +[
      +  "markdown",
      +  "json"
      +]
    • addedInput schema / properties / response_format / title
      Added value: +"Response Format"
    • addedInput schema / properties / response_format / type
      Added value: +"string"
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description adds real value beyond that by explaining the page-omission listing behavior and by promising the same case shape as caselaw_search, though it says nothing about pagination defaults or page-size limits.

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 short sentences plus an inline example, with the core purpose front-loaded and no wasted prose. The example is the most efficient way to convey the citation format.

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?

With an output schema present, the description needn't enumerate return fields, and it still helpfully ties the shape to caselaw_search. Pagination behavior (limit/offset defaults, truncation signaling) is the only meaningful gap for a lookup tool of this complexity.

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 coverage is 50%, and the description compensates well for the most important param: journal is documented as accepting a whole citation string like 'PLD 1995 SC 34', and the example shows how year/page compose. The limit, offset, and response_format params remain undocumented in the description, which keeps it from a 5.

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 ('Find the judgment(s) at an exact law-report citation') and includes a concrete example mapping inputs to a canonical citation form. The 'exact citation' framing implicitly contrasts with keyword search siblings, and 'omit page to list everything' clarifies the tool's two modes.

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?

Clearly explains the two usage modes (with page = one judgment; without page = list the whole journal+year) and notes the return shape matches caselaw_search. It stops short of explicitly naming when to prefer caselaw_search (keyword lookup) over this exact-citation lookup, so the alternative routing is only implied.

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.

Resources