Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

classify_content

Read-onlyIdempotent

Analyze email content with LLM to detect quality issues, intent signals, and deliverability risks, returning classification labels, confidence scores, and actionable recommendations.

Instructions

LLM-powered content classification for email drafts. Analyzes subject lines, HTML body, or raw text for quality issues, intent signals, and deliverability risks. Returns classification labels, confidence scores, and actionable recommendations. Complements run_spam_check (structural analysis) with semantic understanding.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "classify_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentNoPlain text content to analyze (alternative to html_body).
subjectNoEmail subject line to analyze.
html_bodyNoHTML email body to analyze.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, and non-destructive behavior, so safety is covered. The description adds useful behavioral context: it uses LLM semantic analysis, examines subject lines, HTML body, or raw text, and returns labels, confidence scores, and recommendations. It does not discuss latency or cost, but that is a minor gap given the annotations.

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?

The description is four focused sentences with no wasted wording. It is front-loaded with what the tool does, then covers inputs, outputs, and sibling differentiation in a logical order.

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?

Given the low parameter complexity, full schema coverage, and annotations covering safety, the description is complete enough to support correct invocation. It explains the analysis scope, expected return information despite no output schema, and the complementary relationship to run_spam_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 description coverage is 100%, so the schema already documents all three parameters. The description maps the tool to subject lines, HTML body, or raw text, but it adds no new constraints, formats, or mutual-exclusivity rules beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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: LLM-powered content classification for email drafts. It also distinguishes the tool from run_spam_check by framing itself as semantic understanding versus structural analysis, so an agent can tell the two apart without opening schemas.

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?

It gives clear usage context by saying it analyzes email drafts for quality, intent, and deliverability risks, and it names run_spam_check as the structural-analysis alternative. However, it does not specify explicit when-not conditions or precise selection criteria beyond the semantic versus structural distinction.

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