Skip to main content
Glama

Amendment history of a Romanian act

get_legal_act_history
Read-onlyIdempotent

Consolidation dates (with version ids) and the dated list of amendments for a whole act or one article: date in force, what was changed and by which act. Useful for 'what was the VAT rule on date X'. Costs 2 credits; not billed if not found. 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_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYeslegislatie.just.ro DetaliiDocument id, e.g. 171282 for Codul fiscal
articleNoLimit the amendment list to one article, e.g. 291 or 293^1. Omit for the whole act

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / article / description
      Previous value: -"Limit to one article, e.g. 291"New value: +"Limit the amendment list to one article, e.g. 291 or 293^1. Omit for the whole act"
    • addedInput schema / properties / id / description
      Added value: +"legislatie.just.ro DetaliiDocument id, e.g. 171282 for Codul fiscal"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/openWorld annotations it discloses commercial behavior ('Costs 2 credits; not billed if not found'), data provenance (legislatie.just.ro, Ministry of Justice) and an authenticity caveat that consolidated forms are unofficial and only Monitorul Oficial text is authoritative. These are exactly the facts an agent needs before relaying legal output to a user.

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?

Three dense sentences, front-loaded with the payload (what is returned), then the use case, then cost and provenance caveats. Nothing is repeated and no sentence is filler despite the run-on punctuation inside the first sentence.

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?

There is no output schema, so the description must describe return shape, and it does: dated entries with an in-force date, the change made, and the amending act, plus version ids for consolidations. Cost, billing exception, source and legal-authority caveat complete the picture for a legal-data tool.

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, so the schema carries the load; this is the baseline case. The description adds only a mild hint that consolidation entries carry version ids and that the article parameter narrows the amendment list, but no id format or version-id usage detail.

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 resource and output ('Consolidation dates (with version ids) and the dated list of amendments') and bounds its scope to 'a whole act or one article'. This is enough for an agent to separate it from get_legal_act/get_legal_article, which return act text rather than its amendment timeline.

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 provides a concrete triggering scenario: 'what was the VAT rule on date X', which is a clear point-in-time lookup use case. It does not name an explicit alternative or state when not to use it (e.g. use get_legal_act for the current consolidated text), so it falls short of full routing guidance.

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.