Skip to main content
Glama
Roundcube MCP

Roundcube MCP

by SK108045

delete_folder

Permanently remove a mailbox folder after explicit confirmed=true confirmation; system folders are protected.

Instructions

Delete a folder. Requires confirmed=true and protects system folders.

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": "<folder>"
    },
    "name": "delete_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderYes
confirmedNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose two safety traits that annotations would normally cover: a confirmation gate and a guard on system folders. However, it says nothing about irreversibility, whether contained emails are deleted, cascade behavior, or permission requirements, which are the traits an agent most needs before a destructive call.

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?

Two short sentences, front-loaded with the action and followed by the constraints; nothing is wasted. Brevity is close to the right level, though the terseness contributes to the missing scope details rather than being a pure virtue.

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?

An output schema exists, so return values need not be described, and the definition covers the essential safety precondition. For a destructive two-parameter tool the remaining gaps — cascade/irreversibility behavior and how to identify a system folder — are noticeable but not fatal.

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 description coverage is 0%, so the description must compensate for both parameters. It adds real meaning for `confirmed` by stating it must be true (the schema only shows a default of false), but it never explains what `folder` expects — an ID, a name, or a path — leaving half the parameters undocumented.

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 names a specific verb and resource ("Delete a folder"), which is enough for an agent to separate it from the sibling deletes (delete_draft, delete_email). It stops short of saying whether the deletion is recursive or what happens to contents, so the scope of the resource is only partly pinned down.

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?

"Requires confirmed=true" gives an implicit precondition for calling the tool, and "protects system folders" hints that some targets are rejected. There is no explicit when-to-use vs when-not-to-use guidance relative to rename_folder, create_folder or the other delete tools, so the agent must infer the routing.

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