Skip to main content
Glama

bakeoffs

Run a bake-off comparing two or more profile variants across multiple eval suites, spawn one run per variant and suite, and roll linked runs into a per-suite and aggregated matrix.

Instructions

Generic bake-off: N profile-version variants x M suites of ONE profile (agent_bakeoffs) — spawns one agent_eval_runs row per (variant, suite) via the same start_suite_run trigger_eval_run uses, then rolls the linked runs into a per-suite + aggregated matrix (same shape as eval_runs action=matrix). Mixed read/write tool like eval_suites/eval_schedules — create mutates, list/get are read-only — so left unannotated rather than READ_ONLY (that would misdescribe create).

action=create: name, profile_id, variants (>=2 required, each
{label?, profile_version_id?, model_id?, gen_config?} — gen_config
keys are temperature?/thinking_level?/max_output_tokens?/top_p?; a
blank or duplicate label is auto-defaulted to "variant N" / suffixed
" (2)", " (3)", ... so every matrix row stays distinct), suite_ids
(>=1 — every suite needs an evaluator_model_id set), repeats (per
variant/suite run, clamped 1-20 by create_bakeoff itself — a raw
repeats=500 fans out at most 20x variants x suites runs, not 500x).
Two pre-flight checks run BEFORE anything is written — every suite has
a judge, and every variant's profile_version_id (when given) actually
belongs to profile_id — so a bad input fails with one clear ValueError
instead of a half-spawned bake-off; on success returns
{bakeoff_id, run_ids}.
action=list: recent bake-offs (agent_bakeoffs), decorated with
n_variants/n_suites/_profile_name — does not load linked runs (that's
action=get).
action=get: bakeoff_id -> {bakeoff, matrix, status}. status is
recomputed from the linked agent_eval_runs rows ('complete' iff every
linked run has reached a terminal status, else 'running') unless the
row is already stuck 'errored' (sticky — set when create's pre-flight
or spawn loop failed). Optional suite_id narrows matrix to just that
suite's rows ({"rows": [...]}); omitted, matrix is the full
{"rows": [...], "by_variant": [...]}.

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": "bakeoffs"
  }
}

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
nameNoBake-off name.
limitNoMaximum number of rows to return.
actionNoOperation to run: create | list | get. The tool description lists what each action needs.list
repeatsNoRepeats per variant x suite (1-20).
suite_idNoget: focus the matrix on this suite.
variantsNoBake-off variants: [{label?, profile_version_id?, model_id?, gen_config?}] (2+).
suite_idsNoEval suites every variant runs.
bakeoff_idNoagent_bakeoffs UUID.
profile_idNocreate: the profile every variant tests.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it explains why it is left unannotated (mixed read/write, create mutates), discloses the two pre-flight checks that run before any write so bad input fails atomically rather than half-spawning, states the repeats clamp to 1-20 and what a raw repeats=500 actually fans out to, and explains sticky 'errored' status semantics. It also covers label auto-defaulting/dedup behavior and what list does not load.

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?

Purpose and the mixed read/write caveat are front-loaded, then actions are presented in create/list/get order, which matches the enum. It is dense with long parenthetical asides and run-on sentences, but nearly every clause carries operational information rather than restating the schema.

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 10-parameter, multi-action tool with no annotations, the description covers creation preconditions, failure modes, fan-out math, status recomputation, and per-action return shapes. An output schema exists, so the return-value detail is bonus rather than required, and nothing an agent needs to call this correctly is missing.

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

Parameters5/5

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

Schema coverage is 100%, so baseline would be 3, but the description adds real meaning beyond the schema: the gen_config key set (temperature/thinking_level/max_output_tokens/top_p), the blank/duplicate label auto-default and ' (2)' suffixing rule, the repeats clamp interaction with variants x suites, and the suite_id narrowing behavior that changes the matrix shape from {rows, by_variant} to {rows}. These are behavioral constraints an agent could not infer from the parameter list.

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 opening states a specific resource (agent_bakeoffs) and a precise scope: N profile-version variants x M suites of ONE profile, spawning one agent_eval_runs row per (variant, suite). It explicitly distinguishes itself from siblings by naming trigger_eval_run as the underlying trigger and eval_runs action=matrix as the shape analog, and it enumerates the three supported actions. An agent can tell what this tool is and is not without opening any schema.

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?

Each action is given clear context: create needs name/profile_id/variants/suite_ids, list returns decorated recent bake-offs without linked runs, get returns {bakeoff, matrix, status} and notes 'that's action=get' for linked runs. It also states preconditions (every suite needs an evaluator_model_id, variants >= 2, profile_version_id must belong to profile_id). It stops short of explicit 'use eval_runs instead when...' routing, so a 4 rather than a 5.

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