Skip to main content
Glama

browse_acts

Browse all legal acts from a publisher (DU or MP) in a specified year. Ideal for exploring entire yearbooks without filtering. Supports detail levels and result set refinement.

Instructions

Przeglądaj wszystkie akty prawne wydane przez wydawcę w danym roku.

Kiedy użyć: Gdy chcesz przeglądać cały rocznik wydawcy bez filtrowania. Kiedy NIE używać: Gdy szukasz po słowach kluczowych lub tytule → użyj search_legal_acts.

Zwraca listę aktów (domyślnie max 20). Wyniki zapisywane są do result_set_id — użyj filter_results aby je zawęzić.

Przykłady:

  • browse_acts(publisher="DU", year=2024) - Wszystkie akty DU z 2024

  • browse_acts(publisher="MP", year=2024) - Wszystkie akty MP z 2024

  • browse_acts(publisher="DU", year=2024, detail_level="full") - Ze szczegółami

  • browse_acts(publisher="DU", year=2024, detail_level="minimal") - Tylko podstawowe info

  • browse_acts(publisher="DU", year=2000) - Akty z roku 2000

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
publisherYesKod wydawcy: 'DU' (Dziennik Ustaw) lub 'MP' (Monitor Polski).
yearYesRok publikacji (np. 2024).
limitNoMaksymalna liczba wyników do zwrócenia. Domyślnie 20.
detail_levelNoPoziom szczegółowości: 'minimal' (ELI, tytuł, status), 'standard' (+ typ, daty, obowiązywanie), 'full' (wszystkie pola). Domyślnie 'standard'.standard

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses default result limit (max 20), result set saving, and combinations with filter_results. However, no annotations exist, and it does not clarify if repeated calls overwrite or append result sets. Still, it provides reasonable behavioral insight for a non-destructive browse.

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?

Structured with bullet points, clearly separated usage guidelines and examples. Every sentence serves a purpose; no fluff. Concise yet comprehensive.

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?

All 4 parameters are covered with examples and cross-tool integration. Output schema exists, so return values need not be detailed. Complete for a browsing tool with sibling tools for search and filtering.

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% with descriptions. The description adds value through concrete examples (publisher codes, years, detail_level variants) and explains the result_set_id relationship, which is not in the schema.

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 clearly states the tool browses all legal acts by publisher and year, using specific Polish terms. It distinguishes from siblings like search_legal_acts (keyword search) and filter_results (narrowing), providing a unique purpose.

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?

Explicitly states when to use (browsing an entire year's acts without filtering) and when not to use (keyword search, directing to search_legal_acts). Also mentions saving results to a result set for further filtering with filter_results.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/numikel/law-scrapper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server