Skip to main content
Glama

Nextcloud MCP Server and API by Cotlet

Upload file in Nextcloud

nextcloud_upload_file
Read-onlyIdempotent

Upload file in the user's own Nextcloud account from ChatGPT, Claude or any AI agent. Returns how to do it in Nextcloud step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Nextcloud Cloud Browser. Nextcloud's official API: Yes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "nextcloud_upload_file"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the safety profile is covered. The description adds genuine context beyond that: it explicitly says the tool "opens nothing by itself" and returns screen/button/field-level instructions rather than performing a mutation, which prevents an agent from believing a file was actually uploaded. The trailing "Nextcloud's official API: Yes" is cryptic and adds little.

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

Conciseness3/5

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

Three sentences, but the lead is front-loaded with the misleading word "Upload" and padded with"from ChatGPT, Claude or any AI agent." Non-essential fragments such as "Nextcloud's official API: Yes." cost space without adding actionable meaning. The key fact — that nothing is executed — arrives only in the second sentence.

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 output schema, the description must carry the return-value burden, and it does state the output is step-by-step screens, buttons, and fields. It also names the follow-up tools needed to actually complete the upload. What's missing is any statement of the guide's scope or limits (e.g., whether it covers upload from a specific UI context) and clarification of the opening verb that conflicts with the tool's read-only behavior.

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?

The tool takes zero parameters with 100% schema coverage, so the baseline is 4. The description correctly implies the guide is generic rather than parameterized per file. It could be clearer that no file, path, or target is supplied to this call at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence says "Upload file in the user's own Nextcloud account," which reads as if the tool performs the upload, but the second sentence reveals it actually "Returns how to do it in Nextcloud step by step ... and opens nothing by itself." So the real purpose (produce an instructional guide for the upload workflow) is only discoverable after reading past a misleading opening. It never distinguishes itself from siblings like cotlet_upload_file or cotlet_browser_upload, so an agent can't tell which one actually moves bytes.

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?

It gives a concrete two-step workflow: call this first for the how-to, then execute with the cotlet_browser_* tools in the user's Nextcloud Cloud Browser. That is useful implied sequencing. However, it never states when to choose this guide over cotlet_upload_file or nextcloud_share_file, nor any precondition, so the routing decision is left to inference.

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.

Resources