Skip to main content
Glama
Roundcube MCP

Roundcube MCP

by SK108045

restore_email

Move an email from Trash to a chosen folder, defaulting to INBOX, to recover deleted messages.

Instructions

Restore a message from Trash to the selected destination 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": {
      "uid": "<uid>"
    },
    "name": "restore_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYes
destinationNoINBOX

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It conveys the source/destination direction of the mutation but omits permissions required, whether the Trash copy is removed, what happens on conflict with an existing message in the destination, and error behavior for non-trashed UIDs.

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?

A single front-loaded sentence with no filler; the source and destination are stated in the right order. It is appropriately sized, though its brevity reflects under-specification rather than dense information.

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?

An output schema exists, so return values need not be described, and the tool is simple with only two parameters. Still, for a destructive-ish mutation with zero annotations and zero schema coverage, the definition should say more about preconditions and the default destination.

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 must compensate. It ties 'destination' loosely to 'selected destination folder' but never explains that 'uid' identifies the message to restore, nor that destination defaults to INBOX, leaving both parameters largely 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?

States a specific verb ('Restore') and resource ('a message') plus the source constraint ('from Trash') and target ('selected destination folder'). This distinguishes it reasonably from generic siblings like move_email or copy_email, though no sibling is named explicitly.

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?

The phrase 'from Trash' implies the usage context (a message that currently sits in Trash), but there is no explicit when-to-use guidance, no mention of move_email as the general alternative, and no statement about what happens if the message is not in Trash.

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