Skip to main content
Glama
mailbox-org-mcp
by getrdone

Restore mail from mailbox.org backups

mailbox_backups

List available mailbox.org daily backups or restore a chosen backup to recover accidentally deleted mail, optionally limiting the restore to a single folder.

Instructions

mailbox.org keeps daily backups. action list shows available backup times; restore imports one back into the mailbox (optionally only a folder, via filter). Use when mail was deleted by mistake. Needs MAILBOX_API_KEY.

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": {
      "action": "<action>"
    },
    "name": "mailbox_backups"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoBackup id from list
timeNoBackup time from list
actionYes
filterNoOptional folder filter for restore

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false; the description adds the auth prerequisite (MAILBOX_API_KEY), the fact that backups are daily, and that a partial restore is possible via a folder filter. These are meaningful operational details beyond the annotations. It does not say whether a restore duplicates or overwrites existing messages, which is the remaining behavioral gap.

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?

Three short sentences, front-loaded with how backups work and ending with the precondition. Compressed but readable; a slight cost is the telegraphic 'action list shows...' construction, which could be phrased more directly.

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 mutating restore tool with no output schema, the definition covers auth and the trigger condition but omits what a restore actually does to the current mailbox state (duplication, conflict with existing messages, whether it requires confirmation) and what the list action returns. Adequate but with clear gaps.

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 coverage is 75% and the schema already documents id/time as coming 'from list' and filter as an optional folder filter for restore. The description largely restates those meanings, adding only the linkage that list produces the ids/times consumed by restore. Marginal value over the schema, so baseline 3.

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 concrete verb+resource pair and splits the two modes explicitly: 'action list shows available backup times; restore imports one back into the mailbox (optionally only a folder, via filter).' An agent can tell what each action does without opening the schema, though it does not contrast itself with any sibling tool by name.

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

Usage Guidelines4/5

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

Gives a clear triggering condition: 'Use when mail was deleted by mistake.' That is enough context to pick this tool for accidental deletion, but there is no when-not guidance (e.g. bulk restores, overwriting current mail) and no named alternative.

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