Skip to main content
Glama
Nextcloud MCP Server

Nextcloud MCP Server

by a-lagutov

copy

Duplicate a file or folder to a target path; a destination ending with '/' places it inside that folder with the same name, with optional overwrite.

Instructions

Copy a file or folder. A destination ending with '/' means 'into this folder, same name'.

Input Schema

NameRequiredDescriptionDefault
toYesDestination path, or folder ending with '/'
fromYesSource path
overwriteNoReplace an existing destination

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 usefully discloses the trailing-slash destination rule, but says nothing about what happens when the destination already exists and `overwrite` is false (error vs. auto-rename), whether metadata is preserved, or required permissions. For an unannotated mutation tool, that is a significant gap.

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, purpose first, the non-obvious path convention second. No filler, nothing repeated from structured fields.

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?

With no annotations, no output schema, and a mutation that can overwrite data, the description should state collision/overwrite behavior and whether output is a new path. It covers paths but leaves the riskiest behavior undefined.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds genuine meaning for `to` beyond the schema's "folder ending with '/'": it spells out that a trailing slash means "into this folder, same name," which resolves the ambiguity of how the copy is named. `from` and `overwrite` add nothing beyond the schema.

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 and resource ("Copy a file or folder") and covers both files and folders explicitly. It does not name or contrast with the sibling `move`, which has near-identical destination semantics, so an agent must infer the distinction from the tool name alone.

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?

No explicit when-to-use, when-not, or alternative routing, despite `move` and `upload_file` being plausible alternatives. The intent is implied by the self-evident name, but nothing states that source is preserved or when to prefer this over `move`.

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