Skip to main content
Glama
v4t0r

Nextcloud ChatGPT Bridge

by v4t0r

Write Nextcloud text file

write_text_file
Destructive

Write UTF-8 content to files in the user's connected private Nextcloud workspace root, with overwrite enabled only when replacing existing files; does not publish, share, or send content.

Instructions

Write UTF-8 content only inside the user's connected private Nextcloud workspace root.

Existing files require overwrite=true. Does not publish content, create shares, or send messages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
contentYes
overwriteNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
etagNo
nameYes
pathYes
sizeNo
is_dirYes
content_typeNo
last_modifiedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the meaningful extras: the overwrite prerequisite for existing files and explicit disclosure that no shares, messages, or publishing side effects occur. It omits error behavior when overwrite is false and the file exists.

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 sentences, no filler, with the scope constraint front-loaded and the overwrite rule in the second position. The negative clause is compressed into a single line rather than expanded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and annotations carry the mutation risk profile. The description is nearly sufficient for correct invocation; the remaining hole is path semantics and failure behavior on a non-overwrite collision.

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 0%, so the description must compensate. It correctly explains the non-obvious overwrite flag, which is the highest-value parameter detail. However, path (format, whether intermediate directories are created, relative vs absolute) and content (size or encoding limits) receive no added meaning, leaving two of three parameters undocumented.

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?

Names a specific verb (write) and resource (text file) and pins the scope to the connected private Nextcloud workspace root, which is more than a restatement of the name. It does not explicitly distinguish itself from the sibling upload_file_base64, which is the closest alternative, so an agent must infer the UTF-8-text vs base64-binary split.

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 clear applicability constraints: writes only within the private workspace root, and existing files require overwrite=true. The negative clauses ('Does not publish content, create shares, or send messages') usefully exclude adjacent behaviors, though no sibling is named as the alternative when the content is binary or outside the root.

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