Skip to main content
Glama
Filesystem MCP

Filesystem MCP

by domdomegg

Create

create
Destructive

Write or overwrite a file at an absolute path, adding parent directories as needed. Use it to save specified content directly to the local filesystem.

Instructions

Create or overwrite a file with the specified content.

  • Creates parent directories if they don't exist

  • Overwrites existing files without warning

  • Use absolute paths

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path where file will be created
contentYesContent to write to the file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description still adds genuinely useful behavior: parent directories are auto-created, and existing files are overwritten without warning. It omits details like atomicity or encoding, but that is a minor gap against annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, then three tight bullets that each carry real information. The only structural quibble is that 'Use absolute paths' is a parameter constraint placed among behavioral bullets, slightly misgrouped.

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?

For a two-parameter tool with no output schema, the description covers the key agent-relevant facts: side effects, path requirement, and overwrite semantics. Return/error behavior is not described, but no output schema exists to carry it, so this is a small residual gap.

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 coverage is 100% and the schema already documents both 'path' (absolute path) and 'content'. The description's 'Use absolute paths' merely reinforces the schema's own wording rather than adding new meaning, so the baseline 3 applies.

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+resource ('Create or overwrite a file with the specified content'), which is far more informative than the bare name/title 'Create'. It does not explicitly differentiate from the sibling editing tools (str_replace, insert), so it stops short of a 5.

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?

'Create or overwrite' implies the write case, and 'Use absolute paths' gives a concrete usage constraint. However, it never says when to prefer this over str_replace or insert for modifying existing files, so the alternative-selection guidance is only implied.

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

Deploy Server

Other Tools