Skip to main content
Glama
email-mcp

email-mcp

by a1exsun

rename_folder

Renames or moves an email folder to a new path, helping reorganize mailbox structure without deleting messages.

Instructions

Rename or move a folder.

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": {
      "path": "<path>",
      "new_path": "<new_path>"
    },
    "name": "rename_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
accountNoMailbox: WORK | PERSONAL. Default WORK
new_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/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 behavioral burden. It indicates a mutating rename/move operation but does not disclose overwrite behavior, permission requirements, account-scoping effects, or what happens when new_path already exists.

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 and free of wasted wording. It is appropriately concise, though its brevity contributes to the missing behavioral and parameter detail.

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

Completeness2/5

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

For a mutating tool with three parameters, no annotations, no output schema, and only 33% schema description coverage, the definition is under-specified. It lacks enough detail about path semantics, account selection, and move/rename behavior for an agent to invoke it confidently.

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

Parameters2/5

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

Schema description coverage is only 33%, with account documented but path and new_path left without descriptions. The tool description adds no parameter meaning beyond the operation name, so it does not compensate for the low schema coverage.

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 gives a specific verb and resource: rename or move a folder. It distinguishes the resource from sibling tools like move_emails and create_folder, though it does not explicitly route the agent to alternatives or explain the rename-vs-move distinction.

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?

The description states what the tool does but gives no when-to-use guidance, no exclusions, and no alternatives. It does not clarify when to rename a folder versus moving emails or creating a new folder.

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