Run spam analysis for a message.
AI agents call mailosaur_analysis_spam to retrieve information from Mailosaur MCP without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Spam analysis retrieves and evaluates the content of a message to produce a report. It has no side effects, does not modify data, and is purely a read/query operation. The blast radius is minimal since misuse would only result in unnecessary API calls or exposure of message content.
From the tool's definition "Run spam analysis for a message" — this is an analytical/read operation that examines an existing message and returns analysis results without modifying or deleting anything.
Attacks that exploit this kind of access
Run spam analysis for a message. It is categorised as a Read tool in the Mailosaur MCP MCP Server, which means it retrieves data without modifying state.
Register the Mailosaur MCP server in PolicyLayer and add a rule for mailosaur_analysis_spam: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mailosaur MCP. Nothing to install.
mailosaur_analysis_spam is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the mailosaur_analysis_spam rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for mailosaur_analysis_spam. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
mailosaur_analysis_spam is provided by the Mailosaur MCP server (mrnewdelhi/mailosaur-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →