Skip to main content
Glama

rename_folder

Destructive

Rename a mail folder in Outlook using its folder ID; special folders such as Inbox, Sent, or Drafts cannot be renamed.

Instructions

Rename a mail folder. Special folders (Inbox, Sent, Drafts, ...) can't be renamed.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
folder_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutating nature is covered structurally. The description adds real value with the special-folder restriction, but says nothing about name-collision behavior, whether the rename is reversible, or what the response contains. No contradiction with annotations — renaming is a state-changing operation, consistent with destructiveHint=true.

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?

Two short sentences, front-loaded with the action and immediately followed by the one important constraint. No filler, no repetition of the tool name.

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 two-parameter mutation with annotations covering the safety profile and no output schema, the description covers the essentials plus a valuable restriction. It falls short on error/edge-case behavior (duplicate name, invalid folder_id) and on any parameter clarification, which an agent would likely need before invoking.

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 0%, so the description carries the full burden of explaining the two parameters, and it says nothing about them. An agent gets no guidance on whether folder_id is an opaque ID or a path, or on constraints for name (length, uniqueness, reserved characters). The parameter names are largely self-explanatory, which keeps this from a 1, but the gap is unaddressed.

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?

States a specific verb and resource ("Rename a mail folder"), which cleanly separates it from siblings like create_folder, delete_folder, and move_folder without needing to name them. Slightly short of 5 because it doesn't explicitly scope what a rename affects (only the folder label, not contents).

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?

Provides one concrete exclusion — special folders (Inbox, Sent, Drafts, ...) cannot be renamed — which is genuinely useful pre-call guidance. However, there is no explicit routing guidance (e.g., when to use move_folder instead, or what to do when a rename is rejected), leaving usage context implied rather than stated.

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