Skip to main content
Glama

imap_rename_mailbox

Rename an IMAP mailbox or folder to a new name, enabling you to reorganize your email structure. Specify the current and new mailbox names to apply the change.

Instructions

Rename a mailbox/folder

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_nameYesNew mailbox name
from_nameYesCurrent mailbox name
account_idNoAccount identifier (defaults to `"default"`)default

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesTool-specific data payload
metaYesExecution metadata (timestamp, duration)
summaryYesHuman-readable summary of the operation outcome

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.12

TDQS

C2.9/5.0
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 of behavioral disclosure. It only repeats the mutation implied by the name and does not mention effects on messages, permission requirements, reversibility, or error conditions.

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 description is a single, short sentence with no filler and the core action is front-loaded. It is efficient, though it sacrifices potentially useful context for brevity.

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 rename operation, the description plus the complete schema is roughly adequate. However, with no annotations and no usage guidance, the agent is left to assume behavioral details such as whether the mailbox must be empty or whether the operation is reversible.

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?

The schema fully documents all three parameters (from_name, to_name, account_id), giving 100% coverage. The description adds no parameter-level meaning, but the schema already provides the necessary context, so the baseline score applies.

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 uses a specific verb ('Rename') and a clear resource ('mailbox/folder'), which distinguishes it from sibling move/create/delete tools. It is slightly terse but not tautological or misleading.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus imap_create_mailbox or imap_delete_mailbox, nor any mention of prerequisites or side effects. The agent must infer usage from the tool name alone.

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