Skip to main content
Glama

Create a text project file

create_file

Create a new editable text file at a new project path from supplied content. Pass an explicit empty string to create an empty file. Existing paths are never overwritten.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
contentYes
projectIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Discloses a key behavior: existing paths are never overwritten, and that an explicit empty string creates an empty file. This goes beyond the minimal annotations, though it does not describe error behavior or side effects beyond creation.

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 concise sentences convey the core action, the empty-file special case, and the no-overwrite guarantee. No filler or 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 description covers the main creation behavior and the no-overwrite constraint, but it does not explain what happens when the path already exists (e.g., error vs. no-op), which is a meaningful gap for safe invocation.

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?

The description explicitly explains the content parameter (including empty string behavior) and partially clarifies path as a project path, but projectId is not described beyond its name. With 0% schema coverage, this is only partial compensation.

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?

Clearly states it creates a new editable text file at a project path from supplied content, and explicitly notes that existing paths are never overwritten. This distinguishes it from sibling tools like edit_file and replace_file.

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?

The description implies usage for new files by emphasizing 'new' and 'never overwritten', but it does not explicitly direct users to edit_file or replace_file for existing paths. The guidance is helpful but mostly implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources