Skip to main content
Glama

Si Law Get

si_law_get
Read-onlyIdempotent

Fetch one Slovenian regulation by id from si_law_search (e.g. "ZAKO7959" for the Personal Data Protection Act ZVOP-2) or by gazette record number (e.g. "2022-01-4187"). Returns title, abbreviation, type, status, Official Gazette citation with amendments, adoption/publication/in-force dates, issuing body, text versions, and the text. Default text is the newest unofficial consolidated version; pass article (e.g. "8" or "8a") for one article only, or version (e.g. "Osnovni", "NPB 1") for another text. Without article the text is capped at max_chars with a contents list.

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": "ZAKO7959",
      "article": "8"
    },
    "name": "si_law_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRegister id such as "ZAKO7959", numeric record id, or gazette record number "2022-01-4187"
articleNoArticle number, e.g. "8" or "8a" (returns that article only)
versionNoText version name from the versions list, e.g. "Osnovni" or "NPB 2" (default: newest)
max_charsNoCap on returned text when no article is given (default 20000, max 100000)

Output Schema

NameRequiredDescriptionDefault
idNo
urlNo
textNo
typeNo
foundNo
titleNo
sourceNo
statusNo
adoptedNo
articleNo
versionsNo
issued_byNo
publishedNo
data_as_ofNo
gazette_pdfNo
prepared_byNo
abbreviationNo
applies_fromNo
text_versionNo
article_titleNo
gazette_issueNo
in_force_fromNo
record_numberNo
gazette_recordNo
in_force_untilNo
parliament_refNo
legislative_refNo
gazette_citationNo
text_version_noteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description's value is in the operational details it adds: the newest unofficial consolidated version is the default text, truncation is capped by max_chars with a contents list returned, and article mode bypasses that cap. These are behaviors not derivable from the annotation flags.

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?

Dense and front-loaded: identity and id formats come first, then return contents, then the retrieval-mode rules. Some examples overlap with the schema's own descriptions ('ZAKO7959', '2022-01-4187'), which is mild redundancy, but nothing is wasted or out of order.

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 an output schema present, the description needn't define the return shape, and it still summarizes the fields an agent should expect plus the default/truncation rules. What remains unstated is failure behaviour for an unresolvable id or unknown version name, a minor gap for a read-only lookup.

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, but the description adds a genuine cross-parameter interaction the schema does not express: 'Without article the text is capped at max_chars with a contents list' — telling the agent that article mode changes both the shape and the truncation of the response. Version names ('Osnovni', 'NPB 1') and article formats ('8a') are also grounded with realistic examples.

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 opens with a specific verb and resource ('Fetch one Slovenian regulation') and pins down the identifier formats with two concrete examples, including the sibling tool the id comes from. An agent can distinguish it from si_law_search immediately: search finds ids, this resolves one.

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 clearly ('by id from si_law_search') and gives the selection rule between the three text-retrieval modes: full text by default, `article` for one provision, `version` for another text. It does not state explicit when-not-to-use conditions, but for a getter that follows a named search tool the context is sufficient.

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.