Skip to main content
Glama
redash-mcp

redash-mcp

by frauniki

add_widget

Add a visualization or text widget to a Redash dashboard grid. Specify dashboard ID, visualization or text content, position, and size to build dashboard layouts.

Instructions

Add a widget to a Redash dashboard

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

Input Schema

NameRequiredDescriptionDefault
textNoText content for a text widget (use instead of visualization_id)
widthNoWidget width (1 = full width)
positionNoWidget position on the dashboard grid
dashboard_idYesID of the dashboard
visualization_idNoID of the visualization to add

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden for a mutation tool and largely drops it. It says nothing about permissions, whether the widget is returned, error behavior, or the mutual exclusivity of text versus visualization_id.

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?

A single short clause with no filler or redundancy, front-loading the action and target. It is efficient, though its brevity reflects under-specification rather than disciplined editing.

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

Completeness3/5

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

Missing: five parameters including a nested position object and no annotations or output schema, so the definition should do more work. The rich schema partially compensates, but nothing tells the agent how the text and visualization_id paths differ or what a successful call produces.

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%, so every parameter including the nested position fields is documented in the schema itself. The description adds no meaning beyond that, which matches the baseline 3 for full-coverage schemas.

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 gives a concrete verb ('Add') and resource ('widget') scoped to a Redash dashboard, which is more than a restatement of the name. It does not, however, distinguish this from siblings like update_widget or delete_widget beyond the obvious verb difference.

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 guidance on when to use this versus update_widget, or on prerequisites such as needing an existing dashboard. The agent must infer everything from the tool name and sibling list.

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