Skip to main content
Glama
dxawdc

Secure Local Workspace MCP

by dxawdc

Create a text file

create_text_file

Create a new text file in a local project without overwriting existing files. Provide project ID, path, and content to add files securely to authorized folders.

Instructions

Create a new text file without overwriting an existing path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
contentYes
projectIdYes
Behavior3/5

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

The description adds the non-overwrite behavior, which is useful and not fully captured by the annotations (which only mark readOnly and destructive hints). However, it does not disclose other behavioral traits such as error handling when the path exists, whether parent directories are created, or any permission requirements. Given the annotations cover the readOnly/destructive baseline, the description provides moderate added value but lacks deeper context.

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 a single, compact sentence that front-loads the action and the critical constraint. Every word earns its place, and there is no fluff or redundancy.

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?

The tool has three required parameters and no output schema, and the description does not explain the parameter format, expected inputs, or how the tool interacts with the project. It also lacks guidance on prerequisites or alternatives. For an agent to call it correctly, it would need the schema (which has no descriptions) or external knowledge, making this definition incomplete.

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

Parameters1/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 for parameter meaning, but it does not. It provides no explanation of projectId, path, or content beyond their names. An agent has to infer that projectId identifies the project, path is the file location, and content is the text to write, which could be ambiguous.

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 states a specific verb (create), resource (text file), and a key constraint (without overwriting an existing path), which clearly distinguishes it from siblings like delete_text_file and apply_patch. It is not a tautology and leaves no ambiguity about what the tool accomplishes.

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 is provided on when to use this tool versus alternatives. It does not mention that it should be used for creating new files, or that apply_patch or other write mechanisms would be inappropriate. The description only states what it does, not the context or preconditions (e.g., project must be connected) for using it.

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/dxawdc/secure-local-workspace-mcp'

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