Skip to main content
Glama

Dashboard

render_dashboard
Read-onlyIdempotent

Generate a full dashboard with KPI cards and charts in a responsive grid. Pick a theme to match investors, sales tracking, or ops reporting.

Instructions

Render a full dashboard with KPI cards, charts, and optional hero metric in a responsive grid. Available themes: boardroom (investors, board decks), corporate (enterprise daily use), sales-floor (quota tracking, leaderboards), golden-treasury (wealth, luxury real estate), clinical (healthcare, compliance - WCAG AAA), startup (SaaS metrics, YC demos), ops-control (DevOps, manufacturing), tokyo-midnight (crypto, trading, gaming), zen-garden (wellness, sustainability), consultant (agency deliverables, presentations), office-red (corporate report-style, Word/PowerPoint aesthetic). Mix-and-match: set palette + typography + effects independently.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
heroNoHero metric(s) - single object or array for multi-hero row
kpisNoKPI cards at the top. Include sparkline[] with 5-20 trend values whenever a metric has a % change - this adds an inline mini chart to the card
themeNoTheme preset: boardroom, corporate, sales-floor, golden-treasury, clinical, startup, ops-control, tokyo-midnight, zen-garden, consultant, black-tron, black-elegance, black-matrix, forest-amber, forest-earth, sky-light, sky-ocean, sky-twilight, gray-hf, gray-copilot, office-red
titleYesDashboard title
chartsYesArray of charts to display in the grid
footerNoFooter bar with text and/or timestamp
layoutNoLayout variant: default (hero above KPIs), hero-center (hero prominent), kpi-top (KPIs first)
columnsNoNumber of grid columns (1-4). Default: auto-fill based on available width
effectsNoOverride effects: none, subtle, shimmer, neon, energetic
paletteNoOverride palette only (mix-and-match)
typographyNoOverride typography: professional, luxury, cyberpunk, editorial, mono, bold, system, techno

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.4.1
    • changedInput schema / properties / hero / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "after": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "number"
      -          }
      -        ]
      -      },
      -      "before": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "number"
      -          }
      -        ]
      -      },
      -      "change": {
      -        "type": "number"
      -      },
      -      "color": {
      -        "description": "Override accent color",
      -        "type": "string"
      -      },
      -      "count": {
      -        "type": "number"
      -      },
      -      "gemType": {
      -        "enum": [
      -          "diamond",
      -          "ruby",
      -          "sapphire",
      -          "emerald",
      -          "golden_pearl",
      -          "white_pearl",
      -          "black_pearl",
      -          "crystal"
      -        ],
      -        "type": "string"
      -      },
      -      "improvement": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "number"
      -          }
      -        ]
      -      },
      -      "items": {
      -        "items": {
      -          "properties": {
      -            "color": {
      -              "type": "string"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "value": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "label",
      -            "value"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "label": {
      -        "description": "Sub-label",
      -        "type": "string"
      -      },
      -      "percentile": {
      -        "type": "number"
      -      },
      -      "progress": {
      -        "description": "Ring fill 0-100",
      -        "type": "number"
      -      },
      -      "rank": {
      -        "type": "number"
      -      },
      -      "rankChange": {
      -        "type": "number"
      -      },
      -      "size": {
      -        "description": "Size",
      -        "enum": [
      -          "sm",
      -          "md",
      -          "lg",
      -          "xl"
      -        ],
      -        "type": "string"
      -      },
      -      "statusLevel": {
      -        "enum": [
      -          "good",
      -          "warn",
      -          "bad"
      -        ],
      -        "type": "string"
      -      },
      -      "subsystems": {
      -        "items": {
      -          "properties": {
      -            "name": {
      -              "type": "string"
      -            },
      -            "status": {
      -              "enum": [
      -                "good",
      -                "warn",
      -                "bad"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "status"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "total": {
      -        "type": "number"
      -      },
      -      "unit": {
      -        "description": "Unit label",
      -        "type": "string"
      -      },
      -      "value": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "number"
      -          }
      -        ],
      -        "description": "Hero metric value"
      -      },
      -      "variant": {
      -        "description": "Hero variant (default: progress_ring for dashboard)",
      -        "enum": [
      -          "big_number",
      -          "progress_ring",
      -          "status",
      -          "comparison",
      -          "rank",
      -          "countdown",
      -          "threshold",
      -          "breakdown",
      -          "nps",
      -          "orb",
      -          "gem"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "items": {
      -      "properties": {
      -        "after": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "number"
      -            }
      -          ]
      -        },
      -        "before": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "number"
      -            }
      -          ]
      -        },
      -        "change": {
      -          "type": "number"
      -        },
      -        "color": {
      -          "description": "Override accent color",
      -          "type": "string"
      -        },
      -        "count": {
      -          "type": "number"
      -        },
      -        "gemType": {
      -          "enum": [
      -            "diamond",
      -            "ruby",
      -            "sapphire",
      -            "emerald",
      -            "golden_pearl",
      -            "white_pearl",
      -            "black_pearl",
      -            "crystal"
      -          ],
      -          "type": "string"
      -        },
      -        "improvement": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "number"
      -            }
      -          ]
      -        },
      -        "items": {
      -          "items": {
      -            "properties": {
      -              "color": {
      -                "type": "string"
      -              },
      -              "label": {
      -                "type": "string"
      -              },
      -              "value": {
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "label",
      -              "value"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "label": {
      -          "description": "Sub-label",
      -          "type": "string"
      -        },
      -        "percentile": {
      -          "type": "number"
      -        },
      -        "progress": {
      -          "description": "Ring fill 0-100",
      -          "type": "number"
      -        },
      -        "rank": {
      -          "type": "number"
      -        },
      -        "rankChange": {
      -          "type": "number"
      -        },
      -        "size": {
      -          "description": "Size",
      -          "enum": [
      -            "sm",
      -            "md",
      -            "lg",
      -            "xl"
      -          ],
      -          "type": "string"
      -        },
      -        "statusLevel": {
      -          "enum": [
      -            "good",
      -            "warn",
      -            "bad"
      -          ],
      -          "type": "string"
      -        },
      -        "subsystems": {
      -          "items": {
      -            "properties": {
      -              "name": {
      -                "type": "string"
      -              },
      -              "status": {
      -                "enum": [
      -                  "good",
      -                  "warn",
      -                  "bad"
      -                ],
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "name",
      -              "status"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "total": {
      -          "type": "number"
      -        },
      -        "unit": {
      -          "description": "Unit label",
      -          "type": "string"
      -        },
      -        "value": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "number"
      -            }
      -          ],
      -          "description": "Hero metric value"
      -        },
      -        "variant": {
      -          "description": "Hero variant (default: progress_ring for dashboard)",
      -          "enum": [
      -            "big_number",
      -            "progress_ring",
      -            "status",
      -            "comparison",
      -            "rank",
      -            "countdown",
      -            "threshold",
      -            "breakdown",
      -            "nps",
      -            "orb",
      -            "gem"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "after": {
      +        "type": [
      +          "string",
      +          "number"
      +        ]
      +      },
      +      "before": {
      +        "type": [
      +          "string",
      +          "number"
      +        ]
      +      },
      +      "change": {
      +        "type": "number"
      +      },
      +      "color": {
      +        "description": "Override accent color",
      +        "type": "string"
      +      },
      +      "count": {
      +        "type": "number"
      +      },
      +      "gemType": {
      +        "enum": [
      +          "diamond",
      +          "ruby",
      +          "sapphire",
      +          "emerald",
      +          "golden_pearl",
      +          "white_pearl",
      +          "black_pearl",
      +          "crystal"
      +        ],
      +        "type": "string"
      +      },
      +      "improvement": {
      +        "type": [
      +          "string",
      +          "number"
      +        ]
      +      },
      +      "items": {
      +        "items": {
      +          "properties": {
      +            "color": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "value": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "label",
      +            "value"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "label": {
      +        "description": "Sub-label",
      +        "type": "string"
      +      },
      +      "percentile": {
      +        "type": "number"
      +      },
      +      "progress": {
      +        "description": "Ring fill 0-100",
      +        "type": "number"
      +      },
      +      "rank": {
      +        "type": "number"
      +      },
      +      "rankChange": {
      +        "type": "number"
      +      },
      +      "size": {
      +        "description": "Size",
      +        "enum": [
      +          "sm",
      +          "md",
      +          "lg",
      +          "xl"
      +        ],
      +        "type": "string"
      +      },
      +      "statusLevel": {
      +        "enum": [
      +          "good",
      +          "warn",
      +          "bad"
      +        ],
      +        "type": "string"
      +      },
      +      "subsystems": {
      +        "items": {
      +          "properties": {
      +            "name": {
      +              "type": "string"
      +            },
      +            "status": {
      +              "enum": [
      +                "good",
      +                "warn",
      +                "bad"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "status"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "total": {
      +        "type": "number"
      +      },
      +      "unit": {
      +        "description": "Unit label",
      +        "type": "string"
      +      },
      +      "value": {
      +        "description": "Hero metric value",
      +        "type": [
      +          "string",
      +          "number"
      +        ]
      +      },
      +      "variant": {
      +        "description": "Hero variant (default: progress_ring for dashboard)",
      +        "enum": [
      +          "big_number",
      +          "progress_ring",
      +          "status",
      +          "comparison",
      +          "rank",
      +          "countdown",
      +          "threshold",
      +          "breakdown",
      +          "nps",
      +          "orb",
      +          "gem"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "items": {
      +      "properties": {
      +        "after": {
      +          "type": [
      +            "string",
      +            "number"
      +          ]
      +        },
      +        "before": {
      +          "type": [
      +            "string",
      +            "number"
      +          ]
      +        },
      +        "change": {
      +          "type": "number"
      +        },
      +        "color": {
      +          "description": "Override accent color",
      +          "type": "string"
      +        },
      +        "count": {
      +          "type": "number"
      +        },
      +        "gemType": {
      +          "enum": [
      +            "diamond",
      +            "ruby",
      +            "sapphire",
      +            "emerald",
      +            "golden_pearl",
      +            "white_pearl",
      +            "black_pearl",
      +            "crystal"
      +          ],
      +          "type": "string"
      +        },
      +        "improvement": {
      +          "type": [
      +            "string",
      +            "number"
      +          ]
      +        },
      +        "items": {
      +          "items": {
      +            "properties": {
      +              "color": {
      +                "type": "string"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "label",
      +              "value"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "label": {
      +          "description": "Sub-label",
      +          "type": "string"
      +        },
      +        "percentile": {
      +          "type": "number"
      +        },
      +        "progress": {
      +          "description": "Ring fill 0-100",
      +          "type": "number"
      +        },
      +        "rank": {
      +          "type": "number"
      +        },
      +        "rankChange": {
      +          "type": "number"
      +        },
      +        "size": {
      +          "description": "Size",
      +          "enum": [
      +            "sm",
      +            "md",
      +            "lg",
      +            "xl"
      +          ],
      +          "type": "string"
      +        },
      +        "statusLevel": {
      +          "enum": [
      +            "good",
      +            "warn",
      +            "bad"
      +          ],
      +          "type": "string"
      +        },
      +        "subsystems": {
      +          "items": {
      +            "properties": {
      +              "name": {
      +                "type": "string"
      +              },
      +              "status": {
      +                "enum": [
      +                  "good",
      +                  "warn",
      +                  "bad"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "name",
      +              "status"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "total": {
      +          "type": "number"
      +        },
      +        "unit": {
      +          "description": "Unit label",
      +          "type": "string"
      +        },
      +        "value": {
      +          "description": "Hero metric value",
      +          "type": [
      +            "string",
      +            "number"
      +          ]
      +        },
      +        "variant": {
      +          "description": "Hero variant (default: progress_ring for dashboard)",
      +          "enum": [
      +            "big_number",
      +            "progress_ring",
      +            "status",
      +            "comparison",
      +            "rank",
      +            "countdown",
      +            "threshold",
      +            "breakdown",
      +            "nps",
      +            "orb",
      +            "gem"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +]
    • removedInput schema / properties / kpis / items / properties / value / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedInput schema / properties / kpis / items / properties / value / type
      Added value: +[
      +  "string",
      +  "number"
      +]
  2. Changed1 schema field changedv2.2.0
    • changedInput schema / properties / theme / description
      Previous value: -"Theme preset: boardroom, corporate, sales-floor, golden-treasury, clinical, startup, ops-control, tokyo-midnight, zen-garden, consultant, black-tron, black-elegance, black-matrix, forest-amber, forest-earth, sky-light, sky-ocean, sky-twilight, gray-hf, gray-copilot"New value: +"Theme preset: boardroom, corporate, sales-floor, golden-treasury, clinical, startup, ops-control, tokyo-midnight, zen-garden, consultant, black-tron, black-elegance, black-matrix, forest-amber, forest-earth, sky-light, sky-ocean, sky-twilight, gray-hf, gray-copilot, office-red"
  3. Addedv2.1.0
  4. Removedv1.0.1
  5. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so safety is covered. The description adds that output is a responsive grid and that palette/typography/effects can be mixed independently, but says nothing about the rendered output medium (HTML, image, file) or where the result goes.

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?

Front-loads the purpose in one sentence, then the theme catalog and the mix-and-match rule. The theme list is long but each entry carries a distinct use-case hint, so it earns its space; nothing is padded.

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?

For an 11-parameter tool with nested hero objects and no output schema, the description covers purpose and theming adequately but omits the required inputs (title, charts), the return value, and how it relates to the single-chart and save_file siblings. Usable, but an agent must open the schema to build a valid call.

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?

Schema description coverage is 100%, so the 3 baseline is met by the schema itself. The description then adds genuine value by mapping each theme name to a use case (investors, healthcare/WCAG AAA, crypto/gaming) and explaining the mix-and-match relationship between theme, palette, typography, and effects.

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?

States a specific verb and resource: 'Render a full dashboard with KPI cards, charts, and optional hero metric in a responsive grid.' That composition distinguishes it from the single-chart siblings like render_bar_chart, though it never names an alternative explicitly.

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?

There is no statement of when to use this composite dashboard tool versus the many single-chart renderers, nor any prerequisites or exclusions. The theme use-case hints ('boardroom (investors, board decks)') guide parameter choice, not tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.