Skip to main content
Glama

Search Legislation

search_legislation

Find Albanian national legislation, statutes, codes, and regulations through QBZ and European/international legal registries by keyword, title, number, or enactment year.

Instructions

Search Albania (AL) national legislation (statutes, acts, codes, regulations) via Qendra e Botimeve Zyrtare - QBZ (qbz.gov.al Official Publications Center) and European/International legal registries.

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 Albania legislation.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the source registries being queried (QBZ plus European/International legal registries), which tells the agent about jurisdictional coverage, but it says nothing about result ranking, language of the corpus, pagination behavior, or any access constraints.

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?

A single front-loaded sentence with the verb first and no filler. The parenthetical expansions of QBZ and the document types earn their place by clarifying coverage, though the dual-source clause is somewhat compressed.

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?

An output schema exists and parameter coverage is complete, so the description needn't explain return values. For a simple three-parameter search tool it covers what is searched and where; the main residual gap is the absence of sibling routing guidance and any note on corpus language.

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 explains query, year, and limit, including the 1-50 range on limit. The description adds no extra meaning about query syntax (keywords vs statute number), language expectations, or what the year filter matches against, so baseline 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?

Specific verb ("Search") plus a precisely scoped resource: Albania (AL) national legislation, with enumerated document types (statutes, acts, codes, regulations) and named sources (QBZ/qbz.gov.al, European/International registries). The resource type alone distinguishes it from siblings like search_case_law and verify_citation, though no sibling is named explicitly.

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?

Usage is implied by the resource scope (legislation, not case law or citations), but there is no explicit when-to-use, when-not-to-use, or routing statement naming the alternative tools. An agent must infer that court decisions belong to search_case_law and citation checks to verify_citation.

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