Skip to main content
Glama

Atviri teisės aktai – Lithuanian law

get_act_contents

Read-only

The articles of one act in order (number, title, chapter, status), paged, and its annexes (read one with get_article: "6 priedas").

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": "<act>"
    },
    "name": "get_act_contents"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYesAct key, abbreviation, TAR code or name: "DK", "CK", "2016-23709", "darbo kodeksas"
limitNoEntries per page, at most 300 (default 100)
offsetNoSkip this many entries of the contents (from the answer's next_offset)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / act / description
      Added value: +"Act key, abbreviation, TAR code or name: \"DK\", \"CK\", \"2016-23709\", \"darbo kodeksas\""
    • addedInput schema / properties / limit / description
      Added value: +"Entries per page, at most 300 (default 100)"
    • addedInput schema / properties / offset / description
      Added value: +"Skip this many entries of the contents (from the answer's next_offset)"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds real context beyond that by stating results are ordered, paged, and that annexes are only indexed here and must be fetched via get_article. It does not mention truncation or what next_offset signals, but the substantive behavioral traits are disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence front-loads the resource and its return fields, then tacks on paging and the annex pointer. Very little waste, though the parenthetical field list and trailing annex clause make it slightly harder to parse than two short sentences would.

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?

With no output schema, the description carries the burden of describing the return shape and does so precisely (number, title, chapter, status), while also explaining the annex relationship. For a simple paged read tool with 100% schema coverage, nothing an agent needs in order to call it correctly is missing.

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 100%, with act, limit and offset fully documented in the schema including accepted act identifier forms and the 300 cap. The description only implies paging and adds no syntax or format detail beyond that, so the baseline of 3 applies.

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?

The description gives a specific resource (an act's articles) and states exactly what each entry carries: number, title, chapter, status, plus a companion annexes list. It is clearly distinct from get_article, which it names as the way to read annex text, though it never contrasts itself with get_articles.

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?

Usage is implied by the wording: use this to enumerate one act's contents in order and page through them. It routes the agent to get_article for reading an annex ("6 priedas"), but offers no exclusion against get_articles or list_acts, so the agent must infer when this is preferable.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.