Skip to main content
Glama
redash-mcp

redash-mcp

by frauniki

get_query_result

Retrieve the latest result for a saved Redash query by providing its query ID to inspect current query output.

Instructions

Get the latest result for a saved 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>"
    },
    "name": "get_query_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
query_idYesThe ID of the query

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/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 burden. "Latest result" usefully implies no re-execution, but it says nothing about what happens if the query has never run, whether results are stale or cached, or any auth/rate-limit constraints.

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

Conciseness5/5

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

One sentence, front-loaded with the verb and scope, with no filler or redundancy. Nothing could be trimmed without losing the resource being fetched.

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?

For a simple one-parameter read tool this covers the basics, but with no output schema the description should say what a "result" looks like (rows, columns, status, error when uncomputed). That gap keeps it at merely adequate.

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?

There is a single required parameter and schema description coverage is 100%, so the schema already fully documents query_id. The description adds no meaning beyond "the ID of the query" already in the schema, making the baseline 3 appropriate.

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 ("Get the latest result for a saved Redash query") and the word "latest" signals cached retrieval rather than execution. It does not name or contrast with execute_query, 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 Guidelines3/5

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

Usage is only implied: "latest result" hints that this reads an already-computed result instead of running the query again. There is no explicit when-to-use, when-not-to-use, or reference to a sibling such as execute_query for fresh runs.

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