Skip to main content
Glama

eval_runs

Read-only

Inspect evaluation run results, trace failing cases, compare runs, and report pass-rate trends, comparison matrices, or testing overviews for text and voice checks.

Instructions

Eval-run results. action: list (recent, filter suite_id/profile_id; rows include profile_id, schedule_id, bakeoff_id, profile_version_id so a run can be traced back to what spawned/pinned it) | get (run_id → status, score, the schedule_id/bakeoff_id/ profile_version_id linkage, and results_summary {scenarios, passed, failed, pass_rate, failing[]} — each failing case carries trace_ids, the agent's own traces for it (read them with the traces tool); include_results=true adds every scenario's full result) | report (suite_id → pass-rate trend over days) | compare (run_ids=[baseline, ..., latest] — 2 or more runs; run_id + run_b still works for a pair) → every scenario labelled held | gained | regressed | still_failing (plus new | dropped when a scenario is missing from one side), baseline → latest run, with a per-run vs_baseline trail and labels counts; regressions sort first. Also runs (summaries), matrix (the portal's N-column pass-rate / latency / cost comparison) and, for a pair, a/b. | matrix (run_ids[] or suite_id → per-(suite,variant) and per-variant roll-up of mean score, pass-rate, p50/p95 latency & TTFT, tokens, cost) | overview (the portal's Testing Overview: one card per agent with its verdict and a row per text suite plus one kind="voice" row rolling up its voice checks — score = share of checks whose latest call passed, target 1.0).

Voice checks are runs too: list/get/compare accept voice-check run ids
(every row carries `kind`: text | voice; a voice run's `results` are its
checked call steps). compare refuses a mix of text and voice runs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "eval_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNoConfig branch: which `environment` rows of the AI config DB to read/write. staging = the editable working set (default); prod = what production serves.staging
daysNoLook-back window in days.
kindNolist: text eval runs, voice-check runs (ai_voice_scenario_runs, suite_id 'voice:<slug>'), or both (default).all
limitNolist/matrix: maximum runs.
run_bNoSecond run of a pair (prefer run_ids=[a, b, ...]).
actionNoOperation to run: list | get | report | compare | matrix | overview. The tool description lists what each action needs.list
run_idNoRun UUID (get), or the first run of a pair.
run_idsNoRun UUIDs, in order (compare: baseline first, latest last).
suite_idNoOnly runs of this suite (list/report/matrix).
profile_idNolist: only runs of this profile.
include_resultsNoget/compare: include every scenario's full result body (default: counts + failing scenario ids only).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=true; the description adds real behavioral context beyond that: the default return shape is counts + failing scenario ids with full bodies only on request, regressions sort first, scenario labels include new/dropped when a side is missing, and a mixed text/voice compare is refused. These are non-obvious behaviors an agent would otherwise discover by trial. It says nothing about limits/pagination behavior of list, which keeps it from a 5.

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?

Front-loaded with the resource, then pipe-delimited per-action segments that make scanning possible despite the density. Roughly proportional to a six-action, eleven-parameter tool. The prose is compressed almost to shorthand (nested parentheses, arrow notation) and a bulleted per-action layout would read faster, but no sentence is filler.

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

Completeness4/5

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

For a multiplexed action dispatcher with an output schema, this covers all six actions, their required inputs, the shape of key return fields, and edge cases like mixed-kind compare. An agent can pick an action and call it without further exploration. The remaining gap is relationship guidance versus other run families (e2e_runs, pytest_runs), which the description never addresses.

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?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond the field blurbs by explaining cross-parameter semantics: run_ids is ordered baseline-first/latest-last, run_id+run_b is the legacy pair form, include_results changes result depth, suite_id scopes list/report/matrix, and profile_id filters list. It also clarifies that voice-check run ids are valid wherever text run ids are. This is genuine added meaning for an 11-parameter multiplexed tool.

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?

Opens with a specific resource ('Eval-run results') and then enumerates each of the six actions with what it returns (list rows with profile_id/schedule_id linkage, get → status/score/results_summary, report → pass-rate trend, compare → held/gained/regressed labels, matrix → per-variant roll-up, overview → Testing Overview cards). An agent can tell what each action produces. It stops short of naming what distinguishes it from sibling run tools like e2e_runs or pytest_runs, so a 4 rather than 5.

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

Usage Guidelines4/5

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

Gives concrete selection cues per action — e.g. run_ids=[baseline, ..., latest] for 2+ runs while 'run_id + run_b still works for a pair', include_results=true when full scenario bodies are needed, and 'read them with the traces tool' to follow trace_ids, which is explicit cross-tool routing. It also states a hard constraint ('compare refuses a mix of text and voice runs'). It does not explicitly say when to prefer this over e2e_runs/pytest_runs, so no exclusion guidance.

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