Skip to main content
Glama

Get Scottish Judgment

get_scottish_judgment
Read-onlyIdempotent

Resolve a Scottish Courts judgment PDF and confirm it is actually reachable. Pass document_link exactly as returned by search_scottish_judgments (a relative /media/... path or absolute URL), or a case name / citation to look one up first. SCTS judgments are PDF-only, this tool returns the verified PDF URL, HTTP status, content-type and size, and text_extracted: false; it does NOT extract or return the judgment text (no PDF-text pipeline exists in this catalog). Fetch pdf_url to read the actual judgment.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "document_link": "/media/id5nvoe1/court-of-session-judgement-appeal-by-sca-against-mma-27-october-2020.pdf"
    },
    "name": "get_scottish_judgment"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoAlternative to document_link: a case name or distinctive phrase to look up the judgment by, if you do not already have its document_link.
document_linkNoThe documentLink / document_link value from search_scottish_judgments, e.g. "/media/id5nvoe1/court-of-session-judgement-appeal-by-sca-against-mma-27-october-2020.pdf".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, open-world, so the bar is lower, but the description still adds real value: it discloses the exact return fields (verified PDF URL, HTTP status, content-type, size, text_extracted: false) and the important limitation that no PDF-text pipeline exists. It does not discuss failure modes when a link is unreachable, which keeps it from a 5.

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?

Front-loads the core action, then input routing, then the critical limitation and next step. Dense but every sentence carries distinct information with no repetition of the schema.

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?

No output schema exists, and the description compensates by enumerating the returned fields and the text_extracted flag. The only gap is behavior on unreachable or invalid links, which an agent would want to know for a verification tool.

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 100%, so baseline is 3, but the description adds meaning beyond the schema: document_link may be a relative /media/... path or an absolute URL, and query is framed as the alternative when the link is not already known.

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 pair (resolve and confirm reachable) against a specific resource (Scottish Courts judgment PDF), and explicitly distinguishes itself from search_scottish_judgments by naming the sibling as the source of document_link.

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 input routing: pass document_link exactly as returned by search_scottish_judgments, or use query to look one up first. It also states the negative case clearly (does NOT extract text) and the follow-up action (fetch pdf_url to read the judgment).

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.