Skip to main content
Glama
Xallor Email MCP

Xallor Email MCP

Official
by xallor-ai

get_new_emails

Fetch a bounded batch of inbox emails not previously returned by earlier calls, optionally scoped to one account, so agents can poll for new mail on their own schedule.

Instructions

Fetch a bounded batch of inbox emails not previously returned by this tool. Agents should call this on their own schedule. Bodies are returned as markdown and may be truncated. Each email 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": "get_new_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum emails to return. Defaults to 10. Use 0 to initialize/check without fetching bodies.
accountNoEmail account to poll. If omitted, polls all accounts with one global limit.

Output Schema

NameRequiredDescriptionDefault
countYes
emailsYes
errorsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A3.9/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 burden and does substantial work: bodies come back as markdown and may be truncated, results are deduplicated against prior calls, and webUrl entries are user-shareable native-client links requiring mailbox access, with an explicit fallback field. It stops short of describing state persistence across sessions or pagination exhaustion behavior, so it is not fully 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?

Four sentences, front-loaded with the core behavior and dedup semantics before the return-format details. The 'call this on their own schedule' sentence is the weakest — it is vague about cadence — but everything else carries concrete information.

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?

An output schema exists, so the description is not obligated to enumerate return values, yet it still adds useful hints about truncation and the webUrl/webUrlUnavailableReason pair. Remaining gaps — how much state the tool retains, whether truncation is signaled per-email or per-batch — are minor for a two-parameter polling tool.

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%, with limit and account both fully documented (including the limit=0 initialize case and the all-accounts default). The description only echoes 'bounded batch' and adds no syntax, interaction, or edge-case detail beyond the schema, so the baseline of 3 applies.

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?

Names a specific verb and resource ('Fetch a bounded batch of inbox emails') and adds a distinctive scope qualifier — emails 'not previously returned by this tool' — that separates it from stateless siblings like list_emails or search_emails. An agent can tell this is an incremental/polling fetch without opening the schema.

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?

'Agents should call this on their own schedule' establishes a polling usage pattern, which is genuinely useful context. However, it never states when to reach for this versus list_emails, search_emails, or read_email, and gives no exclusions or preconditions, so the routing guidance is only implied.

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