6 tools. 2 can modify or destroy data without limits.
2 write tools that can modify data. Rate limits recommended.
Last updated:
Write operations (mailerastro_send_batch, mailerastro_send_email) modify state. Without rate limits, an agent can make hundreds of changes in seconds — faster than any human can review or revert.
Intercept sits between your agent and MailerAstro. Every tool call checked against your policy before it executes — so your agent can do its job without breaking things.
npx -y @policylayer/intercept scan -- npx -y @mailerastro/mailerastro-email mailerastro_send_batch:
rules:
- rate_limit: 30/hour Prevents bulk unintended modifications from agents caught in loops.
mailerastro_check_balance:
rules:
- rate_limit: 60/minute Controls API costs and prevents retry loops from exhausting upstream rate limits.
The MailerAstro server has 2 write tools including mailerastro_send_batch, mailerastro_send_email. Set rate limits in your policy file -- for example, rate_limit: 10/hour prevents an agent from making more than 10 modifications per hour. Intercept enforces this at the transport layer.
6 tools across 2 categories: Read, Write. 4 are read-only. 2 can modify, create, or delete data.
One line change. Instead of running the MailerAstro server directly, prefix it with Intercept: intercept -c mailerastro-mailerastro-email.yaml -- npx -y @mailerastro/mailerastro-email. Download a pre-built policy from policylayer.com/policies/mailerastro-mailerastro-email and adjust the limits to match your use case.
Set budgets, approvals, and hard limits across MCP servers.
npx -y @policylayer/intercept init