Skip to main content
Glama

create_file

Creates a file on zspace NAS in personal or team space paths. Supports optional content and automatic rename on conflict.

Instructions

在 zspace NAS 上创建文件,同时支持个人空间(/sata12/my/data)和团队空间(/sata12/public)路径

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes文件完整路径,支持个人空间和团队空间路径
renameNo冲突时是否自动重命名(0/1),默认为 00
contentNo文件内容文本(可选)
Behavior2/5

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

No annotations provided, so description carries full burden. It fails to disclose key behaviors: whether existing files are overwritten, if intermediate directories are created, or required permissions. The rename parameter suggests conflict handling but description doesn't explain the default behavior.

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

Conciseness4/5

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

Single sentence is concise and front-loads the primary action and scope. However, it could benefit from a slightly more structured breakdown of key behaviors.

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?

With 3 parameters and no output schema, description omits critical context: error handling, return format, conflict behavior, and type of content accepted (text/binary). Incomplete for safe agent usage.

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 coverage is 100%, so baseline is 3. Description does not add meaning beyond schema: path support is already described in schema. No extra details on rename logic or content format.

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?

Description clearly states the tool creates files on a NAS and specifies accepted path prefixes (personal and team spaces). This differentiates from create_folder by resource type, though not explicitly. Overall, purpose is clear.

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?

No guidance on when to use this tool versus siblings like create_folder or copy_item. Context (e.g., conflict resolution) is implied through parameters but not explained. No 'when not to use' or alternative recommendations.

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/philipxiaoxi/z-cli'

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