Skip to main content
Glama

Update File Content

updateFileContent
DestructiveIdempotent

Update the content of a text file.

Input Schema

NameRequiredDescriptionDefault
pathYesPath of the file relative to the team's storage root
contentYesNew UTF-8 text content for the file
team_idNoDuvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. However, the description fails to disclose the most consequential behavior for this operation: whether 'update the content' means full replacement/overwrite of the file versus a merge or append, and whether the file must pre-exist. That ambiguity matters for a destructive write.

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?

A single short, front-loaded sentence with no padding or redundancy. Its brevity is structural rather than wasteful, though the terseness contributes to the gaps scored elsewhere.

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?

With 100% schema coverage and annotations carrying the safety profile, the definition is minimally complete for invocation. Still missing is the overwrite-vs-merge semantics and existence requirements, which an agent needs to use a destructive content-replacement tool correctly.

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%, and the schema already explains path, content, and the team_id fallback/rejection rules in detail. The description adds nothing beyond the schema, so the baseline of 3 for high-coverage schemas applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb and resource ('Update the content of a text file'), but it is essentially a restatement of the tool name and title with only the minimal addition of 'text file'. It does not distinguish this tool from siblings like updateSkillFile, updateSkillRevisionFile, or renameFile, so an agent gets no help telling 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no statement of prerequisites (e.g., the file must already exist), and no mention of alternatives or complements such as getFileContent, deleteFile, or renameFile. The agent must infer everything about when this tool applies.

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