Skip to main content
Glama
Audiobook Library MCP Server

Audiobook Library MCP Server

by joelmale

rename_file

Rename audiobook files or directories relative to the library root to reorganize your collection, with a dry-run preview to verify changes before applying.

Instructions

Rename a file or directory

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "oldPath": "<oldPath>",
      "newPath": "<newPath>"
    },
    "name": "rename_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoPreview the operation without executing
newPathYesNew path relative to audiobook root
oldPathYesCurrent path relative to audiobook root

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but only implies a mutation. It does not surface the important default dry-run behavior, overwrite or conflict handling, error behavior, or what happens to directory contents.

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?

The single sentence is front-loaded, clear, and contains no wasted wording. Its extreme brevity also leaves no room for useful selection or safety context, making it good rather than exemplary.

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

Completeness3/5

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

For a simple three-parameter tool with fully documented inputs, the definition is minimally sufficient to understand the basic invocation. However, the absence of annotations and an output schema leaves operational behavior and the rename-versus-move boundary insufficiently explained.

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

Parameters3/5

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

Schema coverage is 100%, including root-relative path semantics and the dryRun preview behavior and default, so the baseline score applies. The description itself adds no parameter meaning, constraints, or examples beyond the schema.

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?

The description states a specific operation and resource: "Rename a file or directory." It does not distinguish the tool from the sibling move_file, such as by clarifying whether changing the parent directory is supported.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: select this tool when renaming a file or directory. There is no explicit when-to-use, when-not-to-use, or alternative-tool guidance, particularly for choosing between renaming and moving.

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