Skip to main content
Glama

Publish several files

write_files
DestructiveIdempotent

Creates or overwrites up to 100 files in one call (30 MB total). Ideal for publishing a whole website. Each file has path, content and optional encoding ("utf8" or "base64").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYesThe website's domain, as shown by list_sites (e.g. "example.com" or "name.hostingfor.ai").
filesYesThe files to create or overwrite (1 to 100).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
savedNo
failedNo
warningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already mark the tool destructive and idempotent; the description adds 'overwrites' to make the effect concrete and discloses batch limits (100 files, 30 MB) plus the utf8/base64 encoding split. It does not describe partial-failure behavior, but that is not essential given the existing 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.

Conciseness5/5

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

Two tight sentences front-load the core behavior and limits, then give the use case and per-file parameters. There is no filler or repetition of schema descriptions.

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?

With a detailed nested schema, output schema, and annotations for destructiveness and idempotency, the description covers the essential batch operation without needing to explain return values. A brief pointer to write_file for single-file writes would make it fully complete, but the missing piece is minor.

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 100%, so the schema fully documents site, path, content, and encoding. The description's mention of path/content/encoding merely summarizes the schema and adds little beyond the aggregate 30 MB limit.

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 opens with a precise action ('creates or overwrites') and a concrete resource ('up to 100 files'), making the batch nature explicit. The title and second sentence ('publishing a whole website') frame it as the bulk counterpart to the singular write_file sibling, so an agent can tell them apart.

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?

'Ideal for publishing a whole website' gives a clear use context, and the 100-file/30 MB constraint signals when this tool applies. It does not explicitly name write_file as the single-file alternative or list when-not conditions, so it stops short of a full 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