Skip to main content
Glama
Xallor Email MCP

Xallor Email MCP

Official
by xallor-ai

search_emails

Find emails using optional free-text queries and sender, recipient, CC, or BCC filters across one or all registered accounts.

Instructions

Search emails using optional free text and address filters. cc searches both CC and BCC. Supplied criteria are combined with AND. Pass account to search one account, or omit it to search all registered accounts in parallel. Each item may include webUrl, a user-shareable native-client link that requires mailbox access, or webUrlUnavailableReason when no link is available.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoMatch a CC or BCC recipient.
toNoMatch a direct recipient.
fromNoMatch the sender.
limitNo
queryNoOptional free-text search query.
accountNo

Output Schema

NameRequiredDescriptionDefault
countYes
itemsYes
errorsNo
accountYes
accountsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose meaningful behavior: criteria are ANDed, an omitted `account` triggers a parallel fan-out across all registered accounts, and result items may carry `webUrl` (which requires mailbox access) or `webUrlUnavailableReason`. It stops short of stating that this is a read-only operation, any rate/pagination behavior, or match semantics (substring vs exact, case sensitivity).

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?

Four short sentences, each carrying distinct information: filters, matching semantics, account scoping, and return-shape caveats. Front-loaded with the core purpose, and nothing is redundant with the title or restated for padding.

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?

An output schema exists, so the description only needs to flag the non-obvious return fields, which it does for `webUrl` and `webUrlUnavailableReason`. Combined with the AND rule and account fan-out behavior, an agent has enough to invoke this correctly; the only omission is `limit` defaults, which is minor for a six-parameter, all-optional tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and the description adds real meaning beyond it: the AND-combination rule across supplied criteria and the single-account vs all-accounts behavior of `account`. It also clarifies that `cc` covers BCC, though the schema description already says this. `limit` is left entirely unexplained in both schema and description, including its default.

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 opening sentence names a specific verb and resource (search emails) plus the two filter families (free text, address). It is clearly distinct from a plain listing operation by emphasizing filter-driven search, but it never names or contrasts with siblings such as list_emails or get_new_emails, so an agent must infer the boundary.

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?

The description gives concrete scoping guidance for the `account` parameter: pass one address to search a single account, or omit it to search all registered accounts in parallel. It offers no guidance on when to prefer this tool over list_emails/get_new_emails, nor any exclusions or preconditions, so usage is implied rather than stated.

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