Skip to main content
Glama

workspaces_mailboxes_unarchive_create

Cancels the scheduled deletion. The mailbox comes back disabled: enable it to send again. Sellvance-hosted mailboxes cannot be restored (400 code: cannot_unarchive) because archiving removed them from the provider. Idempotent: unarchived: false when it was not archived.

Method: POST /api/v1/workspaces/{workspace_sqid}/mailboxes/{sqid}/unarchive/

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": {
      "sqid": "<sqid>"
    },
    "name": "workspaces_mailboxes_unarchive_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so well: it discloses the post-condition (mailbox returns disabled), the failure mode and error code for provider-hosted mailboxes, and idempotency semantics with the exact response field unarchived: false. That is exactly the kind of non-obvious mutation behavior an agent cannot get from structured fields.

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-loads the core effect in the first sentence, then stacks constraints, error code, and idempotency in short clauses with no filler. The trailing 'Method: POST /api/v1/...' line is largely redundant with the tool name but is compact and does clarify the routing.

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?

For an annotation-free mutation with no output schema, it covers the important gaps: irreversibility for hosted mailboxes, idempotency, and the resulting mailbox state. It omits permission/auth requirements and does not resolve the workspace_sqid versus sqid path ambiguity, which is the remaining hole.

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 0% and the single sqid parameter is undocumented in the schema, so the description should compensate but does not say whether sqid is the mailbox SQID or the workspace SQID. The path template mentions both {workspace_sqid} and {sqid} while the input schema only accepts sqid, leaving a mild ambiguity; the parameter is nonetheless a self-evident identifier, so a 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 specific effect on a specific resource: 'Cancels the scheduled deletion' of a mailbox, reinforced by the POST .../unarchive/ path. It does not name its siblings (bulk_unarchive or archive) so an agent must infer that this acts on a single mailbox rather than a batch, which keeps it below a 5.

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 concrete when-not condition: Sellvance-hosted mailboxes cannot be restored and return 400 cannot_unarchive, so the agent knows an attempt will fail for that class. It also flags the follow-up step (re-enable to send again), but never names an alternative tool such as bulk_unarchive or archive for other cases.

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.