Skip to main content
Glama
Ecomail MCP Server

Ecomail MCP Server

Official
by Ecomailcz

Get Automation Stats

get-automation-stats

Retrieve aggregate statistics for a specific automation to track performance and support data-driven email workflow decisions.

Instructions

Retrieve aggregate statistics for a specific 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"
  }
}

Input Schema

NameRequiredDescriptionDefault
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 disclosure burden and falls well short. It does not say whether this is a read-only operation, what metrics are aggregated, over what time window, or what permissions the automation_id requires — all material for an analytics call.

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 short sentence, front-loaded with the verb and free of filler. It is efficient but borders on under-specification, since the brevity comes at the cost of the behavioral and routing information above.

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

Completeness3/5

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

For a one-parameter read tool with no output schema, the description is minimally serviceable — the agent knows what the call returns at a high level. It omits the aggregation scope and how this differs from the detail and emails variants, which is the main thing an agent needs in order to choose correctly.

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% with a single required automation_id typed as number, so the schema already documents the parameter and the baseline of 3 applies. The description adds no format or sourcing detail (e.g. where to obtain the automation ID) beyond what the schema provides.

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?

States a specific verb and resource ("Retrieve aggregate statistics") scoped to "a specific automation", which is clearer than the bare name. However, it does nothing to separate itself from siblings like get-automation-stats-detail or get-automation-stats-emails, so the agent cannot tell from the text which of the three to call.

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?

No when-to-use guidance, no exclusions, no mention of any alternative. The word "aggregate" is the only implicit hint that this is the summary view rather than detail or email-level data, and the agent must infer that from the name alone.

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