Home / Servers / Cloudflare API / notification_policies_create_a_notification_policy
Create a Notification policy
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Create a Notification policy Creates a new Notification policy. [POST /accounts/{account_id}/alerting/v3/policies]
Name on the gateway: cloudflare_api__notification_policies_create_a_notification_policy · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
alert_interval | string | Optional specification of how often to re-alert… |
alert_type required | string | Refers to which event will trigger a… |
description | string | Optional description for the Notification policy. |
enabled required | boolean | Whether or not the Notification policy is enabled. |
filters | object | Optional filters that allow you to be alerted… |
mechanisms required | object | List of IDs that will be used when dispatching a… |
name required | string | Name of the policy. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "cloudflare_api__notification_policies_create_a_notification_policy",
"arguments": {
"account_id": "…",
"alert_type": "…",
"enabled": true,
"mechanisms": "…",
"name": "…"
}
}Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create a notification policy tool with account_id set to ….