Display a macOS notification banner. Useful for alerting the user that a task is complete or needs attention. Requires notifications to be enabled for Script Editor in System Settings > Notifications. No extra installs needed.
AI agents invoke send_notification to trigger actions in MacWright. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.
Sending a system notification triggers an external OS-level operation (displaying a banner) rather than merely reading or writing data. It is reversible and low-blast-radius, but it does interact with the OS notification system, making Execute the most appropriate category. Misuse could be used for social engineering (e.g., fake alerts to the user), but the overall severity is low.
From the tool's definition Display a macOS notification banner... alerting the user that a task is complete or needs attention
Attacks that exploit this kind of access
Display a macOS notification banner. Useful for alerting the user that a task is complete or needs attention. Requires notifications to be enabled for Script Editor in System Settings > Notifications. No extra installs needed. It is categorised as a Execute tool in the MacWright MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the MacWright MCP server in PolicyLayer and add a rule for send_notification: 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 MacWright. Nothing to install.
send_notification is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the send_notification 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 send_notification. 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.
send_notification is provided by the MacWright MCP server (ruchit-p/macwright). 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 →