Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

get_domain_trends

Read-onlyIdempotent

Retrieve daily delivery, open, click, bounce, and complaint rate trends for a sending domain over a configurable lookback window to monitor email performance.

Instructions

Delivery and engagement trend data for a sending domain over time. Shows daily delivery rate, open rate, click rate, bounce rate, and complaint rate.

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": {
      "domain_id": "<domain_id>"
    },
    "name": "get_domain_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLookback window in days.
domain_idYesSending domain ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context by specifying that the data is aggregated daily and which five rate metrics are returned, but it says nothing about rate limits, data freshness, or what happens to empty windows. That is adequate but not rich given the annotations do the heavy safety lifting.

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?

Two short sentences, front-loaded with the scope (a sending domain over time) followed by the metric enumeration. No filler or redundant restatement of the tool name.

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

Completeness5/5

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

For a simple two-parameter read-only trend tool with no output schema, the description covers what the tool returns (five named rates at daily granularity) and its scope. Annotations cover the safety profile, so nothing critical is missing for correct invocation.

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 both parameters (domain_id and days with a default of 30) are already documented in the schema. The description's mention of 'daily' data implies the aggregation granularity that days controls, but it adds no format or boundary detail about the lookback window or the domain ID. This is the baseline case where the schema carries parameter meaning.

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 resource (a sending domain's delivery/engagement trend data over time) and enumerates the returned metrics: daily delivery, open, click, bounce, and complaint rates. It does not name or distinguish itself from the closely-related sibling get_engagement_trends, so differentiation is left to the agent.

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 when-to-use guidance, no exclusions, and no mention of alternatives such as get_engagement_trends, get_dmarc_trend, or get_domain_funnel. Usage is only implied by the phrase 'over time' and the metric list, which is thin given how similar several siblings appear to be.

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

Deploy Server

Other Tools