Skip to main content
Glama

Ee Law Get

ee_law_get
Read-onlyIdempotent

Fetch one Estonian legal act text version by id from ee_law_search (e.g. "130062026052" for the current Personal Data Protection Act). Returns title, abbreviation, type, issuer, adoption date, State Gazette citation, in-force dates and amendment list, and the text. Pass section (e.g. "6" or "10^1" for section 10 superscript 1) for one section only; without it the text is capped at max_chars with a contents list. Text is the consolidated version as published in Riigi Teataja, in Estonian.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "130062026052",
      "section": "6"
    },
    "name": "ee_law_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesText-version id (globaalID) from ee_law_search, e.g. "130062026052"
sectionNoSection (paragrahv) number, e.g. "6", "10^1" for section 10 with superscript 1
max_charsNoCap on returned text when no section is given (default 20000, max 100000)

Output Schema

NameRequiredDescriptionDefault
idNo
urlNo
textNo
typeNo
foundNo
titleNo
issuerNo
sourceNo
adoptedNo
sectionNo
text_kindNo
amendmentsNo
data_as_ofNo
valid_fromNo
valid_untilNo
abbreviationNo
section_titleNo
gazette_citationNo
status_of_this_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds substantive behavior the annotations do not: the truncated full-text mode with a contents list, the max_chars cap, and the fact that text is the consolidated Riigi Teataja version in Estonian only.

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?

Front-loaded with the core action, then scoping, then return shape, then language caveat — every sentence carries information. The example ids and section examples are duplicated between description and schema, a minor redundancy.

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?

For a 3-param read tool with an output schema, the description covers the missing pieces an agent needs: where the id comes from, the section-omitted truncation mode, and the language of the returned text. The return-field listing mildly overlaps the output schema but is not harmful.

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 coverage is 100% with per-parameter descriptions, so baseline is 3. The description goes beyond it by explaining the interaction between section and max_chars — the cap only applies when no section is given — which the schema does not state.

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?

Opens with a specific verb+resource statement: fetch one Estonian legal act text version by id, and names ee_law_search as the origin of that id, which distinguishes it from the search sibling. The example id ties the abstract description to a concrete case.

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 establishes the workflow dependency (id comes from ee_law_search) and gives a clear decision rule: pass section for one section, omit it to get a capped full text plus contents list. It stops short of stating when-not to use it or naming alternatives outright, but the context is unambiguous.

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.