Skip to main content
Glama

Box Plot

plot_box_plot
Read-onlyIdempotent

Create a box plot for comparing distributions (requires matplotlib).

Input Schema

NameRequiredDescriptionDefault
colorNoBox color (name or hex code, e.g., 'blue', '#2E86AB')
titleNoChart title string, e.g., 'Distribution Comparison'Box Plot
y_labelNoY-axis label, e.g., 'Values'Values
data_groupsYesList of data groups to compare, e.g., [[1, 2, 3], [4, 5, 6]]
group_labelsNoLabels for each group, e.g., ['Group A', 'Group B']

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / color / description
      Added value: +"Box color (name or hex code, e.g., 'blue', '#2E86AB')"
    • addedInput schema / properties / data_groups / description
      Added value: +"List of data groups to compare, e.g., [[1, 2, 3], [4, 5, 6]]"
    • addedInput schema / properties / group_labels / description
      Added value: +"Labels for each group, e.g., ['Group A', 'Group B']"
    • addedInput schema / properties / title / description
      Added value: +"Chart title string, e.g., 'Distribution Comparison'"
    • addedInput schema / properties / y_label / description
      Added value: +"Y-axis label, e.g., 'Values'"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  3. Changed6 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / color / title
      Removed value: -"Color"
    • removedInput schema / properties / data_groups / title
      Removed value: -"Data Groups"
    • removedInput schema / properties / group_labels / title
      Removed value: -"Group Labels"
    • removedInput schema / properties / title / title
      Removed value: -"Title"
    • removedInput schema / properties / y_label / title
      Removed value: -"Y Label"
  4. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds one piece of genuine context, the matplotlib dependency ('requires matplotlib'), but says nothing about what is produced or returned (figure, image, file path).

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 no wasted words; the intent and the dependency are both packed in. It is efficient though not rich enough to warrant a 5.

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?

For a plotting tool with no output schema and read-only annotations, the description omits the return format (rendered image vs figure object), which is the key unknown an agent faces. Parameters and safety are adequately covered by schema and annotations, so the gap is limited but real.

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 all five parameters are already documented in the schema with examples. The description adds no additional parameter meaning, so the baseline of 3 applies.

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 ('Create') and resource ('box plot') plus its analytical intent ('comparing distributions'), which differentiates it from plot_histogram and plot_scatter siblings by chart type. It stops short of explicitly naming which sibling to use instead for other distribution views.

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?

'for comparing distributions' implies when a box plot is appropriate, giving some selection signal against histogram/line siblings. However, there is no explicit when-to-use/when-not guidance or mention of alternatives, leaving routing to inference.

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.