Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

superset_sqllab_estimate_query_cost

Estimate SQL query execution costs before running them to optimize database performance and resource usage.

Instructions

Estimate the cost of executing a SQL query

Makes a request to the /api/v1/sqllab/estimate endpoint to get approximate cost information for a query before executing it.

Args: database_id: ID of the database sql: SQL query to estimate schema: Optional schema name

Returns: A dictionary with estimated query cost metrics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
database_idYes
sqlYes
schemaNo

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/aptro/superset-mcp'

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