Skip to main content
Glama

file_update

Append a new version to an existing shared file (version = prior max + 1).

If the file is published, the new version is eagerly mirrored to the Railway bucket. Old versions are never mutated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentNoOverride agent identity
contentYesNew file body (markdown, raw HTML, teamshared.diagram/v1 or teamshared.diagram/v2, or teamshared.sheet/v1 JSON/YAML)
file_idYesFile UUID to update
content_formatNoOverride content format ('markdown', 'html', 'diagram', or 'sheet'); defaults to the file's current format

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / content / description
      Previous value: -"New file body (markdown, raw HTML, teamshared.diagram/v1, or teamshared.sheet/v1 JSON/YAML)"New value: +"New file body (markdown, raw HTML, teamshared.diagram/v1 or teamshared.diagram/v2, or teamshared.sheet/v1 JSON/YAML)"
  2. Changed2 schema fields changed
    • changedInput schema / properties / content / description
      Previous value: -"New file body (markdown, raw HTML, or teamshared.diagram/v1 JSON/YAML)"New value: +"New file body (markdown, raw HTML, teamshared.diagram/v1, or teamshared.sheet/v1 JSON/YAML)"
    • changedInput schema / properties / content_format / description
      Previous value: -"Override content format ('markdown', 'html', or 'diagram'); defaults to the file's current format"New value: +"Override content format ('markdown', 'html', 'diagram', or 'sheet'); defaults to the file's current format"
  3. Changed2 schema fields changed
    • changedInput schema / properties / content / description
      Previous value: -"New file body (markdown or raw HTML)"New value: +"New file body (markdown, raw HTML, or teamshared.diagram/v1 JSON/YAML)"
    • changedInput schema / properties / content_format / description
      Previous value: -"Override content format ('markdown' or 'html'); defaults to the file's current format"New value: +"Override content format ('markdown', 'html', or 'diagram'); defaults to the file's current format"
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden. It discloses key traits: new versions are appended, version numbers increment deterministically, published files are eagerly mirrored, and old versions are never mutated. This is strong, though it omits permission requirements and error behavior.

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 with the core action front-loaded and no filler. Every clause adds useful information about behavior or constraints.

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 output schema exists and parameter coverage is complete, the description covers the essential behavioral context: append semantics, version calculation, mirroring, and immutability. It does not discuss authorization or failure modes, but these are not critical for basic invocation.

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 already documents all parameters. The description adds versioning context but does not materially explain individual parameters beyond what the schema states, so the baseline of 3 is appropriate.

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 uses a specific verb ('Append') and resource ('existing shared file') and clarifies the versioning semantics ('version = prior max + 1'). This clearly distinguishes it from siblings like file_create, file_publish, and file_get.

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 phrase 'existing shared file' implies this is for updating an already-created file rather than creating a new one, and the append-only behavior sets it apart from file_create. However, it does not explicitly name alternatives or state when not to use this tool.

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.