Skip to main content
Glama

Write many text files

fs_write_many
Destructive

Create or replace many UTF-8 text files concurrently with per-file locking, enabling safe bulk file writes.

Instructions

Create or replace many UTF-8 text files concurrently while preserving per-file locking.

Input Schema

NameRequiredDescriptionDefault
filesYes
deviceIdNo
deviceNameNo
concurrencyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so safety is covered structurally. The description adds useful behavioral context: create-or-replace semantics, UTF-8 text handling, concurrent execution, and per-file locking. It does not cover partial-failure behavior or rollback, but that is beyond what annotations provide.

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?

A single front-loaded sentence with no redundant or filler text. It efficiently states the action, scope, and key behavioral traits.

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?

For a four-parameter mutation tool with nested file objects and no output schema, the description is too thin. It omits parameter semantics for deviceId, deviceName, and concurrency, and says nothing about failure handling across multiple files.

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%, so the description must carry parameter meaning. It only alludes to 'many UTF-8 text files' and 'concurrently,' leaving files' nested structure, deviceId, deviceName, and concurrency unexplained.

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 names a specific verb and resource: 'Create or replace many UTF-8 text files.' It also adds distinguishing scope ('many') relative to single-file siblings like fs_write_text, and notes concurrency and per-file locking.

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?

It implies use for batch file writing but never states when to prefer this over fs_write_text, fs_write_chunk, fs_apply_patch_many, or write_file. No exclusions or alternative-selection guidance is provided.

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