Skip to main content
Glama

Romanian legal act (current consolidated form)

get_legal_act
Read-onlyIdempotent

Current consolidated text of a Romanian act by legislatie.just.ro id (from search_legislation), split by article: title, issuer, publication, consolidation date, version list and articles (number, heading, text, count of amendments). Paged with offset/limit (default 50 articles). Core codes (Codul fiscal 171282, Codul muncii 41627, Codul civil 175630, Codul de procedură civilă 140271, Codul de procedură fiscală 170007, Legea 31/1990 798) also work offline. Costs 1 credit. Source: legislatie.just.ro (Ministry of Justice); informational, consolidated forms are unofficial, only Monitorul Oficial text is authentic.

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": {
      "id": "<id>"
    },
    "name": "get_legal_act"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYeslegislatie.just.ro DetaliiDocument id, e.g. 171282
limitNoArticles per page, 1 to 200. Default 50
offsetNoArticle index to start at, 0-based. Default 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Articles per page, 1 to 200. Default 50"
    • addedInput schema / properties / offset / description
      Added value: +"Article index to start at, 0-based. Default 0"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, and the description adds material beyond them: pagination behaviour with a default page size, a 1-credit cost, the upstream source (Ministry of Justice), and an authenticity caveat that consolidated forms are unofficial and only Monitorul Oficial text is authoritative. Those are exactly the operational and trust facts an agent needs before relying on the output.

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?

Content is front-loaded: the core operation and return shape come first, then paging, then cost/source/caveat. It is a single dense sentence plus a closing note, with little waste, though the enumerated return fields and code list make it heavier than strictly necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the return-shape burden and does so by listing every top-level field and the per-article fields, plus paging, cost and the unofficial-text caveat. For a three-parameter read tool with full annotation coverage, nothing an agent needs to call or interpret it is missing.

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 description coverage is 100%, so limit ('1 to 200, default 50') and offset ('0-based, default 0') are already fully documented and the description only restates the paging default. It does add meaning beyond the schema for the id parameter by tying it to search_legislation output and by listing concrete offline-capable ids.

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 names a specific verb and resource ('Current consolidated text of a Romanian act') and immediately scopes it to the legislatie.just.ro id, then enumerates the returned structure (title, issuer, publication, consolidation date, version list, articles). This lets an agent separate it from search_legislation (id source) and from article- or history-level siblings without opening any schema.

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?

It states where the required id comes from ('from search_legislation') and adds a real routing condition: core codes (Codul fiscal, Codul muncii, etc.) also work offline. It does not explicitly say when to prefer get_legal_article or get_legal_act_history, so alternatives are implied by tool name rather than spelled out.

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.