Skip to main content
Glama

rename_file

Rename a file or directory by specifying its current path and a new name, keeping your 1Panel server's filesystem organized and accurate.

Instructions

Rename file/directory

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and largely fails it. It implies a mutation but says nothing about overwrite behavior if the target name exists, required permissions, atomicity, or whether the change is reversible.

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

Conciseness3/5

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

It is a single short phrase with no padding, which is efficient, but the brevity reflects under-specification rather than disciplined concision. Front-loaded correctly, but there is essentially nothing else to structure.

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?

For a two-parameter mutation tool with no annotations, no output schema, and no parameter descriptions, the definition is not complete enough. An agent cannot reliably determine overwrite semantics, error conditions, or what distinguishes it from 'move_file'.

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

Parameters2/5

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

Schema description coverage is 0%, so neither 'path' nor 'name' is documented anywhere. The description does not clarify that 'path' is the existing source and 'name' is the new basename, nor whether 'name' accepts a full path — a meaningful gap for a rename operation.

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

Purpose4/5

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

States a specific verb ('Rename') and resource ('file/directory'), so the core action is unambiguous. However, it does nothing to distinguish itself from the sibling 'move_file', which an agent may reasonably confuse with renaming.

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 indication of prerequisites (does the path need to exist?), and no mention of the closely related 'move_file' sibling. The agent is left to infer everything about when this tool is the right choice.

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