Skip to main content
Glama
resend

Email Sending MCP

by resend

Email Metrics

get-email-metrics
Read-only

Retrieve email delivery and engagement metrics for any date range. Filter by period, domain, email, or broadcast to diagnose performance and optimize campaigns.

Instructions

Retrieve account-level email delivery and engagement metrics (sent, delivered, bounced, opened, clicked, etc.) for a date range, optionally broken down by period, domain, email, or broadcast.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailIdNoRestrict the response to these email IDs (max 100). Cannot be combined with the "broadcast" dimension or broadcastId.
endDateNoEnd of the date range, as an ISO 8601 date or datetime. Defaults to now.
metricsNoMetrics to include in the response. Defaults to all metrics.
domainIdNoRestrict the response to these sending domain IDs (max 100).
timezoneNoIANA timezone (e.g. "America/New_York") used to bucket periods when "period" is in dimensions. Defaults to UTC.
startDateNoStart of the date range, as an ISO 8601 date or datetime. Defaults to 6 days before endDate.
dimensionsNoDimensions to break the response down by. "email" and "broadcast" cannot be combined. Defaults to none, which returns totals only.
broadcastIdNoRestrict the response to these broadcast IDs (max 100). Cannot be combined with the "email" dimension or emailId.
granularityNoBucket size used when "period" is in dimensions. Defaults to "daily".

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv2.17.0

TDQS

A4/5.0
Behavior3/5

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

The description accurately reflects a read-only operation, aligning with the readOnlyHint annotation. It adds useful context by stating the response can be totals-only by default and can be broken down by dimensions. However, it doesn't disclose behaviors like defaults for date range (6 days before endDate), default granularity (daily), max 100 IDs, or the mutual exclusions between emailId/broadcastId and dimensions. Those are in the schema, so this is not a contradiction, but the description itself adds limited behavioral depth beyond the annotation.

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?

The description is a single well-structured sentence that front-loads the core purpose (retrieve metrics), scopes it (account-level), lists the key metric types, and states the available breakdown dimensions. Every element earns its place without redundancy. It is appropriately sized for a read-only analytics tool with rich schema documentation.

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?

The description is complete for an agent's initial selection and invocation: it names the resource, the metric families, the date range, and the optional breakdowns. Combined with 100% schema coverage and the readOnlyHint annotation, the agent has enough to call the tool safely for most cases. A small gap is that the description doesn't mention the default behavior (totals only) or the incompatibilities between parameters, but those are documented in the schema, and there is no output schema or complex nested structure demanding more.

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%, so the baseline is 3. The description adds conceptual meaning by listing the breakdown dimensions (period, domain, email, broadcast) and metric categories, but it doesn't add value beyond what the schema already documents. It does not clarify the mutual exclusion constraints or the meaning of 'defaults to none, which returns totals only' in a way that improves on the parameter descriptions, so it earns the baseline without exceeding it.

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 clearly states the tool retrieves account-level email delivery and engagement metrics with a specific verb ('Retrieve') and resource ('account-level email delivery and engagement metrics'). It enumerates the metric types and the optional breakdown dimensions, which distinguishes it from sibling tools like get-email or list-emails. The scope (account-level) and the filtering/breakdown options make the tool's purpose unambiguous.

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

Usage Guidelines4/5

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

The description conveys the main use case: retrieving aggregate email metrics for a date range, optionally broken down by period, domain, email, or broadcast. It does not explicitly name sibling alternatives or state when not to use this tool, but the context (read-oriented analytics vs. tools like send-email, list-emails, get-broadcast) makes the intended usage reasonably clear. Slight deduction for lacking explicit exclusion guidance such as 'for per-recipient data use list-broadcast-recipients.'

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/resend/resend-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server