Skip to main content
Glama
redash-mcp

redash-mcp

by frauniki

archive_query

Archive or delete a saved Redash query by its query ID to retire obsolete queries and keep your Redash workspace organized.

Instructions

Archive (delete) 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>"
    },
    "name": "archive_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
query_idYesID of the query to archive

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does add one genuinely useful signal: archive means delete, i.e., a destructive mutation rather than a read or rename. It stops short of saying whether the operation requires ownership/admin rights, whether it is reversible, or what happens to related scheduled executions.

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?

Six words, front-loaded verb-then-resource, no filler or redundancy. It is appropriately terse for a single-parameter tool, though the parenthetical could be better spent on the reversibility question.

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?

This is a destructive mutation with zero annotation coverage and no output schema, which raises rather than lowers the disclosure bar. Missing are permission requirements, reversibility, and any indication of the effect on dependent objects, leaving the agent unable to anticipate consequences of the call.

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 coverage is 100% and the single parameter query_id already carries the description "ID of the query to archive." The tool description adds no format, sourcing, or constraint detail beyond that, so the baseline of 3 applies.

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?

"Archive (delete) a Redash query" pairs a specific verb with a specific resource and disambiguates the overloaded term "archive" as deletion. It is distinguishable from siblings such as archive_dashboard or delete_widget by the resource noun, though it does not comment on its relationship to update_query or list_queries.

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 statement of when to use this versus a general update (e.g., update_query) or how to locate the query_id first via list_queries or get_query. The agent must infer that archiving is the intended removal path and that no undo tool exists.

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