Skip to main content
Glama
Evermail MCP Server

Evermail MCP Server

Get archive statistics

get_archive_analytics
Read-onlyIdempotent

Retrieve aggregate statistics for an entire email archive, including message totals, date ranges, top senders and recipients, attachments, yearly volume, busiest times, and active threads.

Instructions

Get aggregate statistics for the whole email archive: total messages, date range, top senders and recipients, longest-running correspondent, attachments, volume by year, busiest times, top domains, and most active threads.

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_archive_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so safety is covered structurally. With no output schema, the description's enumeration of the returned aggregates is valuable added context about what the agent will get back. It stops short of noting cost or latency of aggregating an entire archive, which is a real consideration for a global-scan tool.

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?

A single front-loaded sentence opens with the core verb and scope before listing metrics, so the important information lands first. The trailing metric list is long but each item is substantive given the absence of an output schema; there is no filler or repetition.

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 a zero-parameter, read-only aggregate tool with no output schema, the description does the needed work by specifying the categories of results. It is nearly complete, with only minor gaps around performance characteristics and whether results are computed fresh or cached.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. Nothing in the description misleads about inputs; the 'whole email archive' framing correctly signals that no scoping arguments exist.

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 ('Get aggregate statistics') and resource ('the whole email archive'), then enumerates the exact metrics returned (total messages, date range, top senders/recipients, attachments, volume by year, top domains, active threads). This clearly separates it from retrieval siblings like get_email or search_emails, which return individual messages rather than corpus-wide aggregates.

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 phrase 'for the whole email archive' implies this tool takes no filters and is the whole-corpus counterpart to per-message or search tools, which is useful implicit routing. However, there is no explicit when-to-use guidance, no statement of when to prefer search_emails or list_mailboxes instead, and no prerequisites or exclusions stated.

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