Skip to main content
Glama

superset_sqllab_results

Retrieve results of a previously executed Superset SQL Lab query by providing its unique results key, enabling access to query output without re-execution.

Instructions

Retrieve results of a previously executed query by key.

IMPORTANT: requires a configured Results Backend (Redis/S3) in Superset. Without it, returns 500. The key is taken from the results_key field of sqllab_execute response.

Args: results_key: Results key from the superset_sqllab_execute response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
results_keyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the backend dependency and the 500 error condition, but omits other behaviors such as what happens when the key is missing or whether retrieval affects the stored result.

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?

The description is concise and well-structured: a clear opening sentence, a short important warning, and a parameter definition. No unnecessary words.

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

Completeness4/5

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

For a simple one-parameter retrieval tool with an output schema, the description covers the purpose, prerequisite, and key source. It could also mention alternative query information sources, but it's complete enough for typical usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only identifies a string parameter with no description; the tool description adds crucial meaning by explaining it is the results_key from the sqllab_execute response. This adequately compensates for the 0% schema coverage.

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

Purpose5/5

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

The description states 'Retrieve results of a previously executed query by key' with a specific verb and resource. It clearly distinguishes itself from sibling sqllab tools like execute and export.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It explicitly mentions the prerequisite (Results Backend) and failure mode (500), and directs the user to obtain results_key from sqllab_execute response. This gives clear context, though it doesn't explicitly name alternative tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bintocher/mcp-superset'

If you have feedback or need assistance with the MCP directory API, please join our Discord server