Skip to main content
Glama

Create Alert

create_alert

Create an alert that periodically polls an endpoint and delivers new results to your configured receivers (webhook, email, and/or telegram).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoUnique label; auto-generated if omitted
pathYesEndpoint the alert polls.
argumentsYesEndpoint arguments, dont provide system timestamps.
receiversYes1-2 unique targets.
thresholdNoItems required to fire.
interval_minutesYesPoll interval; multiple of 5.
lookback_minutesNoDefaults to interval_minutes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / receivers / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "body_extra": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "boolean"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "maxProperties": 10,
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Static keys merged into the top level of the body. String, number, boolean or null values only.",
      -        "title": "Body Extra"
      -      },
      -      "body_wrap_as_string": {
      -        "default": false,
      -        "description": "JSON-encode the envelope to a string before placing it under body_wrap_key. Requires body_wrap_key.",
      -        "title": "Body Wrap As String",
      -        "type": "boolean"
      -      },
      -      "body_wrap_key": {
      -        "anyOf": [
      -          {
      -            "maxLength": 64,
      -            "pattern": "^[A-Za-z0-9_-]+(\\.[A-Za-z0-9_-]+)?$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Place the alert envelope under this body key. Dot-separated for one level of nesting (e.g. variables.PAYLOAD).",
      -        "title": "Body Wrap Key"
      -      },
      -      "headers": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {
      -              "type": "string"
      -            },
      -            "maxProperties": 4,
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "POST headers.",
      -        "title": "Headers"
      -      },
      -      "type": {
      -        "const": "webhook",
      -        "title": "Type",
      -        "type": "string"
      -      },
      -      "url": {
      -        "maxLength": 2048,
      -        "title": "Url",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "url"
      -    ],
      -    "title": "WebhookReceiver",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "type": {
      -        "const": "email",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "title": "EmailReceiver",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "chat_id": {
      -        "description": "Chat ID; start the alerts bot first.",
      -        "maxLength": 64,
      -        "title": "Chat Id",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "telegram",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "chat_id"
      -    ],
      -    "title": "TelegramReceiver",
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "body_extra": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "boolean"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "maxProperties": 10,
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Static keys merged into the top level of the body. String, number, boolean or null values only.",
      +        "title": "Body Extra"
      +      },
      +      "body_wrap_as_string": {
      +        "default": false,
      +        "description": "JSON-encode the envelope to a string before placing it under body_wrap_key. Requires body_wrap_key.",
      +        "title": "Body Wrap As String",
      +        "type": "boolean"
      +      },
      +      "body_wrap_key": {
      +        "anyOf": [
      +          {
      +            "maxLength": 64,
      +            "pattern": "^[A-Za-z0-9_-]+(\\.[A-Za-z0-9_-]+)?$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Place the alert envelope under this body key. Dot-separated for one level of nesting (e.g. variables.PAYLOAD).",
      +        "title": "Body Wrap Key"
      +      },
      +      "headers": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {
      +              "type": "string"
      +            },
      +            "maxProperties": 4,
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "POST headers.",
      +        "title": "Headers"
      +      },
      +      "type": {
      +        "const": "webhook",
      +        "title": "Type",
      +        "type": "string"
      +      },
      +      "url": {
      +        "maxLength": 2048,
      +        "title": "Url",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "title": "WebhookReceiver",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "type": {
      +        "const": "email",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "title": "EmailReceiver",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "chat_id": {
      +        "description": "Chat ID; start the alerts bot first.",
      +        "maxLength": 64,
      +        "title": "Chat Id",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "telegram",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "title": "TelegramReceiver",
      +    "type": "object"
      +  }
      +]
  2. Changed3 schema fields changed
    • addedInput schema / properties / interval_minutes / maximum
      Added value: +43200
    • changedInput schema / properties / lookback_minutes / anyOf
      Previous value: -[
      -  {
      -    "minimum": 5,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 43200,
      +    "minimum": 5,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / receivers / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "body_extra": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "boolean"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "maxProperties": 10,
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Static keys merged into the top level of the body. String, number, boolean or null values only.",
      -        "title": "Body Extra"
      -      },
      -      "body_wrap_as_string": {
      -        "default": false,
      -        "description": "JSON-encode the envelope to a string before placing it under body_wrap_key. Requires body_wrap_key.",
      -        "title": "Body Wrap As String",
      -        "type": "boolean"
      -      },
      -      "body_wrap_key": {
      -        "anyOf": [
      -          {
      -            "maxLength": 64,
      -            "pattern": "^[A-Za-z0-9_-]+(\\.[A-Za-z0-9_-]+)?$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Place the alert envelope under this body key. Dot-separated for one level of nesting (e.g. variables.PAYLOAD).",
      -        "title": "Body Wrap Key"
      -      },
      -      "headers": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {
      -              "type": "string"
      -            },
      -            "maxProperties": 4,
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "POST headers.",
      -        "title": "Headers"
      -      },
      -      "type": {
      -        "const": "webhook",
      -        "title": "Type",
      -        "type": "string"
      -      },
      -      "url": {
      -        "maxLength": 2048,
      -        "title": "Url",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "url"
      -    ],
      -    "title": "WebhookReceiver",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "type": {
      -        "const": "email",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "title": "EmailReceiver",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "chat_id": {
      -        "description": "Chat ID; start the alerts bot first.",
      -        "title": "Chat Id",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "telegram",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "chat_id"
      -    ],
      -    "title": "TelegramReceiver",
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "body_extra": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "boolean"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "maxProperties": 10,
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Static keys merged into the top level of the body. String, number, boolean or null values only.",
      +        "title": "Body Extra"
      +      },
      +      "body_wrap_as_string": {
      +        "default": false,
      +        "description": "JSON-encode the envelope to a string before placing it under body_wrap_key. Requires body_wrap_key.",
      +        "title": "Body Wrap As String",
      +        "type": "boolean"
      +      },
      +      "body_wrap_key": {
      +        "anyOf": [
      +          {
      +            "maxLength": 64,
      +            "pattern": "^[A-Za-z0-9_-]+(\\.[A-Za-z0-9_-]+)?$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Place the alert envelope under this body key. Dot-separated for one level of nesting (e.g. variables.PAYLOAD).",
      +        "title": "Body Wrap Key"
      +      },
      +      "headers": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {
      +              "type": "string"
      +            },
      +            "maxProperties": 4,
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "POST headers.",
      +        "title": "Headers"
      +      },
      +      "type": {
      +        "const": "webhook",
      +        "title": "Type",
      +        "type": "string"
      +      },
      +      "url": {
      +        "maxLength": 2048,
      +        "title": "Url",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "url"
      +    ],
      +    "title": "WebhookReceiver",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "type": {
      +        "const": "email",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "title": "EmailReceiver",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "chat_id": {
      +        "description": "Chat ID; start the alerts bot first.",
      +        "maxLength": 64,
      +        "title": "Chat Id",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "telegram",
      +        "title": "Type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "chat_id"
      +    ],
      +    "title": "TelegramReceiver",
      +    "type": "object"
      +  }
      +]
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare readOnlyHint=false and destructiveHint=false, so the description need not restate those. It does add useful context that the created alert will 'periodically poll an endpoint and deliver new results to receivers,' but it does not disclose side effects of the creation call itself—such as whether the alert starts active or requires activation, what response is returned, or any authorization or rate-limit requirements. These gaps are notable but not contradictory to the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, focused sentence with no filler or redundant phrasing. It front-loads the verb and resource, and then adds the key behavioral detail about polling and delivery. It is concise and clear, though a slightly longer description could have provided extra lifecycle details without hurting structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 7-parameter tool with nested receiver objects and no output schema, so the description must carry a significant explanatory burden. It does not mention what the create call returns, whether the alert is immediately active or must be activated via activate_alert, or what failure modes exist during creation. The presence of activate_alert/deactivate_alert siblings makes the activation-status gap especially relevant, and the missing return-value information is a further completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description only refers generically to 'an endpoint' and 'configured receivers,' which are already defined in the schema with detailed properties such as enum for path, receiver types, and interval constraints. It adds no extra meaning beyond what the schema provides, so it remains at the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description begins with the imperative 'Create an alert' and immediately explains what the alert does: 'periodically polls an endpoint and delivers new results to your configured receivers.' This clearly states a specific verb and resource, and the polling behavior distinguishes it from alert management siblings like delete_alert, activate_alert, and get_alerts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'periodically polls' implies this is for recurring scheduled monitoring, which is usable guidance. However, there is no explicit contrast with closely related siblings such as execute_alert (which likely triggers a one-time poll) or activate_alert (which may be needed to enable a newly created alert). No exclusions or 'when not to use' guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.