Skip to main content
Glama

List versions

nextcloud_list_versions
Read-onlyIdempotent

Lists the stored versions of a Nextcloud file from its path, newest first, helping you review or retrieve prior file states.

Instructions

List the stored versions of one file, newest first.

PROPFIND /remote.php/dav/versions/{user}/versions/{fileid}

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": {
      "path": "<path>"
    },
    "name": "nextcloud_list_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context that results are ordered newest first and exposes the underlying PROPFIND endpoint, but it does not mention authentication needs, pagination, or response shape.

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?

The description is short and front-loaded, giving the core purpose in the first sentence before the technical endpoint. The endpoint line is arguably unnecessary for an agent but does not bloat the definition, so it remains efficient overall.

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?

For a simple one-parameter list tool with full annotation coverage and no output schema, the definition covers the essential purpose and ordering. The main remaining gap is parameter format, since the path input is completely undocumented in the schema and only loosely implied by the description.

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%, and the only parameter is an undescribed string named path while the endpoint uses fileid. The description says the tool works on 'one file' but does not clarify whether path is a file path or file ID, nor what format is accepted, so it only marginally compensates for the schema 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?

The description states a specific verb and resource: 'List the stored versions of one file.' It adds scope details ('newest first') and the endpoint, so an agent can distinguish this from restore_version. It does not explicitly name a sibling alternative, 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 Guidelines2/5

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

The description implies when the tool is useful (to see versions of a file) but gives no explicit when-to-use guidance or exclusions. It never mentions the related nextcloud_restore_version tool or when listing versus restoring should be chosen.

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

Deploy Server

Other Tools