Skip to main content
Glama

Grafana MCP Server

by levalhq

update_dashboard

Create or modify Grafana dashboards using full JSON specifications or targeted patch operations to update specific dashboard components and settings.

Instructions

Create or update a dashboard using either full JSON or efficient patch operations

Input Schema

NameRequiredDescriptionDefault
dashboardNoThe full dashboard JSON
folderUidNoThe UID of the dashboard's folder
messageNoSet a commit message for the version history
operationsNoArray of patch operations for targeted updates
overwriteNoOverwrite the dashboard if it exists
uidNoUID of existing dashboard to update

Input Schema (JSON Schema)

{ "properties": { "dashboard": { "additionalProperties": {}, "description": "The full dashboard JSON", "type": "object" }, "folderUid": { "description": "The UID of the dashboard's folder", "type": "string" }, "message": { "description": "Set a commit message for the version history", "type": "string" }, "operations": { "description": "Array of patch operations for targeted updates", "items": { "additionalProperties": false, "properties": { "op": { "description": "Operation type", "enum": [ "replace", "add", "remove" ], "type": "string" }, "path": { "description": "JSONPath to the property to modify", "type": "string" }, "value": { "description": "New value for replace/add operations" } }, "required": [ "op", "path" ], "type": "object" }, "type": "array" }, "overwrite": { "description": "Overwrite the dashboard if it exists", "type": "boolean" }, "uid": { "description": "UID of existing dashboard to update", "type": "string" } }, "type": "object" }

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/levalhq/mcp-grafana'

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