Skip to main content
Glama
Xallor Email MCP

Xallor Email MCP

Official
by xallor-ai

archive_email

Archive an email by removing it from the inbox or moving it to the provider's archive folder, returning a shareable web link to the archived message when available.

Instructions

Archive a message using the provider-native behavior: Gmail removes only the Inbox label (the message stays in All Mail); other providers use their archive folder. Returns webUrl, the shareable native web-client link for the post-operation message; it may be omitted with webUrlUnavailableReason.

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": {
      "account": "<account>",
      "id": "<id>"
    },
    "name": "archive_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMessage ID to move
accountYes

Output Schema

NameRequiredDescriptionDefault
idYes
webUrlNo
archivedYes
webUrlUnavailableReasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it discloses exactly what happens to the message per provider ('Gmail removes only the Inbox label... other providers use their archive folder'), which implicitly signals a non-destructive operation. It also explains the return payload and the partial-failure field `webUrlUnavailableReason`. It omits reversibility (can the message be unarchived), required account permissions, and error behavior for an invalid id.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the operation and its provider-specific effect come first, the return contract second. Every clause carries information – the Gmail/other-provider distinction is essential, and the `webUrl`/`webUrlUnavailableReason` note prevents a false assumption of always-present output.

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 restating `webUrl` is redundant but harmless, and the provider-behavior detail is genuinely needed. However, for a mutation tool with zero annotations, the description should explicitly state that archiving is non-destructive and reversible and whether the account must be authenticated/owned – those gaps leave the agent inferring the safety profile.

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 only 50% – `id` is documented in the schema while `account` relies on an email-format regex alone. The description adds no meaning about either parameter: it never states that the message must belong to the given account or what identifier form `id` takes. It therefore fails to compensate for the coverage gap.

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 gives a specific verb and resource ('Archive a message') and immediately qualifies it with provider-native semantics, so the agent knows this is not a generic move. It never names trash_email or move_email as the alternative, so differentiation from those siblings is left implicit rather than explicit.

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?

Usage is only implied: the provider behavior explanation suggests when archiving differs from moving or deleting, but there is no statement of when to prefer this tool over siblings or any prerequisite conditions. An agent can infer the use case but must reason about it rather than being told.

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