Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

create_alert_rule

Create an alert rule to monitor deliverability metrics and trigger notifications when a metric exceeds a set threshold within a specified time window.

Instructions

Create an alert rule for deliverability metrics. Triggers when a metric exceeds the threshold within the specified time window.

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": {
      "metric": "<metric>",
      "threshold": "<threshold>",
      "channel": "<channel>"
    },
    "name": "create_alert_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
metricYesMetric to monitor (e.g. 'bounce_rate', 'complaint_rate').
channelYesNotification channel (e.g. 'email', 'webhook').
enabledNoWhether the rule is active.
thresholdYesThreshold value that triggers the alert.
window_minutesNoEvaluation window in minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the mutation and safety profile is covered. The description adds genuine behavioral context in saying the rule fires when a metric exceeds the threshold within a window, but says nothing about what is returned, whether duplicate rules are permitted, or what notification side effects (email/webhook) occur.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the resource and the trigger semantics front-loaded; there is no redundant or filler wording.

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 creation tool with three required parameters, full schema coverage and no output schema, the description is adequate but omits useful context such as whether the new rule's identifier is returned or what notification behavior to expect. Annotations carry the mutation profile, so nothing critical is missing, but the definition is thin.

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 all five parameters including defaults. The description adds only slightly by framing threshold and window as a paired evaluation condition; it gives no extra syntax, units, or value constraints 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?

States a specific verb and resource ('Create an alert rule') plus the domain ('deliverability metrics'), which is far more informative than a bare name restatement. It does not, however, contrast itself with siblings such as create_inbound_rule or the update/delete alert-rule variants.

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

Usage Guidelines3/5

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

Usage is implied by the second sentence: the tool is for threshold-exceeded conditions on metrics. There is no explicit when-to-use versus when-not, no mention of prerequisites, and no pointer to update_alert_rule for modifying an existing rule.

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