Skip to main content
Glama

Ee Law Search

ee_law_search
Read-onlyIdempotent

Search Estonian national legislation (Riigi Teataja: acts, regulations, orders) by title word or abbreviation, e.g. "isikuandmete kaitse" or abbreviation "IKS". By default only acts in force today are returned (set in_force_only=false for repealed acts and older versions too). Returns id (globaalID of the text version), title, type, issuer, validity dates, in-force status and a link; 25 per page, use page to continue. Estonian-language titles. Pair with ee_law_get for the text.

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": {
      "query": "isikuandmete kaitse seadus"
    },
    "name": "ee_law_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based (default 1)
queryNoWord(s) from the Estonian title, e.g. "isikuandmete kaitse"
abbreviationNoOfficial abbreviation, e.g. "IKS" (use instead of query)
in_force_onlyNoOnly acts in force today (default true)

Output Schema

NameRequiredDescriptionDefault
pageNo
countNo
queryNo
sourceNo
resultsNo
next_pageNo
data_as_ofNo
abbreviationNo
in_force_onlyNo
total_matchesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), and the description goes well beyond them: default in-force-only filtering, the semantics of disabling it, a 25-per-page cap with page continuation, and the Estonian-language title constraint. These are operationally important traits an agent could not infer from structured fields.

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?

Dense but front-loaded: identity of the source first, then default scope, then return fields, then pagination, then the follow-up tool. Every clause carries information — examples, defaults, and the language caveat — with no filler.

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 an output schema present, return values need not be detailed, yet the description still previews the key fields and pagination. Annotations and full schema coverage handle the rest, leaving only the zero-required-parameter edge case unaddressed.

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%, so the baseline is 3; the description earns above that by explaining what in_force_only=false actually returns (repealed acts plus older versions) and by framing abbreviation as an alternative to query rather than an additional filter. It does not state what happens if both query and abbreviation are omitted, which is the one semantic gap.

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?

States a specific verb and resource ("Search Estonian national legislation (Riigi Teataja: acts, regulations, orders)") and immediately scopes the matching key to title word or abbreviation with concrete examples. It is cleanly separable from the sibling ee_law_get, which is named as the text-retrieval counterpart.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing guidance: search here, then "pair with ee_law_get for the text"; it also states the default retrieval scope and the exact switch (in_force_only=false) for repealed acts and older versions. The abbreviation-vs-query choice is spelled out with an example.

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.