Skip to main content
Glama
muneeb3778

react-dev-mcp

by muneeb3778

create_file

Create a new UTF-8 text file at a specified path within allowed directories, failing if the file already exists to prevent accidental overwrites.

Instructions

Create a new UTF-8 text file. Fails if the file already exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
contentNo
Behavior3/5

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

No annotations provided, so the description carries the behavioral burden. It discloses the UTF-8 encoding and the fail-if-exists behavior, which are useful. However, it doesn't disclose whether parent directories are created automatically, what encoding edge cases apply, file size limits, or what error/response the tool returns. For a write operation with zero annotation coverage, some of this context would strengthen the score.

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?

Two short sentences, zero waste. Every element — creation, format, failure condition — earns its place. Front-loaded with the core action.

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 is moderately complex: 2 params, no annotations, no output schema, and a critical edge case (fail-if-exists). The description captures the core behavior but omits practical details like path handling, whether directories are auto-created, empty-content handling, and return value. For a file creation tool, this falls short of helping the agent handle realistic scenarios confidently.

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 coverage is 0%, so the description must compensate. It names 'content' implicitly (create a text file) but doesn't explicitly discuss the content parameter's behavior — e.g., whether empty content is allowed, how large content is handled, or any formatting requirements for path. The description does clarify that content is UTF-8 text, but path semantics (absolute/relative, separators) are unexplained. Given 2 undocumented params, the description should do more.

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?

Clear verb+resource ('Create a new UTF-8 text file') with an explicit failure condition that distinguishes it from write_file. It doesn't explicitly contrast with sibling tools, but the 'new file / fails if exists' semantics differentiate it from write_file (which likely overwrites).

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 vs write_file or other siblings. The failure-on-existing behavior implicitly signals this is for fresh creation, but there's no explicit when-to-use or when-not-to-use instruction or alternative naming. For a file tool with this prominent write_file sibling, guidance would be valuable.

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/muneeb3778/react-dev-mcp'

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