Skip to main content
Glama
Nextcloud MCP Server

Nextcloud MCP Server

by a-lagutov

upload_file

Uploads a local file to Nextcloud, using chunked transfer for large files; a destination ending in '/' keeps the original filename.

Instructions

Upload a local file. Big files are uploaded in chunks. A destination ending with '/' keeps the local name.

Input Schema

NameRequiredDescriptionDefault
pathYesDestination path, or folder ending with '/'
overwriteNoReplace an existing file
local_pathYesAbsolute path of the file on this machine

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that large files are chunked internally, but says nothing about permission requirements, what happens on name collisions, whether the existing file is replaced (schema covers overwrite default), or what the caller gets back.

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?

Three short sentences, front-loaded with the core action, then the two most decision-relevant behaviors. No filler or repetition.

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?

Adequate for a 3-parameter mutation tool whose schema is fully documented, but with zero annotations the description should ideally cover the overwrite/collision case and any error or permission constraints so an agent can call it safely.

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 the baseline is 3; the description adds real meaning by explaining that a destination ending in '/' keeps the local filename, which the schema only hints at. It still says nothing extra about local_path or overwrite beyond the schema text.

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 ("Upload a local file") that clearly separates it from read-only siblings like read_file and from upload_folder. It does not explicitly name the sibling it is distinguished from, so it stops short of 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 Guidelines3/5

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

The trailing-slash sentence implies a supported use case (uploading into a folder while preserving the local name), but there is no explicit when-to-use guidance versus upload_folder, download, or copy, and no mention of prerequisites such as being logged in.

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