Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

run_spam_check

Read-only

Analyze email content before sending: check from-domain reputation, link safety, and subject line structure. Returns per-issue details with severity to catch broken HTML, image-heavy layouts, and suspicious links.

Instructions

Pre-send content analysis: from-domain reputation, link safety, subject line review. Returns per-issue details with severity. NOTE: Content keywords ('spam words') are NOT the primary deliverability signal -- engagement history dominates. Use this to catch structural issues (broken HTML, image-heavy layout, suspicious links), not to wordsmith subject lines.

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": {
      "from_domain": "<from_domain>"
    },
    "name": "run_spam_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
linksNoURLs in the email body.
from_domainYesSending domain (e.g. 'company.com').
client_scoresNoOptional client-side spam scores (e.g. SpamAssassin).
subject_previewNoEmail subject line for analysis.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly=true, destructive=false, openWorld=true, idempotent=false. The description adds that results come back as per-issue details with severity, which is useful given no output schema, but it never explains the openWorld implication (external reputation lookups) nor why a read-only analysis would be non-idempotent. It also doesn't state cost, latency, or rate limits.

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?

Front-loaded with the purpose, then the return shape, then a scoping caveat. The NOTE is somewhat long but earns its space by preventing a common misuse. No filler sentences.

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

Completeness4/5

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

For a 4-parameter read-only tool with no output schema, the description covers inputs, output shape (per-issue details with severity), and the tool's limitations as a signal. Remaining gaps are externals like latency and the meaning of the openWorld annotation, which are secondary for a pre-send check.

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 coverage is 100%, so the schema already documents all four parameters, making 3 the baseline. The description does loosely map three inputs to analysis types (from-domain reputation, link safety, subject line review), but the optional 'client_scores' object is never mentioned and no format or precedence guidance is added.

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 scope ('Pre-send content analysis') and enumerates the three checks it performs: from-domain reputation, link safety, subject line review. It is clearly distinguishable from siblings like check_inbox_test or check_blacklist, though it does not name those alternatives explicitly.

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

Usage Guidelines4/5

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

The NOTE gives an explicit exclusion ('not to wordsmith subject lines') and a positive use case ('catch structural issues: broken HTML, image-heavy layout, suspicious links'). What's missing is a named alternative for the adjacent tasks (inbox placement testing, blacklist checks), so routing between siblings still requires inference.

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