Skip to main content
Glama
Ecomail MCP Server

Ecomail MCP Server

Official
by Ecomailcz

Get Automation Stats for Emails

get-automation-stats-emails

Fetches engagement statistics for multiple email addresses in an automation to help compare recipient activity and identify performance patterns.

Instructions

Fetch engagement statistics for multiple email addresses in 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>",
      "emails": "<emails>"
    },
    "name": "get-automation-stats-emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number
emailsYesArray of email addresses
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 provided, so the description carries the full burden of behavioral disclosure. 'Fetch' implies a read-only operation, but the description does not state permissions, pagination defaults, result shape, or any rate-limit or error behavior.

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?

The description is a single front-loaded sentence with no unnecessary wording. It is concise, though its brevity contributes to the gaps in usage and behavioral detail elsewhere.

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 four-parameter statistics tool with no annotations and no output schema, the description should do more than say 'engagement statistics.' It does not define what statistics are returned, how pagination works, or what the agent should expect from the response.

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 schema already documents automation_id, emails, page, and per_page. The description only restates that multiple emails and an automation are involved, adding no syntax, constraints, or meaning beyond the schema.

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 states a specific verb and resource: fetching engagement statistics for multiple email addresses within an automation. This is clearer than the bare tool name, but it does not explicitly differentiate the tool from siblings such as get-automation-stats or get-automation-stats-detail.

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 explicit guidance on when to use this tool instead of get-automation-stats, get-automation-stats-detail, or the campaign/segment stats tools. The only implied distinction is that this tool takes multiple email addresses, but the description does not state exclusions or selection criteria.

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