Skip to main content
Glama
Thunderbird MCP by Commonpost

Thunderbird MCP by Commonpost

Rename Folder

renameFolder
Destructive

Rename a Thunderbird mail folder in place to change its name without moving it. Special folders and folders containing one are refused; on IMAP, check listFolders later to confirm completion.

Instructions

Rename a mail folder in place; to put it under another parent, use moveFolder. Special folders (Inbox, Trash, Drafts...) and folders holding one are refused. On IMAP the server finishes later: check with listFolders.

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": {
      "folderPath": "<folderPath>",
      "newName": "<newName>"
    },
    "name": "renameFolder"
  }
}

Input Schema

NameRequiredDescriptionDefault
newNameYesNew name for the folder
folderPathYesURI of the folder to rename (from listFolders)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds value beyond them: which inputs will be rejected (system folders and parents of system folders) and that IMAP completion is asynchronous, requiring a listFolders check. It does not explain what makes the operation destructive (e.g., whether child folders or stored references are affected) or note permission requirements, so it stops short of full disclosure.

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?

Three short clauses, each doing distinct work: the core action, the sibling routing, and the failure/async caveats. Front-loaded with the action and free of filler.

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?

For a two-parameter mutation with no output schema, the description covers the main failure mode and the async-verification path, which is what an agent needs to call it correctly. Remaining gaps (permission requirements, whether renaming affects child folders or message references) are moderate rather than disqualifying.

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%, so both folderPath and newName are already documented, and the description adds only the 'in place' qualifier on what the rename does. It says nothing about constraints on newName (allowed characters, collisions with an existing sibling, length) that the schema also omits. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

States a specific verb and resource ('Rename a mail folder in place') and immediately distinguishes the operation from moveFolder, which handles relocation. An agent can tell it apart from createFolder, deleteFolder, and moveFolder without opening any schema.

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

Usage Guidelines5/5

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

Explicitly names the alternative tool and the condition that selects it ('to put it under another parent, use moveFolder'), and states a negative precondition ('Special folders ... and folders holding one are refused'). It also names the follow-up call (listFolders) needed for async confirmation, leaving nothing to inference.

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