Skip to main content
Glama

Si Law Search

si_law_search
Read-onlyIdempotent

Search Slovenian national legislation (Register of regulations: acts, decrees, rules, ordinances) by title or abbreviation, e.g. "ZVOP-2" or "Zakon o gospodarskih družbah". Set in_content=true to match words in the text too (Slovenian words). Returns id (e.g. ZAKO7959), title, status (in force or not), adoption and publication dates, issuing and drafting bodies, and a link; 10 per page, pass next_cursor to continue. Pair with si_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": "ZVOP-2"
    },
    "name": "si_law_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesTitle, abbreviation or Slovenian keyword, e.g. "ZVOP-2"
cursorNonext_cursor from a previous page
in_contentNoAlso search the full text (default false: title only)
in_force_onlyNoDrop results whose status is not "Veljaven predpis" (in force) from the page (default false)

Output Schema

NameRequiredDescriptionDefault
countNo
queryNo
sourceNo
resultsNo
searchedNo
data_as_ofNo
next_cursorNo
total_matchesNo

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 behavior, so the safety profile is covered. The description adds genuinely useful operational detail not in the annotations: page size of 10, the next_cursor continuation contract, and the important caveat that in_force_only drops non-"Veljaven predpis" entries from the returned page rather than excluding them server-side.

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 purpose, then query shape, then return fields, then pagination, then the companion tool – a logical order with no filler. It is a dense single paragraph, so the return-field enumeration and pagination note could be split for faster scanning, but no sentence is wasted.

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?

Even though an output schema exists, the description enumerates the returned fields and explains pagination and filtering behavior, which is more than required. For a four-parameter read-only search with full schema coverage, an agent has everything needed to call it and to chain into si_law_get.

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 the baseline is 3, but the description adds value by illustrating realistic Slovenian query strings and by restating the cursor/next_cursor handshake and the page size, which the schema does not mention. The in_content and in_force_only semantics are largely mirrored from the schema rather than extended.

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 Slovenian national legislation") and enumerates the corpus covered (acts, decrees, rules, ordinances). Concrete query examples ("ZVOP-2", "Zakon o gospodarskih družbah") and the closing "Pair with si_law_get for the text" make the boundary with the sibling unambiguous.

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?

Gives clear selection logic: title/abbreviation by default, set in_content=true to match words in the text, and use si_law_get to retrieve the full text. It lacks any explicit when-not-to-use statement (e.g. for case law or consolidated versions), which keeps it just below the top score.

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.