Skip to main content
Glama
ironscales-mcp

ironscales-mcp

by WYRE-AI

ironscales_email_classify

Classify an email as phishing, spam, or legitimate using Ironscales AI analysis. Submit sender, headers, URLs, or body content to assess message risk.

Instructions

Classify an email as phishing, spam, or legitimate using Ironscales AI analysis. Provide raw email headers and/or body content for analysis.

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": {
      "sender": "<sender>"
    },
    "name": "ironscales_email_classify"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsNoURLs found in the email body
senderYesSender email address
headersNoAdditional email headers as key-value pairs
subjectNoEmail subject line
reply_toNoReply-To email address if different from sender
body_htmlNoHTML body of the email
body_textNoPlain text body of the email
attachmentsNoList of attachment metadata (do not include file contents)
sender_display_nameNoDisplay name shown in the From field

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. It discloses that classification is done by Ironscales AI and that the result is one of three labels, which is genuinely useful behavioral information. However, it says nothing about whether the submitted email is stored or reported to Ironscales, whether a confidence score accompanies the verdict, 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.

Conciseness5/5

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

Two short sentences with the purpose and output labels front-loaded and the input expectation second. There is no filler, hedging, or redundant restatement.

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 nine-parameter tool with nested objects and no output schema, the description covers the core action and the label set but not the shape of the response beyond the three categories. It does not flag the privacy/storage implication of submitting email content to an external analysis engine, which an agent might want to know before calling it repeatedly.

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 explains all nine parameters, including the nested attachment metadata. The description adds only a light hint that headers and body content are the substance of the analysis, without explaining which fields most influence the verdict or that the other fields are optional enrichments.

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?

The description gives a specific verb plus resource (classify an email) and enumerates the exact output labels (phishing, spam, legitimate), which is more than a restatement of the name. It does not explicitly contrast itself with siblings like ironscales_incidents_list, though those siblings are clearly differentiated by name and this is the only classification tool.

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?

"Provide raw email headers and/or body content for analysis" is input guidance rather than when-to-use guidance; it implies the tool is invoked on a single suspicious email. There is no statement of when not to use it, no mention of how it relates to incident or remediation tools, and no note that only `sender` is strictly required.

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