Skip to main content
Glama

Update Dashboard

update_dashboard
Idempotent

Change a Kibana dashboard's settings—title, description, time range, refresh interval, or tags—without altering its panels; it returns what changed and an undo call.

Instructions

Change a dashboard's settings; its panels are left exactly as they are. Only what you pass changes: title, description, time_range (the time the dashboard opens with; date math like now-24h or ISO 8601), clear_time_range=true (open with the time picker's current time instead), refresh_interval_seconds (auto- refresh; 0 turns it off; Kibana applies it only on a dashboard that stores a time range), tags_to_add/tags_to_remove (tag ids: find them with find_saved_objects(types=["tag"])). Refuses a dashboard with panels the API cannot write back. A rename keeps the id, so create_dashboard with the old title of a dashboard it made still replaces its panels. Returns the settings now, changed, previous (their values before) and undo (the whole update_dashboard call that puts them back, dashboard_id and space included; a refresh that was not stored comes back paused; undo_omitted names a setting whose old value the tool cannot write back, such as a time Kibana's app cannot read).

space targets a Kibana space by id (default: the default space).

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": {
      "dashboard_id": "<dashboard_id>"
    },
    "name": "update_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
spaceNo
titleNo
time_rangeNo
descriptionNo
tags_to_addNo
dashboard_idYes
tags_to_removeNo
clear_time_rangeNo
refresh_interval_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: partial-update semantics ('Only what you pass changes'), a hard refusal case (dashboards with panels the API cannot write back), the rename-keeps-id rule and its create_dashboard collision, and the caveat that refresh intervals only apply where a time range is stored. The return payload and its undo/undo_omitted caveats are described, which annotations alone could never convey.

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?

The key scoping statement is front-loaded and nearly every clause carries information. It is dense and backtick-heavy rather than skimmable, and the undo sentence is long, but little could be cut without losing behavioral detail.

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

Completeness5/5

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

For a 9-parameter mutation with no schema descriptions, it covers every parameter's meaning, the failure mode, and the undo mechanism, and even summarizes the return payload despite an output schema existing. An agent has what it needs to call this correctly and to recover from it.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden and largely does: date-math/ISO syntax for time_range, the meaning of clear_time_range=true, the 0-disables-refresh convention and its Kibana constraint, tag ids plus where to find them, and the space default. Only minor details like the refresh upper bound go unmentioned.

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

Purpose5/5

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

States a specific verb and resource ('Change a dashboard's settings') and immediately bounds scope with 'its panels are left exactly as they are', which separates it from update_panel/add_panel without naming them. An agent can tell this is a settings-only mutation from the first clause.

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

Usage Guidelines4/5

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

Gives clear conditions for use (settings only, pass only what should change) and routes to find_saved_objects(types=["tag"]) to obtain tag ids. It also flags the interaction with create_dashboard on rename. It stops short of explicitly naming a sibling for panel edits, but the exclusions are stated in substance.

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