Skip to main content
Glama

ro-eli-mcp

An MCP server for the Romanian Portal Legislativ (legislatie.just.ro), the Ministry of Justice legislative database, through its public SOAP API. It searches Romanian legislation and returns metadata and full text, with verifiable citations.

Part of the MateMatic eu-legal-mcp production line - after PL, DE, AT, ES, FI, IE, NL, SE, FR, LU, DK, CZ, HR, LT and SK. Same citation contract, Portal Legislativ source. This connector talks SOAP (a token obtained via GetToken, no registration, then Search).

Scope. This MVP searches acts by title, free text, year and number, and returns the full text the API provides inline. The same number can exist across act types (LEGE, DECRET, HOTARARE...), so a tip_act disambiguates. The API returns up to 10 results per page. Language: Romanian. Every response carries a dataset_note.

ELI is national, not data.europa.eu. Romania has no data.europa.eu ELI for this portal. eli_uri carries the canonical legislatie.just.ro document URL (the stable national identifier), which is also the source_url. Every response carries an eli_note.

The tools

Tool

What it does

ro_search

Search acts by title, text, year and/or number (metadata only).

ro_get_act

Metadata for an act by number + year (+ tip_act to disambiguate).

ro_get_text

Full text of an act by number + year (+ tip_act).

ro_coverage

Declare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback.

Every response carries the contract: eli_uri (the legislatie.just.ro URL), human_readable_citation (e.g. LEGE nr. 190/2018), and source_url.

Related MCP server: mozaia-laws-mcp

Install

Run it with no install step (once published to PyPI):

uvx ro-eli-mcp

Or from source:

cd ro-eli-mcp
pip install -e .

Configure (Claude Code / any MCP client)

{
  "mcpServers": {
    "ro-eli-mcp": { "command": "ro-eli-mcp" }
  }
}

Windows 11 with Smart App Control

Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe and the ro-eli-mcp.exe launcher that pip writes at install time. The python.exe and py.exe from the python.org installer are signed by the Python Software Foundation, so running the module through the interpreter works:

python -m pip install ro-eli-mcp
python -m ro_eli_mcp

pip.exe is blocked for the same reason, so install with python -m pip, not pip install. If python is not on PATH, use the Windows launcher: py -3 -m ro_eli_mcp.

{ "mcpServers": { "ro-eli-mcp": { "command": "python", "args": ["-m", "ro_eli_mcp"] } } }

Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.

Environment:

  • RO_ELI_ENDPOINT - default https://legislatie.just.ro/apiws/FreeWebService.svc/SOAP

  • RO_ELI_CACHE_DIR - default ~/.matematic/cache/ro-eli

  • RO_ELI_AUDIT_DIR - default ~/.matematic/audit

No API key. The token is obtained via GetToken automatically (no registration).

Governance

  • Public data only - read-only against the Portal Legislativ; no client data leaves the machine.

  • Audit log - every tool call appends one JSON line to ~/.matematic/audit/ro-eli-mcp.jsonl.

  • Vendor-neutral - talks only to legislatie.just.ro; no LLM provider, no telemetry.

  • Verifiable citations - every response is independently checkable via source_url.

See CONSTITUTION.md and DISCOVERY.md.

Tests

pip install -e ".[dev]"
pytest tests/test_instructions_drift.py tests/test_parse.py -v   # offline
pytest tests/test_smoke.py -v                                    # hits the live SOAP API

Licence

Apache-2.0. © Matematic Solutions / Wieslaw Mazur. Romanian legislation is public domain; relayed read-only with attribution and a source_url.

Available Tools

3 tools
ro_get_actA
Read-onlyIdempotent

Fetch Romanian act metadata by number + year (disambiguate with tip_act).

ParametersJSON Schema
NameRequiredDescriptionDefault
yearYesyear, e.g. ``2018``.
numberYesact number, e.g. ``190``.
tip_actNoact type to disambiguate (e.g. ``"LEGE"``), when several types share a number.

Output Schema

ParametersJSON Schema
NameRequiredDescription
yearNo
titleNo
issuerNo
numberNo
eli_uriNo
tip_actNo
eli_noteNo
source_urlNo
publicationNo
dataset_noteNo
date_in_forceNo
human_readable_citationNo

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false, covering safety. The description adds the disambiguation behavior but little else; no contradiction with annotations.

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 that conveys the core purpose and the only nuance (disambiguation). No wasted words.

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 a rich output schema, comprehensive annotations, and only two siblings, the description is sufficient for an agent to select and invoke the tool correctly. It could have benefited from a brief mention of when not to use it, but the overall context is adequate.

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%, so the baseline is 3. The description restates the relationship between number, year, and tip_act, but adds no new format or syntax details beyond what the schema already provides.

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?

The description 'Fetch Romanian act metadata by number + year' uses a specific verb and resource, clearly identifying what the tool does. The mention of tip_act for disambiguation further distinguishes it from sibling tools like ro_search and ro_get_text.

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?

The description implies the tool should be used when the act number and year are known, with tip_act available for disambiguation. It does not explicitly name alternatives or exclusion criteria, but the context is clear enough for a lookup tool.

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

ro_get_textA
Read-onlyIdempotent

Fetch the full Romanian text of an act by number + year (disambiguate with tip_act).

ParametersJSON Schema
NameRequiredDescriptionDefault
yearYesyear, e.g. ``2018``.
numberYesact number, e.g. ``190``.
tip_actNoact type to disambiguate (e.g. ``"LEGE"``).

Output Schema

ParametersJSON Schema
NameRequiredDescription
yearNo
titleNo
formatNo
numberNo
contentNo
eli_uriNo
tip_actNo
eli_noteNo
byte_sizeNo
source_urlNo
dataset_noteNo
human_readable_citationNo

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly and idempotent behavior, lowering the bar for additional disclosure. The description adds meaningful context: it returns the *full* text and highlights the need for disambiguation when number+year may be ambiguous, which is beyond what the annotations provide.

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?

The description is a single, front-loaded sentence that conveys the essential purpose and a key usage nuance. Every word earns its place, with no filler or redundant elaboration.

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?

Given the presence of an output schema and rich annotations, the description is adequate for correct selection and invocation. It covers the core purpose and disambiguation logic, though it omits explicit guidance on when to use this tool versus siblings, which is partially covered in the usage dimension.

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%, with each parameter (year, number, tip_act) already documented. The description minimally restates the schema ('by number + year (disambiguate with tip_act)') without adding new semantic meaning, so the baseline score of 3 is appropriate.

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?

The description uses a specific verb 'Fetch' and clearly identifies the resource: the full Romanian text of an act, identified by number and year. This distinguishes it from sibling tools like ro_search (search-oriented) and ro_get_act (likely retrieving act metadata) by focusing on full-text retrieval.

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 description implies when to use this tool (when full text is needed) but does not explicitly compare against alternatives. It does mention the disambiguation parameter 'tip_act', which is a usage guideline, but no explicit when/to/not-to guidance relative to siblings is provided.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 3 tool updatesv0.1.2
    • First observedro_get_act
    • First observedro_get_text
    • First observedro_search

TDQS

A4.3/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: ro_search finds acts based on criteria, ro_get_act retrieves metadata, and ro_get_text retrieves the full text. Even though get_act and get_text share parameters, their outputs are different and descriptions are explicit.

Naming Consistency4/5

The naming follows a consistent pattern with the 'ro_' prefix and verb-noun structure (ro_search, ro_get_act, ro_get_text). ro_search is slightly shorter than the others but still clearly aligned, making the set predictable.

Tool Count5/5

Three tools is well-scoped for a legislation retrieval server. Each tool covers a distinct, essential step in the workflow: search, metadata lookup, and full text access.

Completeness5/5

The tool surface covers the complete lifecycle for a read-only legal database: discovering acts via search, retrieving structured metadata, and accessing the full text. No obvious gaps are present for the stated purpose.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    MCP server for querying French legislation and case law via the Legifrance API, enabling search and retrieval of laws, codes, and court decisions with verifiable citations.
    8
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server for real-time access to Mozambican legislation, enabling search, status checks, article retrieval, historical versions, and citation resolution via the Mozaia platform.
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    An MCP server for accessing Turkish legislation (laws, regulations, decrees) via the Adalet Bakanligi API, providing search, full-text retrieval, and structured citations.
    5
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server for Azerbaijan's official legal-acts database (e-qanun.az), enabling search, metadata retrieval, and full-text access to legislative and judicial documents.
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/ro-eli-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server