Skip to main content
Glama

plot

Render line, scatter, histogram, bar, errorbar, contour, or surface plots to a PNG file from your data. Set axis labels, title, filename, and DPI to produce publication-ready figures.

Instructions

Render a line/scatter/hist/bar/errorbar/contour/surface plot to a PNG file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dpiNo
dataYes
kindYes
titleNo
xlabelNo
ylabelNo
filenameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses little: it implies a file write (PNG), but does not say where the file lands, whether filename controls the path, whether an existing file is overwritten, or what the tool returns. The required nested data object's expected structure is likewise undisclosed.

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?

A single tight sentence with no filler, and the supported chart kinds are front-loaded. It is efficient, though its brevity is partly under-specification rather than true economy.

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 7-parameter tool with a required nested object, no output schema, and no annotations, this one-line description leaves major gaps: data shape, output location, overwrite behavior, and return value are all unspecified. An agent could not reliably invoke this from the description alone.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters. The description's list of plot kinds ('line/scatter/hist/bar/errorbar/contour/surface') usefully enumerates valid kind values, but the most important parameter, the required nested data object, is completely undocumented in both schema and prose.

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?

The description gives a specific verb (Render) plus the resource (plot) and enumerates the supported chart kinds, ending with the output artifact (PNG file). It does not, however, distinguish itself from the sibling tool plot_file, leaving it to the agent to infer which one to use.

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 when-to-use guidance and no mention of the alternative plot_file, which is the obvious competing sibling. The agent gets no signal about which plotting tool is appropriate in a given situation.

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