Skip to main content
Glama

Cooper Email

Inbox snapshot

cooper_inbox_snapshot

Use this to save or restore a named snapshot of one inbox. Requires auth. Inputs: inbox_id (omit when this key is limited to one inbox), action (create, list, diff, restore, or delete), name when action is create, snapshot_id when action is diff, restore, or delete. create returns the snapshot. list returns snapshots newest first. diff returns messages added, label or read changes, and drafts created after the snapshot. restore puts labels and read state back and deletes drafts created after the snapshot. It does not delete messages and it does not unsend mail. The result says unsend false. At most 50 snapshots per inbox. COOPER_INBOX_SNAPSHOTS=off returns HTTP 503 snapshots_disabled. The default is on. Same as /api/v1/inboxes/{id}/snapshots.

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": "cooper_inbox_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoSnapshot name, 1 to 80 characters. Required for create.
actionYescreate, list, diff, restore, or delete.
inbox_idNoInbox id, username, or email. Omit it when this key is limited to one inbox.
snapshot_idNoSnapshot id (snp_…). Required for diff, restore, and delete.

Output Schema

NameRequiredDescriptionDefault
idNoSnapshot id (snp_…), when one snapshot is returned.
dataNoSnapshots, when action is list.
nameNoName given at create.
noteNoStates that sent mail is not unsent.
objectNoinbox_snapshot, list, inbox_snapshot_diff, or inbox_snapshot_restore.
unsendNoAlways false. Restore does not unsend mail.
inbox_idNoInbox id.
created_atNoISO-8601 time the snapshot was taken.
messages_addedNoMessages stored after the snapshot. They are not deleted on restore.
drafts_discardedNoHow many drafts created after the snapshot were deleted, on restore.
messages_deletedNoAlways 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Substantially exceeds the annotations: it discloses what restore actually changes (labels, read state) and what it deletes (drafts created after the snapshot), negates common misconceptions ('does not delete messages', 'does not unsend mail'), states the result field 'unsend false', and documents the 50-snapshot cap plus the COOPER_INBOX_SNAPSHOTS=off 503 failure mode.

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?

Front-loaded with the purpose, then inputs, then per-action returns and constraints; no filler sentences. The prose is telegraphic and slightly run-on, but every clause carries operational information.

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

Completeness5/5

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

With an output schema present, the description need not explain return shapes, and it still summarizes each action's return. Limits, feature-flag behavior, error code, and the equivalent REST endpoint are all present — an agent has everything needed to pick an action and interpret failures.

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 100%, and the schema already declares that name is required for create and snapshot_id for diff/restore/delete. The description restates those conditionals plus a character range it does not add to, so it consolidates rather than extends the schema — baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('save or restore a named snapshot of one inbox') and enumerates the five supported actions. No sibling in the catalog deals with snapshots, so the resource alone is distinguishing, and the per-action breakdown makes the multi-mode nature unambiguous.

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 clear conditions for each action (create needs name, diff/restore/delete need snapshot_id) and tells the agent to omit inbox_id when the key is scoped to one inbox. It stops short of any explicit when-not guidance or routing to an alternative, but since no sibling overlaps there is little to route to.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.