Skip to main content
Glama
venkey123456789

local-computer-full-access-mcp

write_text_file

Create or overwrite a text file with specified content, requiring explicit overwrite permission for existing files, and supporting custom encoding and parent directory creation.

Instructions

Create or overwrite a text file. This modifies the computer. Existing files require overwrite=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
contentYes
encodingNoutf-8
overwriteNo
create_parentsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the burden. It transparently states the side effect ('This modifies the computer') and the overwrite requirement. However, it does not disclose behaviors like parent directory creation, encoding handling, or error behavior when overwrite is false on an existing file.

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 purpose and immediate safety/side-effect warning. Every sentence adds value and there is no redundancy.

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

Completeness3/5

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

The output schema exists, so return values need not be described. The description covers core purpose and a critical behavioral caveat, but given the tool's complexity and lack of parameter semantics, the overall context is only minimally viable. Gaps remain around encoding, parent creation, and failure conditions.

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%, and the description only adds meaning to one parameter (overwrite). It clarifies that overwrite=true is required for existing files, but fails to explain path, content, encoding, or create_parents semantics. This is insufficient for a 5-parameter tool.

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 clear verb+resource: 'Create or overwrite a text file.' It distinguishes itself from sibling tools by specifying text file behavior and overwrite semantics, which separates it from binary write or in-place edit tools.

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

Usage Guidelines3/5

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

It provides a key usage condition ('Existing files require overwrite=true') but does not explicitly discuss when to use this tool over alternatives like replace_text or write_binary_file_base64. The usage is implied by the purpose, but no exclusions or alternative recommendations are given.

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/venkey123456789/local-computer-full-access-mcp'

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