Skip to main content
Glama
Xallor Email MCP

Xallor Email MCP

Official
by xallor-ai

add_account

Start connecting a Gmail, Outlook, or IMAP email account and return the verification steps plus handle needed to finalize authorization.

Instructions

Start adding an email account. For Outlook this returns a device code the user must enter at the verification URL; then call complete_add_account with the returned handle to finalize. For Gmail, share the authorization link AND explicitly ask the user to paste the full final redirected URL from the browser address bar after consent, even if the callback page fails to load. Do not just ask them to say when they are done. Pass that URL as authorizationResponse to complete_add_account with provider 'gmail' and the returned handle. Follow the returned verification.message instructions.

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": {
      "provider": "<provider>"
    },
    "name": "add_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoOptional hint — the provider will verify it against the auth result.
configNoProvider-specific config (e.g. IMAP host/port). Unused for Outlook.
providerYesEmail backend. 'outlook' (Microsoft Graph) and 'imap' are fully implemented.

Output Schema

NameRequiredDescriptionDefault
handleNo
statusYes
accountNo
verificationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden, and it does substantial work: it discloses that Outlook returns a device code plus a verification URL, that a `handle` is returned for the follow-up call, and that a `verification.message` block drives next steps. It stops short of stating permission scopes, token lifetimes, or what happens if the handle expires, so it is strong but not exhaustive.

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?

The flow is front-loaded and ordered correctly (start here, then Outlook path, then Gmail path, then follow verification.message). It is slightly over-packed, with the Gmail paragraph restating the same handoff twice, but every sentence targets a real operational decision.

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?

Given an output schema exists, return values need not be explained, yet the description still tells the agent what to look for (device code, handle, verification.message). The notable gap is the 'imap' enum value: the schema calls it fully implemented, but the description's flow guidance only covers Outlook and Gmail, leaving the agent without next-step instructions for IMAP.

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 100%, so provider, email, and config semantics are already documented in the schema, and the description adds nothing about them. It mentions `handle` and `authorizationResponse`, but those belong to the sibling finalize tool rather than this tool's inputs, so the added value for this schema is minimal beyond the baseline.

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?

The description opens with a concrete verb and resource ('Start adding an email account') and immediately frames this as step one of a two-step flow whose step two is `complete_add_account`. An agent can distinguish it from the finalize sibling without inspecting either schema.

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

Usage Guidelines5/5

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

It explicitly names the follow-up tool and the exact condition that triggers it, then branches per provider: Outlook uses a device code, Gmail requires sharing an auth link and collecting the redirected URL. It also gives a negative instruction ('Do not just ask them to say when they are done'), which is unusually precise guidance for a common failure mode.

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