Skip to main content
Glama

Write files into the editable source tree

write_source_files
DestructiveIdempotent

Stage edits to a site's editable source tree (not the live dist). Use list_source_files first to discover what's there. The dist is unchanged until you re-deploy via update_site or run build_and_deploy. Sites have source storage enabled by default; if a legacy site doesn't, the call fails with SOURCE_STORAGE_NOT_ENABLED and the user should contact VibeDeploy support to enable it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
filesYesFiles to write into the source tree. Same wire shape as add_files. Re-writing a path overwrites the previous source. Per-file cap 5 MB; per-call cap 50 MB; max 200 files per call.
siteIdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
siteIdYes
writtenYes
request_idNoServer-assigned request correlation id. Quote it when contacting support.
totalBytesYes
totalFilesYes

TDQS

A3.6/5.0
Behavior4/5

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

The description adds value beyond annotations: it discloses that re-writing overwrites previous source (destructive), notes file caps (5 MB per file, 50 MB per call, 200 files per call), and explains source storage requirement. No contradiction with annotations (idempotentHint: true, destructiveHint: true). Could mention side effects like schema changes.

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?

The description is concise with four sentences, front-loading the core purpose. It efficiently covers usage, error cases, and constraints without extraneous details. Could be slightly more structured but acceptable.

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 explains the workflow (list, write, deploy), error handling, and file caps. However, it omits information about the 'name' and 'siteId' parameters, which are essential for invocation. Given the presence of an output schema (not shown), the description could be more complete regarding parameter roles.

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 only 33% (files property described, not name or siteId). The main description does not explain the 'name' and 'siteId' parameters, leaving their purpose unclear. The files parameter is well-described in the schema, but the description fails to compensate for the missing parameter documentation.

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?

The description clearly states the tool's purpose: staging edits to a site's editable source tree (not live dist). It uses a specific verb-resource combination ('stage edits') and distinguishes from live deployment via update_site. However, it does not explicitly differentiate from sibling tools like add_files or apply_edits, leaving some ambiguity.

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?

The description provides usage guidance: lists a prerequisite (use list_source_files first), explains that the dist is unchanged until redeploy, and describes an error condition (SOURCE_STORAGE_NOT_ENABLED) with remediation. It implies when not to use the tool (if immediate dist changes are needed). Missing explicit alternatives or exclusions.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Every tool has a clearly distinct purpose, from deployment and file management to domain configuration and analytics. Even similar-sounding tools like add_files and add_file_chunk are well-differentiated by context and use case.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case (e.g., add_custom_domain, list_sites, delete_source_file). The naming is predictable and easy to understand.

Tool Count4/5

39 tools is higher than the typical 3-15 range, but each tool serves a necessary function for a comprehensive deployment platform. The count is justified by the broad feature set, though slightly heavy.

Completeness5/5

The tool set covers the full lifecycle of site deployment, management, backup, custom domains, form handling, analytics, and source editing. There are no obvious gaps for the intended functionality.