Skip to main content
Glama

Write file

nextcloud_write_file
Idempotent

Upload a file to Nextcloud by specifying its path and content; use overwrite to replace an existing file.

Instructions

Upload a file.

Input Schema

NameRequiredDescriptionDefault
pathYes
contentYes
overwriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.4

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds nothing on top of that: it does not disclose that the default overwrite=true will silently replace an existing file, nor the binary content handling implied by the anyOf schema.

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

Conciseness2/5

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

It is brief, but the brevity is under-specification rather than conciseness. A single generic sentence with no front-loaded constraints fails to earn its place by conveying any actionable information.

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

Completeness2/5

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

For a write/mutation tool with three parameters and no output schema, the description should at minimum explain overwrite behavior and content type handling. The annotations cover the safety profile, but the operational semantics an agent needs to call this correctly are absent.

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

Parameters2/5

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

Schema description coverage is 0%, so the description is the only place param meaning could be added, yet it mentions none of the three parameters. Path and content are largely self-explanatory by name, but the critical behavior of the optional overwrite flag (default true) is left entirely undisclosed.

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?

A specific verb ("Upload") and resource ("file") are present, so the basic operation is identifiable. However, it offers no differentiation from siblings like nextcloud_read_file, nextcloud_copy_resource, or nextcloud_move_item, and it never clarifies whether it creates new files or overwrites existing paths.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus alternatives, no prerequisites (authentication, target directory existence), and no exclusions. Usage can only be inferred from the name.

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