Skip to main content
Glama
redash-mcp

redash-mcp

by frauniki

create_query

Create a new Redash query with a name, SQL string, and data source ID; add an optional description to document its purpose.

Instructions

Create a new 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": {
      "name": "<name>",
      "query": "<query>",
      "data_source_id": "<data_source_id>"
    },
    "name": "create_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the query
queryYesSQL query string
descriptionNoDescription of the query
data_source_idYesID of the data source to use

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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. It does not say whether the new query is immediately runnable, whether the SQL is validated at creation, what identifier or object is returned, or what permissions are required for the write.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence contains no filler and is front-loaded, but its brevity reflects under-specification rather than disciplined concision. There is nothing to reward structurally beyond the absence of waste.

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 mutation tool with three required parameters, no annotations, and no output schema, the description should explain effects and results. It omits required inputs, return value, and any behavioral caveats, leaving the agent reliant on the schema alone.

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% and all four parameters are documented in the schema, so the baseline is 3. The description adds no meaning beyond the schema, but it is not required to when coverage is this high.

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

Purpose3/5

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

The description states a verb (Create) and a resource (Redash query), so the basic operation is identifiable, but it is essentially a restatement of the name 'create_query' with the vendor name appended. It gives no detail about what creating a query entails or how it differs from siblings like create_visualization or execute_query.

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 when-to-use guidance, no mention of prerequisites such as needing a valid data source, and no routing to alternatives like update_query or execute_query. The agent must infer usage entirely from the tool name and sibling names.

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