Skip to main content
Glama

create_alert_rule

Define alert rules in Grafana to monitor metrics and logs, triggering notifications when specified conditions are met for proactive incident response.

Instructions

Create a new alert rule

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
conditionYes
dataYes
folderUIDYes
ruleGroupYes
intervalSecondsNo
forDurationNo5m
noDataStateNoNoData
execErrStateNoAlerting
labelsNo
annotationsNo
Behavior1/5

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

With no annotations provided, the description carries full burden for behavioral disclosure but offers none. It doesn't mention whether this is a mutating operation, what permissions are required, whether it's idempotent, what happens on success/failure, or any side effects. The description fails to provide any behavioral context beyond the basic action implied by 'create'.

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

Conciseness5/5

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

The description is maximally concise at just three words, with no wasted language. While this conciseness comes at the expense of completeness, the description is perfectly structured as a simple declarative statement without unnecessary elaboration.

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

Completeness1/5

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

For a complex creation tool with 11 parameters, no annotations, no output schema, and 0% schema description coverage, the description is completely inadequate. It provides no information about what the tool actually does, how to use it, what parameters mean, or what to expect as a result. The description fails to provide the minimal context needed for effective tool use.

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

Parameters1/5

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

With 11 parameters and 0% schema description coverage, the description provides no information about any parameters. It doesn't explain what 'condition', 'data', 'folderUID', 'ruleGroup', or any other parameters mean, their expected formats, or how they relate to creating an alert rule. The description fails completely to compensate for the schema's lack of parameter documentation.

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

Purpose2/5

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

The description 'Create a new alert rule' is a tautology that restates the tool name without adding meaningful context. It specifies the verb 'create' and resource 'alert rule', but lacks any detail about what an alert rule is, its purpose in the system, or how it differs from similar tools like 'update_alert_rule' or 'get_alert_rule'.

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

Usage Guidelines1/5

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

The description provides no guidance on when to use this tool versus alternatives. There are multiple sibling tools related to alert rules (delete_alert_rule, get_alert_rule, update_alert_rule, list_alert_rules), but the description offers no comparison, prerequisites, or context for choosing this specific creation tool over others.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/quanticsoul4772/grafana-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server