Skip to main content
Glama

archive-query

Archive a Redash query by ID to soft-delete it while keeping its data recoverable.

Instructions

Archive (soft-delete) a query in Redash

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": {
      "queryId": "<queryId>"
    },
    "name": "archive-query"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryIdYesID of the query to archive

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.8

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description must carry behavioral weight, and "soft-delete" is a genuinely useful disclosure that the query is not permanently destroyed. However, it does not say whether the operation is reversible, who may perform it, or how an archived query behaves in existing dashboards or schedules.

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 tightly worded phrase with the key qualifier (soft-delete) front-loaded and no filler. It is efficient, though it could have spent one more clause on behavior without becoming bloated.

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 one-parameter mutation tool with no output schema, the definition covers what it does and that it is non-destructive, but leaves out reversibility, permission requirements, and the effect on dependent resources. Adequate but with clear gaps.

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?

The single queryId parameter has 100% schema description coverage ("ID of the query to archive"), so the schema already does the work. The description adds no format, range, or sourcing hints beyond that, 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-plus-resource: "Archive (soft-delete) a query in Redash." The parenthetical disambiguates it from a destructive delete and from the sibling update-query, though it never names a sibling explicitly for contrast.

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 explicit guidance on when to archive versus update or permanently remove a query, nor any stated prerequisites (ownership, permissions, effect on schedules/dashboards). The only usage signal is the implied meaning of "archive" and "soft-delete."

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