Skip to main content
Glama

Chart

chart

Render SVG line, bar, or area charts for metrics over time, with optional season alignment and multi-series overlays. Configure range, theme, labels, and share or embed URLs.

Instructions

SVG; align:season overlays years on M/D axis. Multi (2–5) needs Pro. guide topic chart.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
typeNo
alignNo
rangeNo7d|14d|30d|90d|1y|all
shareNoHosted share url (default true).
themeNo
titleNo
labelsNo
metricNoSingle metric.
seriesNo2–5 {name,label?,color?}; not with metric.
metricsNo2–5 names; not with metric.
y_labelNo
include_embedNoHosted embed urls if true.
metric_labelsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose key behavior: SVG output, season alignment overlays, and Pro gating for multi-series. However, it omits other behavioral traits like share URL defaults, embed behavior, and what the chart response contains; partial disclosure makes a 3 appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loads the output format, but it is a set of fragments rather than clear sentences. For a 14-parameter tool it is too telegraphic, though there is little wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex chart tool with 14 params, nested objects, no output schema, and no annotations, the definition is incomplete: it does not explain share/embed defaults, range semantics, or label options. It gives just enough to hint at the tool, not enough to use it confidently.

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 coverage is 43% across 14 params, and the description adds real meaning for two tricky parameters: "align:season overlays years on M/D axis" and multi 2–5 requiring Pro. It leaves many other parameters—range, share, theme, labels, metric, y_label, include_embed, metric_labels—unexplained, so compensation is partial but still meaningful for the least obvious options.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with "SVG" and explains "align:season overlays years on M/D axis," so an agent can infer it renders SVG charts, but it never states a verb like "generate" or "render" and does not explicitly distinguish itself from siblings. The specific align and multi constraints are useful, yet the core purpose is implied by the tool name 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 Guidelines2/5

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

Only "Multi (2–5) needs Pro" gives a prerequisite, and "guide topic chart" points to documentation. There is no explicit when-to-use guidance, no when-not guidance, and no comparison to alternatives such as query or insight.

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

Deploy Server

Other Tools