Skip to main content
Glama

render_hero_metric

Create visual hero metric widgets to display key performance indicators with variants for trends, progress, status, comparisons, rankings, and specialized contexts.

Instructions

Render a purpose-driven hero metric widget. Pick the variant that answers your question:

  • big_number: 'How much? Which direction?' Default hero metric - clean, professional, works in any context. Large value + trend arrow + optional sparkline. Params: value, unit, change, changePeriod, sparkline[]

  • progress_ring: 'How close to goal?' Animated ring or half-gauge. Params: value, unit, label, progress (0-100), style ('ring'|'gauge'), size, color

  • status: 'Good or bad?' Pulsing dot + subsystem badges. Params: label, statusLevel ('good'|'warn'|'bad'), subsystems[{name,status}], count, peak

  • comparison: 'How do we compare?' Before/after + improvement. Params: before, after, improvement, beforeLabel, afterLabel

  • rank: 'Where do I stand?' Badge + percentile. Params: rank, total, percentile, rankChange

  • countdown: 'How long left?' Time segment boxes. Params: segments[{value,label}] OR deadline (ISO date)

  • threshold: 'Above or below limit?' Gradient bar + marker. Params: value, max, threshold, unit, zones[{label,from,to,color}]

  • breakdown: 'What is the split?' Stacked bar + legend. Params: items[{label,value,color?}]

  • nps: 'How satisfied?' Score + rating scale. Params: value, max (default 100), rating ('good'|'neutral'|'bad')

  • orb: 'What is the headline?' Dramatic glowing sphere. Use golden orb for resumes/portfolios. For tech meetings use only black, white, or crystal-colored orbs as subtle flair. Best with dark themes (tokyo-midnight, ops-control, startup). Avoid for formal contexts (boardroom, clinical, consultant). Params: value, unit, label, color

  • gem: 'Premium gem metric' Faceted/spherical gem - for wealth, fintech, trading, crypto, luxury contexts ONLY. Best with golden-treasury, tokyo-midnight themes. Do NOT use for corporate, clinical, consultant, or boardroom dashboards - use big_number instead. Params: value, unit, label, gemType. gemTypes: crystal='Future' (forecasts, projections) | black_pearl='Rare find' (alt investments, crypto) | golden_pearl='Treasure' (gold, commodities) | white_pearl='Clean total' (savings) diamond='Crown number' (net worth, total revenue) | ruby='What's critical' (urgent, burn rate) | sapphire='Foundation' (stability, uptime) | emerald='Growth' (YoY, appreciation)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesChart title
variantNoWidget variant (default: big_number)
valueNoMain metric value
unitNoUnit label (e.g. 'grams', '%', 'USD')
labelNoSub-label
colorNoOverride accent color (hex)
progressNoRing fill 0-100
sizeNoSize: sm/md/lg/xl
styleNoprogress_ring style
changeNoPercentage change
changePeriodNoPeriod label for change (e.g. 'vs last month')
sparklineNoMini bar sparkline data
statusLevelNoStatus level
subsystemsNoSubsystem badges
countNoLive count
peakNoPeak count
beforeNoBefore value
afterNoAfter value
improvementNoImprovement label
beforeLabelNoBefore column label
afterLabelNoAfter column label
rankNoCurrent rank
totalNoTotal in ranking
percentileNoPercentile
rankChangeNoPositions moved
segmentsNoTime segments
deadlineNoISO deadline date
maxNoMaximum value for threshold/nps
thresholdNoThreshold limit line
zonesNoColor zones
itemsNoBreakdown items
ratingNoNPS rating override
gemTypeNoGem type for variant=gem: diamond, ruby, sapphire, emerald, golden_pearl, white_pearl, black_pearl, crystal
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
paletteNoOverride palette only (mix-and-match)
typographyNoOverride typography: professional, luxury, cyberpunk, editorial, mono, bold, system, techno
effectsNoOverride effects: none, subtle, shimmer, neon, energetic

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/KyuRish/mcp-dashboards'

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