Skip to main content
Glama

delete_grafana_dashboard

DestructiveIdempotent

Delete a Grafana dashboard by UID (DELETE /api/dashboards/uid/{uid}) on the tenant's Grafana connection. Required: uid.

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": "delete_grafana_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesUID of the dashboard to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / uid / description
      Added value: +"UID of the dashboard to delete"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, openWorldHint=true and readOnlyHint=false, so the risk profile is covered structurally. The description adds useful context that the call targets the tenant's Grafana connection and hits a specific REST endpoint, but says nothing about irreversibility of the deletion or required connection/auth state beyond what annotations supply.

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?

Two compact sentences, with the action and its API route front-loaded and the required parameter flagged last. There is mild redundancy in restating 'by UID' and then repeating the UID requirement, but nothing is bloated.

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

Completeness4/5

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

For a single-parameter tool with rich annotations and no output schema, the description covers what the agent needs to invoke it correctly. The only meaningful gap is where to obtain a valid UID and what happens on success, both minor given the annotation coverage.

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% and the single uid parameter is already documented in the schema, so the description's 'Required: uid' adds only confirmation of requiredness. It does not explain how to source a UID (e.g. from list_grafana_dashboards), which would have been genuine added value. Baseline 3 applies where the schema carries the load.

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?

States a specific verb and resource ('Delete a Grafana dashboard by UID') and even names the underlying API route (DELETE /api/dashboards/uid/{uid}), which unambiguously separates it from upsert_grafana_dashboard and get_grafana_dashboard. It stops short of explicitly naming a sibling as the alternative, so it falls just below the top mark.

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?

Usage is only implied by the verb 'Delete' - the agent can infer this is the right tool when removal is intended. There is no explicit when-to-use, no exclusion such as 'use upsert_grafana_dashboard to overwrite instead', and no precondition guidance (e.g. confirm the UID exists).

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.