Skip to main content
Glama
amanharshx
by amanharshx

model_plots

Read-only

Retrieve a model's evaluation plots (PR curve, F1 curve, precision/recall curves, confusion matrix) with field shapes, or get a specific plot's full data by specifying its type.

Instructions

Report a model's evaluation plots (per-class pr_curve, f1_curve, precision_curve, recall_curve, confusion_matrix), which model_metrics and training_monitor do not surface. By default lists each plot's type and the shape of its fields (array lengths only, never the values) since one pr_curve alone can carry thousands of numbers on a multi-class model; pass type to get that one plot's data back exactly as the platform returned it, unmodified. Field shapes vary by type: pr_curve/f1_curve/precision_curve/recall_curve carry x/y (and pr_curve additionally ap); confusion_matrix carries a matrix field instead, not x/y/ap. Plot presence does not track training history: a model can have plots with no trainResults, or (rarely) plots: [] on an otherwise completed model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoReturn this one plot's full data unmodified (e.g. pr_curve, confusion_matrix). Omit to list what's available.
modelYesModel ref by owner/project/model, ul:// URI, or slug (requires project).
projectNoProject ref required when model is given by slug.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.12

TDQS

A4.9/5.0
Behavior5/5

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

While annotations already declare readOnlyHint=true and destructiveHint=false, the description adds valuable behavioral context beyond annotations: it warns about the potentially large size of pr_curve data, explains that field shapes vary by type (pr_curve has ap, confusion_matrix has matrix), and clarifies that plot presence does not correlate with training history. This is rich, non-obvious behavior that an agent needs to know.

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

Conciseness5/5

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

The description is detailed but every sentence earns its place. It front-loads the purpose and key distinctions, then adds essential operational details (size warning, field structures, presence caveats) without redundancy. It is well-structured and not overlong.

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

Completeness5/5

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

For a read-only tool with no output schema, the description is remarkably complete. It covers what the tool returns, how to filter, the variability of fields, and edge cases like empty plots. An agent has everything needed to call it correctly.

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

Parameters4/5

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

The schema already has 100% coverage with descriptions for all three parameters, so schema is doing the heavy lifting. However, the description adds meaningful semantics about the 'type' parameter (e.g., that it returns data unmodified, and that field shapes vary), which goes beyond simple parameter definitions, earning a 4.

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

Purpose5/5

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

The description clearly states it reports evaluation plots with specific plot types listed, and differentiates from model_metrics and training_monitor by noting they do not surface these plots. This is a specific verb-resource pair with clear sibling differentiation.

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

Usage Guidelines5/5

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

The description explicitly contrasts with model_metrics and training_monitor, telling the agent when to use this tool instead. It also provides clear guidance on default behavior vs. passing 'type', which is a usage guideline in itself.

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