Skip to main content
Glama

Update project file

projects_files_update
DestructiveIdempotent

Stage a full replacement of an existing text file. It stays uncommitted until projects_changes_commit.

Input Schema

NameRequiredDescriptionDefault
pathYesPath of the existing text file to replace.
contentYesComplete replacement UTF-8 text content for the file.
project_idYesUUID of a Bunstation project owned by the authenticated user.

Output Schema

NameRequiredDescriptionDefault
pathYes
actionYes
committedYes
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true, so the safety profile is covered. The description adds genuinely new context beyond annotations: the change is staged/uncommitted until projects_changes_commit, which is critical for an agent to understand the delayed-effect model.

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 short sentences with zero filler, and the core operation is front-loaded ahead of the commit dependency.

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?

An output schema exists and all params are documented, so return values and inputs need no explanation. The staging model is covered; only the interaction with sibling change tools is slightly under-explained for a destructive, staged-mutation 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?

Schema coverage is 100%, so all three parameters are documented in the schema itself. The description reinforces the 'complete replacement' semantics of content, but adds little beyond what the schema descriptions already state.

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?

States a specific verb ('Stage a full replacement') and resource ('existing text file'), and 'existing' implicitly distinguishes it from projects_files_create. An agent can tell this is an overwrite operation versus a create without inspecting the schema.

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?

The description implies when to use it ('full replacement of an existing text file') and points to the follow-up commitment step (projects_changes_commit). However, it gives no explicit when-not guidance or contrast with sibling tools like projects_files_create or projects_changes_discard.

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