Skip to main content
Glama

Search Legislation

search_legislation

Search Bosnia and Herzegovina legislation by keywords, title, or statute number, with optional enactment-year filtering, to find official statutes, regulations, and gazette records.

Instructions

Search Bosnia and Herzegovina (BA) national legislation (statutes, acts, codes, regulations, official gazette) via Official Gazette of BiH (sluzbenilist.ba), Službene novine FBiH & Službeni glasnik RS and live national legal archives.

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": {
      "query": "<query>"
    },
    "name": "search_legislation"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoOptional enactment year filter.
limitNoMaximum number of results to return.
queryYesKeywords or statute title/number to search in Bosnia and Herzegovina legislation.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Because there are no annotations, the description must carry the full burden of behavioral disclosure. It does usefully disclose the source repositories (sluzbenilist.ba, Službene novine FBiH, Službeni glasnik RS, and live national legal archives) and the scope (national level), but it says nothing about rate limits, authentication, pagination, or completeness of coverage.

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?

The description is one front-loaded sentence that puts the verb and resource first, then lists the sources; nothing is redundant. The parenthetical source list is long but still earns its place by telling the agent where the data comes from.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema exists, so return values need not be explained, and the input parameters are fully described. However, without annotations, a description for a legal-research search tool should say more about result ordering, coverage scope, and how this tool relates to the case-law search siblings.

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 description coverage is 100%, so the schema already documents all three parameters fully. The description adds no extra parameter meaning such as how the year filter interacts with enactment versus publication dates, or how query syntax works. The baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a specific verb (search) with a specific resource (Bosnia and Herzegovina national legislation) and enumerates the document types covered: statutes, acts, codes, regulations, and official gazette. This makes it easy to distinguish from case-law tools, even though it doesn't explicitly name siblings like search_case_law.

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

Usage Guidelines3/5

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

The phrase 'legislation (statutes, acts, codes, regulations, official gazette)' implies that the tool is for searching primary legislation rather than case law, but the description gives no explicit when-to-use or when-not-to-use guidance. It never names an alternative tool or a condition that selects one.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.