Skip to main content
Glama
Nextcloud MCP Server

Nextcloud MCP Server

by a-lagutov

create_share

Share a Nextcloud file or folder as a public link or with a user, group, or email address; public shares return the link.

Instructions

Share a file or folder: a public link (default), or with a user, group or email address. Returns the link for public shares.

Input Schema

NameRequiredDescriptionDefault
noteNoNote for the recipient
pathYesFile or folder path
typeNoShare typelink
labelNoLabel of a public link
passwordNoPassword for a public link
share_withNoUser ID, group ID or email (not for links)
expire_dateNoExpiry date YYYY-MM-DD
permissionsNoread; edit (read+update+create+delete); upload_only (file drop, folders and links only)read

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/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 the default share type and that public shares yield a link in the response. It omits what permissions are needed, what happens if a share already exists (idempotency), and what non-link shares return, which are meaningful gaps for a mutation tool.

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, front-loaded with the verb and resource, with the default called out parenthetically. No filler and every clause carries information.

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?

Eight parameters, no output schema, and no annotations mean the description should be doing more: it explains the return only for public shares and says nothing about recipient-side effects (notification to share_with, note delivery) or failure modes. Adequate but with clear gaps for a mutation with this many optional params.

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

Parameters3/5

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

Schema description coverage is 100%, so baseline is 3. The description only echoes the link default and the link return value; it adds nothing about password/label being link-only, expire_date format, or permissions semantics that the schema does not already state.

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

Purpose5/5

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

States a specific verb (share) plus the resource (file or folder) and enumerates the three sharing modes with their default, which lets an agent distinguish it from siblings like update_share or delete_share without opening the schema.

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 description implies this is the creation path for shares versus update_share/delete_share, but never names those alternatives or states when to choose this over them. An agent can infer intent but is given no explicit routing rule or prerequisite (e.g., file must exist, must be owner).

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