Skip to main content
Glama
Bulgaria Legal Research MCP Server

Bulgaria Legal Research MCP Server

by jurisatlas

Get Legal Document Markdown

get_legal_document_markdown

Retrieve and convert Bulgarian legislation or court judgments from an HTML/PDF URL, ECLI, ELI, or official ID into paginated Markdown for legal research and citation review.

Instructions

Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) from Bulgaria (BG) 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.6/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 behavioral burden; it does disclose the operation is a read-only retrieval and that output is Markdown, which is genuine value. It omits notable behavior: the response is paginated in 5,000-character pages (only visible in the schema), what happens for unsupported document types or missing documents, and any size or rate limits. The phrase 'full Markdown text' also sits slightly awkwardly next to the paging parameter.

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 no filler; the jurisdiction and format qualifiers are packed into the same clause rather than padded into separate boilerplate.

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, so return-value description is not required, and for a two-parameter read tool the definition covers source, scope, and output format adequately. The remaining gap is behavior on failure or unsupported inputs and the practical consequence of pagination, which an agent would want stated explicitly.

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%, so both parameters are already documented with formats and defaults. The description reinforces that document_id_or_url accepts a URL or official identifier, but adds nothing about the page parameter or the accepted identifier families (ECLI/ELI) beyond what the schema states, so baseline 3 applies.

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?

A specific verb+resource: 'Retrieve full Markdown text of a legislation document or court judgment', with jurisdiction (Bulgaria/BG) and accepted source formats (HTML or PDF) named. It does not distinguish itself from siblings like search_legislation or search_case_law, but the retrieve-by-identifier framing is clear enough that an agent can tell it is the full-text fetch, not a search.

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?

Usage is only implied: the schema notes identifiers come 'returned by search tools', so an agent can infer the search-then-fetch flow, but the description itself states no when-to-use condition, no prerequisite, and no alternative. An agent must already know the sibling catalog to route correctly.

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