Skip to main content
Glama

Update file

update_file
DestructiveIdempotent

Rename or move an entry within its project. Set parentId to null to move it to My Files. Existing content is preserved; conflicts never overwrite.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
fileIdYes
parentIdNo

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 cover the safety profile (destructiveHint=true, idempotentHint=true), and the description adds real behavioral context beyond them: content is preserved and conflicts never overwrite. It still does not explain what 'destructive' means here (e.g., effect on links, sharing, or child entries), so it falls short of a 5.

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, zero waste, with the operation stated first and the null-parent special case immediately after. Every clause carries information the agent needs.

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?

With no output schema and a mutation tool, the description covers the essentials: what changes, what happens to existing content, and conflict behavior. Missing only the post-call state or error behavior and any permission requirements, which are minor for this scope.

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 0%, so the description must carry parameter meaning. It does add non-obvious semantics for parentId (null moves to My Files, which is not inferable from the schema), but name and fileId are never addressed, and the name constraints (1-255 chars) remain undocumented.

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 pair and resource ('Rename or move an entry'), which an agent can immediately distinguish from create_file, get_file, read_file, and list_files. The scope ('within its project') is also pinned down, so no sibling collision remains.

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?

Usage is implied by describing the two operations the tool performs, but there is no explicit when-to-use framing, no prerequisites, and no named alternatives or exclusions. Adequate but leaves routing entirely to inference.

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