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

NameRequiredDescriptionDefault
pathYes
contentYes
projectIdYes

Output Schema

NameRequiredDescriptionDefault
fileYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false), and the description adds genuinely new behavior: collision is non-destructive and fails rather than overwrites, and empty content is a valid, meaningful input. It does not say what the response looks like, but an output schema exists.

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?

Three short sentences: what it does first, then the empty-file edge case, then the collision constraint. No filler and no repetition of the title.

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

Completeness4/5

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

An output schema exists so return values need not be described, and the annotation profile covers safety. The only real gap is the undocumented projectId, which an agent must infer from sibling tools that share the parameter.

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?

Schema description coverage is 0%, so the description must carry the load. It does explain 'content' well (supplied text, empty string permitted and required) and 'path' as a new project path, but 'projectId' is never mentioned, leaving one of three required parameters defined only by its uuid format.

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?

States a specific verb and resource ('Create a new editable text file') plus the source of the data ('supplied content'), which implicitly separates it from upload_file and read_file. It never names a sibling, so differentiation is inferred rather than explicit.

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

Usage Guidelines4/5

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

'Existing paths are never overwritten' and 'Pass an explicit empty string to create an empty file' give the agent concrete usage context: collision means failure, so an existing path requires edit_file instead. It stops short of naming edit_file as the alternative, which would make this a 5.

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