Skip to main content
Glama
silverze
by silverze

write_file_content

Write text content to a file in Nutstore cloud storage, creating a new file or overwriting an existing one. Ideal for text files; use upload_file for binary files.

Instructions

将文本内容写入坚果云文件(新建或覆盖)。 仅适合文本内容,二进制文件请使用 upload_file。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
remote_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Since no annotations are provided, the description carries the burden of behavioral disclosure. It reveals that the tool creates or overwrites files (a potentially destructive action) and restricts usage to text content. It does not mention permissions, atomicity, or error handling, but the core side-effects and limitation are clearly stated.

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?

The description is two sentences, front-loaded with the primary action, followed by a constraint and a pointer to an alternative tool. Every word earns its place, with no redundancy or fluff.

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?

For a straightforward file write operation with a simple schema and an output schema, the description covers the essential aspects: purpose, overwrite behavior, text-only constraint, and binary alternative. It lacks details on error conditions or directory creation, but these are not critical for a basic write tool and the sibling context plus output schema fill the remaining gaps.

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?

The input schema has zero description coverage, so the description must compensate. It implicitly identifies 'content' as text and 'remote_path' as the target file location, but provides no further details such as encoding, path format, or size limits. The parameter names are self-explanatory, but the description adds only minimal semantic enrichment.

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?

The description clearly states the verb ('写入' - write) and resource ('坚果云文件' - Nutstore file), and specifies the action creates or overwrites. It also distinguishes itself from the sibling upload_file for binary content, making its purpose unambiguous.

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

Usage Guidelines5/5

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

The description explicitly says this tool is for text content and instructs users to use upload_file for binary files. This provides a clear when-to-use and when-not-to-use directive, effectively distinguishing it from alternatives in the sibling list.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/silverze/nutstore-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server