Skip to main content
Glama
Slovenia Legal Research MCP Server

Slovenia Legal Research MCP Server

by jurisatlas

Get Legal Document Markdown

get_legal_document_markdown

Retrieve the full Markdown text of Slovenian legislation or court judgments by URL, ECLI, ELI, or official ID, with optional paging for long documents.

Instructions

Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) from Slovenia (SI) 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

B3.4/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 burden; 'Retrieve' signals a read-only fetch and 'full Markdown text' signals HTML/PDF-to-Markdown conversion. It does not mention pagination/character-per-page behavior, size limits, or what happens with an invalid or unresolvable identifier, all of which the caller would want to know.

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?

A single front-loaded sentence with the verb first and zero filler; every clause (type of document, HTML/PDF, jurisdiction, identifier forms) adds usable information.

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, return values needn't be described, and both parameters are fully documented in the schema. What remains thin is routing guidance relative to the search/verify siblings, which the description never supplies.

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 description coverage is 100%, including the 5,000-characters-per-page semantics of 'page', so the schema does the heavy lifting. The description only restates the accepted identifier forms (URL, official identifier) and adds no extra syntax or format detail beyond the schema.

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') plus scope (Slovenia, HTML or PDF, URL or official identifier). An agent can tell this is a full-text fetch rather than a search, but no sibling is named to make the contrast explicit.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative (e.g. verify_citation or the search_* tools). Usage is only implied by the phrase 'by its URL or official identifier', leaving the agent to infer that this is the fetch step after a search.

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