Skip to main content
Glama

List the versions of a provision

get_versions
Read-only

List every version of one provision of an act with the days it was in force, its status today and the publication that changed it. Use it for the history of a provision. Returns dates and publications, no texts. Pass the kb address too.

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": {
      "kb": "<kb>",
      "act": "<act>",
      "path": "<path>"
    },
    "name": "get_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
kbYesAddress of the knowledge base, "owner/name", from list_knowledge_bases.
actYesThe act: its abbreviation ("EStG"), words of its title, or its work_id (unit.work_id in search results, or from list_sources).
pathYesThe unit, e.g. "§ 4", "§ 4a", "Art. 1 § 2", "Anl. 1". A paragraph or item ("§ 4 Abs. 2 Z 3") is answered with its whole unit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description's job is to add scope detail, which it does: it discloses that versions carry the days in force and today's status, and explicitly that no texts are returned. It does not mention pagination or upper bounds on "every version", which are the remaining behavioral unknowns for a list tool.

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?

Four short sentences, front-loaded with the resource and scope, then output content, then usage cue, then the parameter reminder. Nothing is redundant and nothing relevant is buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 correctly compensates by saying what is and is not returned, and all three parameters are fully documented in the schema. What is missing is only minor: whether results can be large or paginated, and how this differs from compare_versions.

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%, so the baseline is 3. The only extra parameter guidance is "Pass the kb address too", which flags that kb is a required, non-obvious argument, but it adds no format or sourcing detail beyond what the schema already supplies.

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 states a specific verb and resource ("List every version of one provision of an act") and enumerates the returned fields (days in force, status today, publication that changed it). It is clearly distinct from a text-retrieval tool, though it never names sibling tools like compare_versions or get_provision to draw the boundary explicitly.

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 it for the history of a provision" gives an affirmative usage cue, but there is no when-not guidance and no named alternative for the obvious adjacent case (comparing two versions). The agent must infer routing from the sibling list.

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.