Skip to main content
Glama
kkruglik

MLflow MCP Server

by kkruglik

get_run_metrics

Read-only

Fetch the latest values of all metrics for a specific MLflow run by providing its run ID.

Instructions

Get all metrics for a specific run with their latest values

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true. Description adds 'with their latest values' which is helpful but does not disclose potential limits, batch sizes, or return format beyond that.

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?

Single sentence is concise and front-loaded. No wasted words.

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 simple tool with good annotations and no output schema, the description covers the basic purpose but lacks detail on return format (e.g., key-value pairs, timestamps) which could be helpful for a complete understanding.

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

Parameters1/5

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

Single parameter run_id has no schema description (0% coverage). Description adds no additional semantic meaning beyond the parameter name itself, leaving the agent to infer that it's a run identifier.

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?

Description clearly states verb 'Get', resource 'all metrics for a specific run', and scope 'with their latest values'. Distinguishes from sibling tools like get_run_metric and get_experiment_metrics.

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?

No explicit guidance on when to use this tool versus alternatives like get_run_metric, get_experiment_metrics, or query_runs. Context must be inferred from the description alone.

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