Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

superset_dataset_get_by_id

Retrieve detailed information about a specific dataset including columns and metrics by its ID from Apache Superset.

Instructions

Get details for a specific dataset

Makes a request to the /api/v1/dataset/{id} endpoint to retrieve detailed information about a specific dataset including columns and metrics.

Args: dataset_id: ID of the dataset to retrieve

Returns: A dictionary with complete dataset information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataset_idYes

Implementation Reference

  • The handler function implementing the 'superset_dataset_get_by_id' tool. It authenticates, handles errors, and makes a GET request to the Superset API endpoint /api/v1/dataset/{dataset_id} to retrieve dataset details.
    @mcp.tool() @requires_auth @handle_api_errors async def superset_dataset_get_by_id(ctx: Context, dataset_id: int) -> Dict[str, Any]: """ Get details for a specific dataset Makes a request to the /api/v1/dataset/{id} endpoint to retrieve detailed information about a specific dataset including columns and metrics. Args: dataset_id: ID of the dataset to retrieve Returns: A dictionary with complete dataset information """ return await make_api_request(ctx, "get", f"/api/v1/dataset/{dataset_id}")

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