Skip to main content
Glama
mailgun

Mailgun MCP Server

Official
by mailgun

post--v1-analytics-usage-metrics

Query Mailgun account usage metrics to analyze email validation, processing, and monitoring statistics with customizable date ranges and dimensions.

Instructions

Query account usage metrics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startNoA start date (default: 7 days before current time). Must be in RFC 2822 format: https://datatracker.ietf.org/doc/html/rfc2822.html#page-14
endNoAn end date (default: current time). Must be in RFC 2822 format: https://datatracker.ietf.org/doc/html/rfc2822.html#page-14
resolutionNoA resolution in the format of 'day' 'hour' 'month'. Default is day.
durationNoA duration in the format of '1d' '2h' '2m'. If duration is provided then it is calculated from the end date and overwrites the start date.
dimensionsNoAttributes of the metric data such as 'subaccount'. See [dimensions](https://documentation.mailgun.com/docs/mailgun/user-manual/reporting/dimensions)
metricsNoName of the metrics to receive the stats for such as 'processed_count'.
filterNo
include_subaccountsNoInclude stats from all subaccounts.
include_aggregatesNoInclude top-level aggregate metrics.
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/mailgun/mailgun-mcp-server'

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