Skip to main content
Glama

plot_file

Plot columns from CSV, TSV, TXT, JSON, or NPY files as PNG images in your output directory.

Instructions

Plot columns from a CSV/TSV/TXT/JSON/NPY file to a PNG in the output directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNo
yNo
dpiNo
kindYes
pathYes
titleNo
xlabelNo
ylabelNo
filenameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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 it does disclose the key side effect: a PNG is written to the output directory, which is behavioral information not present in the schema. However, it says nothing about overwrite behavior, filename collisions, return value, or failure modes for unsupported formats/columns.

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 front-loaded sentence with zero filler that states the operation, inputs, and output artifact. It is efficient, though arguably too terse for a 9-parameter tool.

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?

With 9 parameters at 0% coverage, no annotations, and no output schema, the description is far too thin to support correct invocation. It omits which columns x/y select, valid `kind` values, default behaviors, and how the output file is named.

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 9 parameters, so the description must compensate and largely does not. It hints that x/y refer to 'columns' and that `kind` relates to file format, but dpi, title, xlabel, ylabel, and filename are left entirely unexplained.

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 (plot), resource (columns from a file), and result (PNG in the output directory), plus the accepted input formats. It is clear on its own but never distinguishes itself from the sibling tool `plot`, so an agent cannot tell from the text alone which one applies to a file versus in-memory data.

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, no statement of prerequisites, and no reference to alternatives such as `plot` or `load_data`. The only implicit cue is that the input is a file path, which the agent must infer from the schema.

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