Skip to main content
Glama

search_acts

Find Polish legal acts by words in their titles or addresses, ignoring diacritics, to get act IDs for retrieving provisions and full texts.

Instructions

Find acts by words in their title or address (diacritics ignored), e.g. 'podatek dochodowy osob prawnych' or 'Dz.U. 1992'. Returns ids to pass to the other tools. Titles only: to search inside provisions use search_provisions.

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_acts"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNounified
yearNo
limitNo
queryYes
only_in_forceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 disclosure burden. It usefully states that diacritics are ignored, that matching is by title/address rather than full text, and that results are ids intended for downstream tools. However it omits permission requirements, ordering/truncation behavior under 'limit', and any rate or safety context.

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?

The definition is front-loaded with the core purpose, then examples, then the sibling-routing constraint. Every sentence adds useful information, and there is no filler.

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?

An output schema exists, so return values need not be described in prose. But with five parameters, no annotations, no parameter descriptions, and 0% schema description coverage, the definition leaves four filters undocumented. The core query flow is usable, but filtering and limiting are incompletely specified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must explain the five parameters, but it only adds meaning for 'query' (words in title/address, diacritics ignored, examples). It never explains 'kind', 'year', 'limit', or 'only_in_force', leaving most filter semantics to guesswork.

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 states a specific verb and resource — 'Find acts' — and constrains the match to words in the title or address. It also distinguishes the tool from search_provisions, which is explicitly named as the tool for searching inside provisions. This is enough to separate it from every sibling without opening another schema.

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?

It gives concrete use cases with example queries and an explicit alternative: 'Titles only: to search inside provisions use search_provisions.' That names the condition that selects the sibling rather than leaving routing to inference.

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