Skip to main content
Glama
Grafana MCP Server
by nks1097

grafana_gerenciar_variaveis_dashboard

Manage dashboard templating variables and dynamic filters by creating, updating, or removing variables to keep Grafana dashboards adaptable.

Instructions

  1. Gerenciar variáveis de templating (filtros dinâmicos) de um dashboard.

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_dashboard": "<uid_dashboard>",
      "acao": "<acao>"
    },
    "name": "grafana_gerenciar_variaveis_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
acaoYes
variavelNo
nome_variavelNo
uid_dashboardYes

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.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it discloses nothing: not that this is a mutating operation, not whether changes are reversible, not what permissions are needed, and not that the required 'acao' parameter selects among distinct destructive/non-destructive operations. The only hint is the vague verb 'gerenciar'.

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?

It is a single short sentence with no filler, but it opens with a stray list numeral '9.' that is noise, and the brevity comes at the cost of under-specification rather than efficiency. It is front-loaded with the resource, which is the one structural strength.

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 4-parameter mutation tool with zero annotation coverage and zero schema description coverage, the description is far too thin. An output schema exists so return values need not be explained, but the undefined 'acao' operation set and the missing distinction between variable parameters leave the agent unable to invoke this correctly.

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 description adds no parameter meaning. Critically, 'acao' is a free-form required string with no enum and no documented allowed values, and the description never explains which operations exist or how 'variavel' vs 'nome_variavel' differ. Only the parenthetical about dynamic filters loosely maps to the variable parameters.

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

Purpose3/5

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

The description names a specific resource (dashboard templating variables) and clarifies them as dynamic filters, but the verb 'gerenciar' is a catch-all that does not reveal whether the tool creates, updates, deletes, or lists variables. No sibling tool covers templating variables, so differentiation is implicitly achieved, but the operation itself remains vague.

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 guidance on when to use this tool, when not to, or how it relates to siblings like grafana_atualizar_dashboard or grafana_configurar_visualizacao. The parenthetical '(filtros dinâmicos)' hints at the purpose but never states the triggering condition or prerequisites (e.g., dashboard must already exist).

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