Skip to main content
Glama

Write files into a project

write_files

Write or overwrite files in a Claude Design project to push components, tokens, or assets from your repo. Overwrites without prompting; read first if unsure.

Instructions

Write or overwrite files in a Claude Design project or design system. Use to push components, tokens or assets up from the repo. Overwrites without asking, so read first if unsure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYes
projectIdYes
Behavior4/5

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

Without annotations, the description carries the transparency burden. It explicitly discloses the destructive behavior: 'Overwrites without asking', which is critical for an AI agent to know. However, it lacks details about return values, potential failures, or side effects like directory creation.

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?

The description is two sentences, front-loading the main purpose in the first sentence and adding a crucial caution in the second. Every word earns its place with no redundancy.

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?

Given the schema thoroughly defines parameters and the description covers the key behavior (overwrite without asking), the tool is sufficiently specified. It lacks details on concurrency, limits (though schema has maxItems), or output, but these are not critical for a write tool.

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?

The description does not directly explain parameters (schema coverage 0%), but the schema itself already provides clear descriptions for path, content, and encoding. The phrase 'push components, tokens or assets' adds context but doesn't define the parameters, so the description adds minimal semantic value beyond the schema.

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 clearly states 'Write or overwrite files' with a specific resource ('Claude Design project or design system'), giving a precise action and object. It distinguishes from sibling tools like read_file and pull_files by focusing on the write operation.

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 context: 'Use to push components, tokens or assets up from the repo', indicating the direction and content type. The warning 'read first if unsure' implies using a read tool when in doubt, though it does not explicitly name alternatives like read_file or pull_files.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/marvin-socialista/claude-design-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server