Skip to main content
Glama
Ecomail MCP Server

Ecomail MCP Server

Official
by Ecomailcz

Get Automation Stats Detail

get-automation-stats-detail

Retrieve per-subscriber statistics for an email automation, filtered by date, event type, or email address to analyze individual subscriber activity.

Instructions

Get per-subscriber statistics for an automation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "automation_id": "<automation_id>"
    },
    "name": "get-automation-stats-detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoFilter from date (YYYY-MM-DD, UTC)
pageNoPage number
typeNoFilter by event type
emailNoFilter by email
per_pageNoResults per page (max 5000)
automation_idYesAutomation ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and largely fails it: it does not disclose the shape of the returned statistics, whether results are paginated (page/per_page exist in schema but are unexplained behaviorally), how large result sets behave, or any auth/permission requirements. Only the high-level notion of 'per-subscriber statistics' is conveyed.

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?

One tight sentence with no filler and the resource scope front-loaded. It is efficient, though the brevity borders on under-specification rather than deliberate economy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter read tool with no annotations and no output schema, the description is too thin: it does not describe return content, pagination expectations, or how it relates to the similarly named stats siblings. An agent could call it, but with little confidence about what comes back.

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 every parameter (automation_id, from, type, email, page, per_page) is already documented in the schema including the enum and max of 5000. The description adds no extra meaning such as filtering interactions or default behavior, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Get') and a precisely scoped resource ('per-subscriber statistics for an automation'). 'Per-subscriber' distinguishes it meaningfully from an aggregate automation-stats tool, though it never names the sibling explicitly.

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

Usage Guidelines2/5

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

There is no guidance on when to pick this over get-automation-stats or get-automation-stats-emails, nor any mention of prerequisites or typical workflows. The agent must infer selection criteria purely from the phrase 'per-subscriber'.

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