Skip to main content
Glama

llm_fs_rename

Generate shell commands for file rename or reorganization tasks from plain English descriptions, with a dry-run mode to preview commands safely.

Instructions

Generate shell commands for a file rename/reorganisation operation.

Describe what you want to rename and the cheap model produces the mv/git mv commands. Use dry_run=True (default) to get echo-prefixed commands safe to inspect before running.

Args: description: What to rename and how, e.g. "rename all _old.py files in src/ to remove the old suffix" or "move all test*.py files from tests/unit/ into tests/". dry_run: When True, commands are prefixed with echo for safe review. Set to False to get directly executable commands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionYes
dry_runNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description covers key behaviors: generates mv/git mv commands, uses a cheap model, and dry_run prefixes with echo. This informs the agent of safety and execution mode.

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?

The description is well-structured: a concise introductory sentence followed by clear parameter documentation. Every sentence adds value without redundancy.

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 tool has only 2 parameters and no annotations, the description covers usage and behavior adequately. However, since an output schema exists but is not detailed in the description, the agent might need additional info on return type, but it's still sufficient for invocation.

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

Parameters5/5

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

Schema coverage is 0%, but the description fully explains both parameters: description as a natural language string for rename intent, and dry_run as a boolean controlling command prefix. This adds essential meaning beyond schema types.

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 clearly states the tool generates shell commands for file rename/organization, with specific examples. It distinguishes from siblings like llm_fs_find or llm_fs_edit_many by focusing on rename operations.

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 description explains to describe the rename and notes dry_run default for safety. While it does not explicitly exclude other tools, it provides clear usage context for when 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.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ypollak2/llm-router'

If you have feedback or need assistance with the MCP directory API, please join our Discord server