Skip to main content
Glama

get_provision

Fetches a single provision from a Polish act by act ID and citation, returning sub-units in reading order by default.

Instructions

One provision of an act by citation, e.g. 'art. 15', 'art. 1 ust. 3 pkt 1' or 'art. 24aa ust. 2'. With include_children (default) the sub-units (ustępy, punkty, litery) come too, in reading order.

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>",
      "citation": "<citation>"
    },
    "name": "get_provision"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNounified
act_idYes
citationYes
include_childrenNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose one genuinely useful trait: include_children defaults to true and pulls sub-units (ustępy, punkty, litery) in reading order. Beyond that it is silent on whether a missing citation errors or returns empty, whether the operation is read-only (implied but unstated), and what 'kind' changes.

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 sentences, front-loaded with the core purpose and immediately followed by the one behavioral default that materially changes results. No filler, no restatement of the tool name.

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?

Because an output schema exists, the return shape needn't be described. For a four-parameter retrieval tool with zero schema coverage, though, the definition leaves 'kind' unexplained and gives no error/not-found behavior or sibling routing, so it is adequate but not complete.

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 0%, so the description must carry all parameter meaning. It does real work for two of four: it defines the citation format via examples and explains exactly what include_children toggles, including default and output ordering. act_id is self-explanatory, but 'kind' (default 'unified') is left entirely undefined, which is the largest remaining gap.

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?

States a specific verb+resource: returns one provision of an act addressed by citation, and illustrates the citation grammar with three concrete examples ('art. 15', 'art. 1 ust. 3 pkt 1', 'art. 24aa ust. 2'). It does not explicitly separate itself from siblings like search_provisions or get_act_text, but the single-provision-by-citation scope is unambiguous.

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

Usage Guidelines2/5

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

The 'by citation' framing implies you should already know the exact citation, which faintly distinguishes it from search_provisions, but no when-to-use, when-not-to-use, or explicit alternative is named. There is no guidance on what to do when the citation is unknown or when to prefer get_act / get_act_text.

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