Skip to main content
Glama

get_act

Retrieve metadata for one Polish legal act using an ELI ID or citation, including title, dates, consolidation basis, source PDF, and versions seen.

Instructions

Metadata of one act: title, dates, what the consolidated text is based on, source PDF, versions seen. act_id is an ELI id such as DU/1992/86 (or an address such as 'Dz.U. 1992 nr 21 poz. 86').

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": {
      "act_id": "<act_id>"
    },
    "name": "get_act"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNounified
act_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It makes the read-only, single-record nature clear through the returned-field list, but says nothing about error behavior for an unresolvable id, whether the 'versions seen' data is truncated, or any permission/caching constraints.

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?

Two tight sentences: the first front-loads the returned content, the second handles the identifier format. No filler and nothing buried at the end.

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 re-explained, and the id format is covered. However, the unexplained `kind` parameter and the absence of any failure-mode context leave a real gap for a tool with no annotations.

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 coverage is 0%, so the description must document both parameters. It handles act_id well, giving an ELI example and an alternate address format, but the second parameter `kind` (default "unified") is never mentioned, leaving half the inputs undocumented.

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?

"Metadata of one act" gives a specific resource and scope, and the enumeration of what is returned (title, dates, consolidation basis, source PDF, versions seen) makes it distinguishable from get_act_text without opening either schema. It does not explicitly name that sibling, which keeps it from a 5.

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?

Use is only implied: an agent can infer this is the tool for act-level metadata rather than full text or search. There is no explicit when-to-use/when-not guidance and no reference to get_act_text, search_acts, or get_provision as alternatives.

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