Skip to main content
Glama
Grafana MCP Server
by nks1097

grafana_atualizar_fonte_dados

Updates the allowed properties and configuration settings of an existing Grafana data source, including its URL, name, default status, and additional options.

Instructions

  1. Atualizar propriedades e configurações permitidas de uma fonte de dados existente.

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": "<uid>"
    },
    "name": "grafana_atualizar_fonte_dados"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYes
urlNo
nomeNo
padraoNo
dados_adicionaisNo

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?

With no annotations, the description carries the full behavioral burden and falls well short: it doesn't say whether omitted parameters leave existing values untouched (partial update) or reset them to defaults, whether secure fields like passwords can be changed, whether dashboards using the data source are affected, or what permissions are needed. "configurações permitidas" gestures at restrictions without saying what they are.

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?

One short sentence keeps it front-loaded with no filler, but the brevity comes at the cost of substance, and the stray "24." prefix wastes the first tokens. The result is under-specification rather than genuine efficiency.

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 5 parameters, 0% schema coverage, and no annotations, this description is not complete enough for safe invocation; the output schema does cover return values, so that omission is acceptable. The agent still has to guess at update semantics, field meaning, and restrictions.

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% across 5 parameters, so the schema offers no field documentation and the description must compensate, which it largely does not. The generic phrase "propriedades e configurações" only loosely maps to the property fields (nome, url, padrao) and the free-form dados_adicionais bag; uid, the sole required parameter, is never explained.

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 pairs a specific verb ("Atualizar") with a specific resource ("fonte de dados existente"), which is clearly distinct from criar/excluir/obter/listar siblings. However, it never names those alternatives or narrows which properties are in scope, so differentiation relies on the tool name rather than the text. The leading "24." is a stray numbering artifact, not content.

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 explicit guidance on when to use this versus grafana_criar_fonte_dados or grafana_excluir_fonte_dados, nor any prerequisite or exclusion. The word "existente" is the only hint that the target must already exist, which an agent must infer. This is implicit-only usage guidance with clear gaps.

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