Skip to main content
Glama
redash-mcp

redash-mcp

by frauniki

create_visualization

Create a visualization for a Redash query by specifying query ID, type, and name to turn query results into charts, tables, or other visual formats.

Instructions

Create a visualization for a Redash query

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": {
      "query_id": "<query_id>",
      "type": "<type>",
      "name": "<name>"
    },
    "name": "create_visualization"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the visualization
typeYesVisualization type (e.g., "CHART", "TABLE", "PIVOT", "COHORT")
optionsNoVisualization options (chart type, axes, etc.)
query_idYesID of the query to visualize

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 provided, so the description carries the full behavioral burden, and it discloses almost nothing. "Create" implies a mutation, but it doesn't say whether the visualization is attached to the query permanently, whether duplicate names are allowed, what permissions are required, or what is returned (no output schema exists either).

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 sentence with zero filler, so there is nothing to trim. Its brevity is efficient, though it comes at the cost of substance rather than being perfectly balanced.

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

Completeness2/5

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

For a 4-parameter mutation tool with an unconstrained nested options object, no annotations, and no output schema, the description leaves major gaps: no return information, no permission or idempotency notes, and no explanation of how options should be structured. The rich schema helps, but the description does not complete the picture an agent needs.

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 all four parameters including the free-form nested "options" object are documented in the schema itself. The description adds no meaning beyond that, so the baseline 3 applies; it notably says nothing about the shape or valid contents of options despite the nested-object complexity.

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 ("Create a visualization") scoped to "a Redash query", which separates it from delete_visualization and update_visualization in the sibling list. However, it doesn't call out those siblings explicitly, so the differentiation is inferential rather than stated.

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_visualization, add_widget, or create_dashboard, and no prerequisites such as needing an existing query or particular permissions. The agent must infer the workflow entirely from the name and schema.

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