Skip to main content
Glama

Add Panel

add_panel

Adds a visualization panel to an existing Kibana dashboard by dashboard ID, configuring chart type, data view, metrics, grouping, filters, and optional space.

Instructions

Add a visualization panel to an existing dashboard. dashboard_id comes from search_dashboards.

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>",
      "panel": "<panel>"
    },
    "name": "add_panel"
  }
}

Input Schema

NameRequiredDescriptionDefault
panelYes
spaceNo
dashboard_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this as a non-read-only, non-idempotent, non-destructive mutation, and the description's 'add ... to an existing dashboard' is consistent with that. It adds the space-defaulting behavior, which annotations do not cover, but says nothing about required permissions, what happens if the dashboard or data view is missing, or whether repeated calls append duplicate panels.

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?

Three short, front-loaded lines: the operation first, then the id prerequisite, then the space qualifier. Nothing is padded, though the space note is the weakest earner given how little it changes invocation.

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?

An output schema exists, so return values need no prose, and the deeply nested panel schema carries its own field-level documentation including chart-type semantics. What remains missing is modest: failure conditions and any note on choosing this tool over the esql/library panel siblings.

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 0% at the top level, so the description must compensate: it explains where dashboard_id originates and what space means ('targets a Kibana space by id', with the default-space fallback). The 'panel' parameter — the most complex, nested object — gets no top-level explanation, though its nested fields are documented in the schema.

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 states a specific verb and resource ('Add a visualization panel to an existing dashboard'), which makes the operation unmistakable. It does not differentiate itself from near-siblings such as add_esql_metric_panel or add_library_panel, so an agent cannot tell from the text alone which add-panel variant applies.

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?

It supplies one concrete prerequisite — 'dashboard_id comes from search_dashboards' — which usefully routes the agent to the right lookup tool. It gives no guidance on when to choose this generic panel tool over the specialized esql/library panel siblings, and no exclusions or error conditions.

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