Skip to main content
Glama
ellmos-ai

ellmos-filecommander-mcp

Batch Rename

fc_batch_rename
Destructive

Batch rename files in a directory by removing prefixes or suffixes, replacing text, or auto-detecting common patterns. Filter by extensions and preview changes with dry-run mode.

Instructions

Renames files by pattern: remove prefix/suffix, replace, or auto-detect.

Args:

  • directory (string): Directory with the files

  • mode (string): "remove_prefix" | "remove_suffix" | "replace" | "auto_detect"

  • pattern (string, optional): Text to remove/replace

  • replacement (string, optional): Replacement text (for replace mode)

  • extensions (string, optional): Filter by extensions

  • dry_run (boolean): Preview only

Examples:

  • Remove prefix: mode="remove_prefix", pattern="backup_"

  • Auto-detect: mode="auto_detect" detects common prefixes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryYesDirectory
modeYesMode
patternNoText to remove/replace
replacementNoReplacement text
extensionsNoFilter extensions
dry_runNoPreview only
Behavior4/5

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

Annotations indicate destructiveHint=true, and the description confirms renaming is destructive. It adds behavioral context like dry_run for preview, but doesn't detail error handling or effects on non-matching files.

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

Conciseness4/5

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

Description is well-structured with args list and examples, concise enough. Could trim 'Args:' redundancy but overall effective.

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 moderate complexity and no output schema, the description covers most aspects. Lacks details on return value format or failure modes.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds value by grouping parameters by mode and providing usage examples, clarifying the purpose of each parameter 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 the tool renames files by pattern, listing specific modes (remove prefix/suffix, replace, auto-detect). This distinctively differentiates it from siblings like fc_move or fc_edit_file.

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 includes examples for each mode, clarifying when to use each. However, it does not explicitly state when not to use this tool or compare to alternatives among siblings.

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/ellmos-ai/ellmos-filecommander-mcp'

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