Skip to main content
Glama
dashboard.ts2.5 kB
/** * Dashboard Tools * Lovelace dashboard generation and management */ export const dashboardTools = [ { name: 'ha_analyze_entities_for_dashboard', description: '[READ-ONLY] Get complete entity list for AI-driven dashboard generation. Returns entities grouped by domain with attributes. AI will use this data to generate custom dashboard based on user requirements. Safe operation - only reads data.', inputSchema: { type: 'object', properties: {}, }, }, { name: 'ha_preview_dashboard', description: '[READ-ONLY] Preview current Lovelace dashboard configuration. Shows existing ui-lovelace.yaml if configured. Safe operation - only reads data.', inputSchema: { type: 'object', properties: {}, }, }, { name: 'ha_apply_dashboard', description: '[WRITE] Apply generated dashboard configuration to Home Assistant. Creates file, auto-registers in configuration.yaml, and restarts HA. Creates automatic Git backup. MODIFIES configuration - requires approval!', inputSchema: { type: 'object', properties: { dashboard_config: { type: 'object', description: 'Dashboard configuration object (from ha_generate_dashboard)', }, create_backup: { type: 'boolean', description: 'Create Git backup before applying (default: true)', }, filename: { type: 'string', description: 'Dashboard filename (default: ai-dashboard.yaml)', }, register_dashboard: { type: 'boolean', description: 'Auto-register dashboard in configuration.yaml (default: true)', }, }, required: ['dashboard_config'], }, }, { name: 'ha_delete_dashboard', description: '[WRITE] Delete dashboard file and remove from configuration.yaml. Restarts Home Assistant. Creates automatic Git backup. DESTRUCTIVE - requires approval!', inputSchema: { type: 'object', properties: { filename: { type: 'string', description: 'Dashboard filename to delete (e.g., ai-dashboard.yaml)', }, remove_from_config: { type: 'boolean', description: 'Remove from configuration.yaml (default: true)', }, create_backup: { type: 'boolean', description: 'Create Git backup before deleting (default: true)', }, }, required: ['filename'], }, }, ];

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/Coolver/mcp-home-assistant'

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