create_alert
Create a new Alert in OneUptime. Returns the created Alert object with its ID. Use this to add new Alerts to your project. Note: projectId is inferred from your API key — you do not need to provide it.
This record as markdown: /tools/com-oneuptime-mcp/create-alert.md
What create_alert does on OneUptime
AI agents use create_alert to create or update resources in OneUptime, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your OneUptime environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
hosts | array | — | List of hosts affected by this alert. |
title | string | Yes | Title of this alert. |
labels | array | — | Relation to Labels Array where this object is categorized in. |
services | array | — | List of services affected by this alert. |
iotFleets | array | — | List of IoT fleets affected by this alert. |
isPrivate | boolean | — | If true, this alert is only visible to its owners (users in 'owner users' and members of 'owner teams'), project admins, and project owners. |
monitorId | string | — | ID of the monitor this alert belongs to. |
projectId | string | — | ID of your OneUptime Project in which this object belongs. |
rootCause | string | — | What is the root cause of this alert? |
description | string | — | Short description of this alert. This will be visible on the status page. This is in markdown. |
dockerHosts | array | — | List of Docker hosts affected by this alert. |
podmanHosts | array | — | List of Podman hosts affected by this alert. |
Parameters from the server's own tool schema.
Why create_alert is rated Medium
An AI agent can call create_alert faster than any human can review: one bad instruction and it creates or modifies resources in OneUptime by the hundred, each call as confident as the last.
Risk signalsHigh parameter count (56 properties)
Attacks that exploit this kind of access
The rule that runs create_alert safely
PolicyLayer is an MCP gateway: it sits between your AI agents and OneUptime, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For create_alert, this is the rule to start with:
create_alert stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect OneUptime, apply this rule, and every create_alert call is checked against it from then on.
Questions about create_alert
Create a new Alert in OneUptime. Returns the created Alert object with its ID. Use this to add new Alerts to your project. Note: projectId is inferred from your API key — you do not need to provide it. It is categorised as a Write tool in the OneUptime MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
create_alert accepts 12 parameters: hosts, title, labels, services, iotFleets, isPrivate, monitorId, projectId, rootCause, description, dockerHosts, podmanHosts. Required: title. The full parameter table on this page comes from the server's own tool schema.
Register the OneUptime MCP server in PolicyLayer and add a rule for create_alert: 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 OneUptime. Nothing to install.
create_alert is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the create_alert 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 create_alert. 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.
create_alert is provided by the OneUptime MCP server (https://oneuptime.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on OneUptime, and thousands of servers like it.
This server
Across the catalogue