Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

superset_auth_authenticate_user

Authenticate users with Apache Superset to obtain access tokens for managing dashboards, charts, and datasets through the MCP server integration.

Instructions

Authenticate with Superset and get access token

Makes a request to the /api/v1/security/login endpoint to authenticate and obtain an access token. If there's an existing token, will first try to check its validity. If invalid, will attempt to refresh token before falling back to re-authentication.

Args: username: Superset username (falls back to environment variable if not provided) password: Superset password (falls back to environment variable if not provided) refresh: Whether to refresh the token if invalid (defaults to True)

Returns: A dictionary with authentication status and access token or error information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameNo
passwordNo
refreshNo
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the multi-step authentication logic (check existing token, refresh if invalid, fall back to re-authentication), the endpoint used (/api/v1/security/login), and the fallback to environment variables. However, it doesn't mention rate limits, authentication requirements for calling this tool, or error handling specifics beyond 'error information'.

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 efficiently structured with a clear purpose statement first, followed by implementation details, then organized parameter explanations, and finally return value information. Every sentence earns its place by providing essential information without redundancy. The Args/Returns formatting enhances readability.

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 an authentication tool with 3 parameters, 0% schema coverage, no annotations, and no output schema, the description does an excellent job covering purpose, usage, parameters, and basic return format. However, it could provide more detail about the return dictionary structure and specific error conditions. Given the complexity of authentication flows, slightly more behavioral detail would make it complete.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by providing detailed parameter semantics. It explains that username and password fall back to environment variables if not provided, and clarifies that the refresh parameter controls whether to attempt token refresh before re-authentication with a default value of True. This adds significant meaning beyond the bare schema.

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 clearly states the specific action ('authenticate with Superset and get access token'), identifies the resource (Superset authentication system), and distinguishes from siblings like 'superset_auth_check_token_validity' and 'superset_auth_refresh_token' by describing a comprehensive authentication flow. The first sentence directly answers 'what this tool does' with verb+resource specificity.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool: for initial authentication and token management. It distinguishes from sibling tools by explaining this handles the full authentication flow (check existing token, refresh if needed, re-authenticate) rather than just checking validity or refreshing. The context of falling back to environment variables provides additional usage context.

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

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