Skip to main content
Glama

Rename a file or directory

termix_files_rename_file_directory
Idempotent

Renames a file or directory on a remote host by specifying the old path and new name. Simplifies file management for self-hosted Termix instances.

Instructions

Rename a file or directory. Renames a file or directory on the remote host.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
newNameNo
oldPathNo
sessionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.9/5.0
Behavior2/5

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

No contradiction with annotations: readOnlyHint=false aligns with a mutation, destructiveHint=false with a metadata change, and idempotentHint=true with renames. However, the description adds nothing beyond the 'remote host' qualifier — it does not disclose permissions needed, error behavior when the target name already exists, or the semantics of a rename across directories. The annotations carry the safety profile, and the description contributes little on top.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short but redundant — it states the same fact twice ('Rename a file or directory' followed by 'Renames a file or directory on the remote host'). This is under-specification rather than conciseness; the repetition wastes the reader's attention without adding information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A rename tool with 3 undocumented parameters and no output schema needs substantially more explanation. The critical distinction from move_file_directory is never made, whether the operation fails if the destination already exists is unaddressed, and the role of sessionId is unexplained. The description is inadequate for reliable invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description provides zero information about the three parameters (newName, oldPath, sessionId). With no schema documentation and no description compensation, an agent has no idea which parameters are required, what format oldPath/newName take, or what sessionId refers to.

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

Purpose2/5

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

The description 'Rename a file or directory. Renames a file or directory on the remote host.' is a near-tautology that restates the title twice, adding only the 'on the remote host' scope qualifier. It does not distinguish this tool from closely related siblings such as termix_files_move_file_directory or termix_files_copy_file_directory.

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?

No guidance is given on when to use this tool versus the closely related termix_files_move_file_directory sibling. There is no mention of preconditions (e.g., oldPath must exist), nor any when-not-to-use guidance. An agent gets no help selecting between rename, move, and copy.

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

Deploy Server

Other Tools