Skip to main content
Glama

get_act_text

Read a Polish act as paginated Markdown; use the returned next_offset to continue through long statutes and retrieve full text in manageable pages.

Instructions

Read an act as Markdown, in pages. Statutes are long: use next_offset from the answer to continue, or prefer get_provision when you know the citation.

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

Input Schema

NameRequiredDescriptionDefault
kindNounified
act_idYes
offsetNo
max_charsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden itself and does a fair job: it discloses that results are paged Markdown, that statutes are long, and that a next_offset must be used to continue. It omits error behavior for bad act_id, truncation rules tied to max_chars, and any permission notes, which leaves some gaps.

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 short sentences with the core capability front-loaded and the pagination caveat plus alternative following immediately. No filler or restatement of the 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?

An output schema exists, so return-value explanation is not required, and pagination is still covered. However, for a four-parameter tool with zero schema documentation, the undefined kind and max_chars parameters leave the definition short of what an agent needs to call it confidently.

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 description coverage is 0% across four parameters, so the description must compensate and largely does not. It implies paging via offset/next_offset, but act_id, max_chars, and especially kind (default "unified", with no indication of what kinds exist or how to discover them) are left unexplained.

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?

States a specific verb and resource with the output format: "Read an act as Markdown, in pages." It also distinguishes itself from a named sibling by saying to prefer get_provision when the citation is known, so an agent can pick between them without opening either schema.

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

Usage Guidelines4/5

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

Gives a clear continuation rule ("use next_offset from the answer to continue") and names the alternative (get_provision) with the condition that selects it. It does not explain when this tool should be chosen over the other act-level sibling (get_act), which keeps it from a 5.

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