Skip to main content
Glama
MikelA92
by MikelA92

list_dashboards

Discover and browse all available dashboards in your Metabase instance to identify relevant analytics views for data exploration and reporting.

Instructions

📊 [SAFE] List all dashboards in Metabase. Use this to discover available dashboards or find dashboards by name. Risk: None - read-only operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'list_dashboards' tool. Fetches all dashboards from Metabase API and formats a response listing up to 50 dashboards with IDs and names.
    async listDashboards() { this.logger.debug('Listing dashboards'); const dashboards = await this.apiClient.makeRequest('/api/dashboard'); return { content: [ { type: 'text', text: `Found ${dashboards.length} dashboards: ${dashboards.slice(0, 50).map(d => `- ID: ${d.id} | Name: ${d.name}` ).join('\n')}${dashboards.length > 50 ? `\n... and ${dashboards.length - 50} more dashboards` : ''}`, }, ], }; }
  • Tool schema definition for 'list_dashboards', including name, description, and empty input schema (no parameters required). Used for MCP tool listing.
    { name: 'list_dashboards', description: '📊 [SAFE] List all dashboards in Metabase. Use this to discover available dashboards or find dashboards by name. Risk: None - read-only operation.', inputSchema: { type: 'object', properties: {}, }, },
  • Dispatch/registration of the 'list_dashboards' tool in the MCP server's executeTool switch statement, calling the dashboardHandlers.listDashboards() method.
    case 'list_dashboards': return await this.dashboardHandlers.listDashboards();

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/MikelA92/metabase-mcp-mab'

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