Skip to main content
Glama

API Keg — Executive SVG Chart & KPI Card Compiler

Render Executive KPI Snapshot Card

render_kpi_card
Read-onlyIdempotent

Renders 1-6 executive KPI summary tiles with formatted headline values ($1.2M, 45.3%), semantic trend pills (+14.2% MoM), and inline SVG sparklines ready for Slack, Notion, Email, PDFs, or slide decks. Pricing: $0.001 USD per executive KPI snapshot card (1-6 tiles) (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "metrics": "<metrics>"
    },
    "name": "render_kpi_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoOptional executive card header title.
widthNoSVG width in pixels (defaults to 400/680/940 for 1/2/3 columns).
columnsNoGrid column count (1-3). Defaults automatically from tile count.
metricsYes1 to 6 executive KPI tiles to render.
paletteNoAccessible executive color palette ('corporate', 'slate', 'emerald', or 'dark').corporate
footnoteNoOptional footer attribution note.
subtitleNoOptional card subtitle or reporting period.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so those need no restating. The description adds genuinely new behavioral context: a per-card price of $0.001 USD charged via x402 instant micropayment, plus a free dry-run validation path. It stops short of describing the returned artifact's form (URL, SVG string, or image blob).

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?

Two sentences, front-loaded with the core render capability and its visual outputs before the cost note. The dry-run clause ('Pass ?dry_run=true on REST') is terse and slightly ambiguous for an agent calling the MCP tool rather than REST, but nothing is wasted.

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?

With no output schema, the description must carry the return-value burden, and it only implies the result is a rendered card suitable for Slack/Notion/PDF without saying what the agent actually receives. For a 7-parameter rendering tool, cost and dry-run are covered well, but the response shape is left open.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter is already documented in detail, and the baseline of 3 applies. The description reinforces the tile count range and illustrates formats and trend pills, but adds no syntax or behavior beyond what the schema already states.

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 — 'Renders 1-6 executive KPI summary tiles' — with concrete output details (headline values, trend pills, inline sparklines). It is clearly distinct from a generic chart renderer in substance, though the sibling render_chart is never named, so the differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied by 'executive KPI summary tiles ... ready for Slack, Notion, Email, PDFs, or slide decks', and there is an operational hint about ?dry_run=true to validate the schema for free. However, there is no explicit guidance on when to choose this over render_chart, nor any when-not-to-use conditions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources