Skip to main content
Glama

Nextcloud MCP Server and API by Cotlet

Share file in Nextcloud

nextcloud_share_file
Read-onlyIdempotent

Share 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_share_file"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Adds real context beyond the annotations by disclosing the return content (step-by-step screens, buttons, fields) and the critical fact that the tool performs no side effects and opens nothing. The trailing "Nextcloud's official API: Yes" is unexplained and adds little, but the behavioral profile is otherwise well disclosed for a read-only hint set.

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 with the key constraint front-loaded, but "from ChatGPT, Claude or any AI agent" is filler that does not help tool selection, and "Nextcloud's official API: Yes" is a cryptic fragment whose meaning is unclear to an agent.

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 zero parameters and no output schema, the description must carry the full burden, and it explains the return shape and the no-op nature well. However, it never says how the tool knows which file to share when no arguments are accepted, which leaves a real gap for an agent trying to call it correctly.

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 and the schema coverage is 100%, so there is nothing for the description to disambiguate at the parameter level. Baseline 4 applies.

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 ("Share file in the user's own Nextcloud account") and immediately names the sibling family (cotlet_browser_*) that performs the actual action, so an agent can tell it is a guided-instruction tool rather than a direct mutator. It is slightly in tension with the name, since the tool does not itself share anything, but the description resolves that by saying it "opens nothing by itself".

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives an explicit workflow: call this first to get step-by-step screens/buttons/fields, then carry out the sharing with cotlet_browser_* in the Cloud Browser. It does not say when NOT to use it (e.g. versus cotlet_app_guide or nextcloud_upload_file), so the routing is clear but not exhaustive.

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