Skip to main content
Glama
Grafana MCP Server
by nks1097

grafana_atualizar_regra_alerta

Update alert rule properties, expressions, limits, or annotations in Grafana to adjust alert behavior and conditions.

Instructions

  1. Atualizar propriedades, expressões, limites ou anotações de uma regra de alerta.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "uid_regra": "<uid_regra>",
      "regra_payload": "<regra_payload>"
    },
    "name": "grafana_atualizar_regra_alerta"
  }
}

Input Schema

NameRequiredDescriptionDefault
uid_regraYes
regra_payloadYes

Output Schema

NameRequiredDescriptionDefault
erroNoMensagem de erro amigável caso haja falha
dadosNoCarga útil da resposta estruturada
avisosNoLista de alertas e avisos operacionais
sucessoNoIndica se a operação foi bem-sucedida
metadadosNoMetadados da execução
id_requisicaoNoIdentificador único da operação

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states that properties, expressions, limits and annotations can be updated but never says whether 'regra_payload' is a full replacement or a partial merge, what happens to omitted fields, or what permissions/irreversibility apply to this mutation. The leading '54.' is an unexplained numbering artifact.

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

Conciseness3/5

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

The sentence itself is tight and front-loads the verb, but it is prefixed with a stray '54.' that adds no meaning and wastes the most salient position. Otherwise no filler.

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?

For a mutation tool with no annotations, a completely undocumented nested payload object, and 0% parameter coverage, the single sentence is far too thin. An output schema exists so return values need not be explained, but the agent still lacks the payload contract and any safety or replacement semantics.

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

Parameters2/5

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

Schema description coverage is 0% and the two parameters are undocumented in the schema; 'regra_payload' is a free-form object with additionalProperties:true and no structure hints. The description's mention of properties, expressions, limits and annotations gives only a loose hint at payload contents, leaving the required shape of the nested object unexplained.

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

Purpose4/5

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

The description gives a clear verb ('Atualizar') and resource ('uma regra de alerta') and even enumerates the aspects that can be changed (propriedades, expressões, limites, anotações). It does not explicitly distinguish itself from siblings like grafana_criar_regra_alerta or grafana_excluir_regra_alerta, though the verb makes the intent fairly obvious.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus grafana_criar_regra_alerta, grafana_obter_regra_alerta, or grafana_excluir_regra_alerta, and no prerequisites such as needing an existing rule UID or prior retrieval of the rule. Usage is only implied by the word 'Atualizar'.

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

Deploy Server

Other Tools