mautic_get_email_stats
Get detailed email statistics (sends, opens, bounces, failures) for a specific email or across all emails. Queries the email_stats table. Use where filters to narrow by email_id, date range, is_read, is_failed, etc.
This record as markdown: /tools/esanum-mcp-mautic/mautic-get-email-stats.md
What mautic_get_email_stats does on Mcp Mautic
AI agents call mautic_get_email_stats to retrieve information from Mcp Mautic without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why mautic_get_email_stats is rated Low
This tool retrieves and queries email performance metrics (sends, opens, bounces, failures) without creating, modifying, or deleting data. It is a straightforward read operation on analytics/statistics data. The ability to filter results does not change its fundamental read-only nature. Severity is low because email statistics are non-sensitive operational data with no blast radius if misused by an AI agent.
From the tool's definition Tool description explicitly states 'Get detailed email statistics' and 'Queries the email_stats table' with filtering capabilities. No modification, deletion, or external execution is mentioned.
Attacks that exploit this kind of access
The rule that runs mautic_get_email_stats safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Mcp Mautic, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For mautic_get_email_stats, this is the rule to start with:
mautic_get_email_stats is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Mcp Mautic, apply this rule, and every mautic_get_email_stats call is checked against it from then on.
Questions about mautic_get_email_stats
Get detailed email statistics (sends, opens, bounces, failures) for a specific email or across all emails. Queries the email_stats table. Use where filters to narrow by email_id, date range, is_read, is_failed, etc. It is categorised as a Read tool in the Mcp Mautic MCP Server, which means it retrieves data without modifying state.
Register the Mcp Mautic MCP server in PolicyLayer and add a rule for mautic_get_email_stats: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Mautic. Nothing to install.
mautic_get_email_stats is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the mautic_get_email_stats rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for mautic_get_email_stats. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
mautic_get_email_stats is provided by the Mcp Mautic MCP server (esanum/mcp-mautic). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Mcp Mautic, and thousands of servers like it.
This server
Across the catalogue