Skip to main content
Glama

llm_fs_rename

Generate shell commands to rename or reorganize files based on a natural language description. Use dry-run mode to preview commands before execution.

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
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions that dry_run=True prefixes commands with echo for safe review, but it does not disclose potential destructive behavior when dry_run=False, error handling, or required permissions. The behavioral transparency is minimal.

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 concise, well-structured, and front-loaded. It uses a clear Args section and every sentence adds value. No wasted words.

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

Completeness5/5

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

Given the tool's low complexity (2 parameters) and the existence of an output schema, the description covers all necessary aspects: purpose, parameters, usage with examples. It is complete for an AI agent to use correctly.

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?

The schema has 0% description coverage, but the tool description provides detailed explanations for both parameters. The 'description' parameter is explained with examples, and 'dry_run' is clarified with its effect on output. This adds significant meaning beyond the schema.

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 that the tool generates shell commands for file rename/reorganisation operations. It distinguishes itself from sibling tools like llm_fs_find and llm_fs_edit_many by focusing specifically on rename and move 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 provides clear guidance on how to use the tool: describe the rename operation and optionally set dry_run for safety. However, it does not explicitly state when not to use this tool or mention alternatives.

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