Skip to main content
Glama
Malta Legal Research MCP Server

Malta Legal Research MCP Server

by jurisatlas

Get Legal Document Markdown

get_legal_document_markdown

Retrieve full Markdown text of Maltese legislation or court judgments using a document URL, ECLI, ELI, or official identifier, with paginated output for legal research and citation review.

Instructions

Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) from Malta (MT) by its URL or official identifier.

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": {
      "document_id_or_url": "<document_id_or_url>"
    },
    "name": "get_legal_document_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (5,000 characters per page).
document_id_or_urlYesDocument URL (.html or .pdf), ECLI, ELI, or official ID returned by search tools.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. 'Retrieve' clearly signals a read-only operation and it discloses that HTML/PDF sources are converted to Markdown, but it says nothing about truncation, rate limits, or failure modes for unresolvable identifiers.

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?

A single front-loaded sentence that conveys format, jurisdiction, and input types without padding. Minor redundancy in the parenthetical format and country code, but nothing that wastes reader attention.

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?

An output schema exists and pagination is captured in the schema, so the description needn't explain return values. It covers enough for an agent to call the tool correctly on a 2-parameter schema.

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 both parameters are documented there, including page size. The description only adds that the identifier may be an HTML/PDF URL or official identifier (ECLI/ELI), which is largely duplicative of the schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Retrieve) and resource (full Markdown text of a legislation document or court judgment) and scopes it to Malta with accepted input forms. It implicitly separates itself from the search_* siblings by fetching full text rather than listing results, though it never names them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'official ID returned by search tools' hints at a two-step search-then-fetch workflow, but the description itself gives no explicit when-to-use/when-not guidance or named alternatives, leaving the agent to infer the sequence.

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