Skip to main content
Glama
aptro

Superset MCP Integration

by aptro

superset_menu_get

Retrieve the navigation menu structure from Apache Superset based on user permissions to access available dashboards, charts, and datasets.

Instructions

Get the Superset menu data

Makes a request to the /api/v1/menu/ endpoint to retrieve the navigation menu structure based on user permissions.

Returns: A dictionary with menu items and their configurations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'superset_menu_get' tool. It is decorated with @mcp.tool() for registration, @requires_auth for authentication check, and @handle_api_errors for error handling. The function makes a GET request to Superset's /api/v1/menu/ endpoint using the make_api_request helper to retrieve the navigation menu structure.
    @mcp.tool()
    @requires_auth
    @handle_api_errors
    async def superset_menu_get(ctx: Context) -> Dict[str, Any]:
        """
        Get the Superset menu data
    
        Makes a request to the /api/v1/menu/ endpoint to retrieve the navigation
        menu structure based on user permissions.
    
        Returns:
            A dictionary with menu items and their configurations
        """
        return await make_api_request(ctx, "get", "/api/v1/menu/")
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool 'Makes a request to the /api/v1/menu/ endpoint,' which adds implementation context, and mentions the return format ('A dictionary with menu items and their configurations'). However, it lacks details on authentication requirements, rate limits, error handling, or whether the operation is idempotent—key behavioral traits for a tool with no annotations.

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?

The description is well-structured and concise, using three sentences that efficiently cover the tool's purpose, endpoint, and return value. Each sentence adds value without redundancy. It could be slightly more front-loaded by merging the first two sentences, but overall it's appropriately sized and wastes no words.

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?

Given the tool's simplicity (0 parameters, no annotations, no output schema), the description is adequate but has gaps. It explains what the tool does and the return format, but without annotations or output schema, it should ideally include more behavioral context (e.g., authentication needs, error cases). The description is complete enough for basic understanding but lacks depth for robust agent 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 input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately doesn't discuss parameters, focusing instead on the tool's purpose and behavior. This aligns with the baseline expectation for zero-parameter tools, where the description needn't compensate for schema gaps.

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?

The description clearly states the tool's purpose: 'Get the Superset menu data' and 'retrieve the navigation menu structure based on user permissions.' It specifies the verb ('Get'), resource ('Superset menu data'), and scope ('based on user permissions'). However, it doesn't explicitly differentiate from sibling tools like 'superset_user_get_current' or 'superset_sqllab_get_bootstrap_data' which might also retrieve user-specific data.

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?

The description provides minimal guidance on when to use this tool. It mentions that the menu is 'based on user permissions,' which implies it's for accessing navigation data, but offers no explicit when-to-use rules, alternatives, or exclusions. For example, it doesn't clarify if this should be used for initial setup versus dynamic menu updates or how it relates to other data retrieval tools in the sibling list.

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