Create file or folder
create_pathCreate an empty file or directory
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| directory | No | ||
| project_id | No | Project id (or use session from use_project) |
create_pathCreate an empty file or directory
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| directory | No | ||
| project_id | No | Project id (or use session from use_project) |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds only the meaningful detail that the created object is empty; it says nothing about overwriting an existing path, error behavior, or whether parent directories are created.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with zero filler. It is arguably too terse rather than padded, so efficiency is high.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a three-parameter creation tool with no output schema, the description leaves important behavior unspecified: what happens if the path already exists, whether intermediate directories are created, and what is returned on success. Annotations cover safety but not these mechanics.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 33% — only project_id carries a description — so the description must compensate, which it partly does by implying the file-vs-directory choice via "file or directory." The `path` and `directory` parameters still receive no explicit semantics such as relative vs absolute paths.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: "Create an empty file or directory." It clearly separates creation from siblings like write_file or upload_file by emphasizing "empty," but it never names an alternative to reinforce that distinction.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this instead of write_file, upload_file, or edit_file, and no exclusions or prerequisites are given. The agent must infer from the word "empty" that content-bearing creation goes elsewhere.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.