Skip to main content
Glama

list_experiments

Lists workspace Experiments newest first so you can review candidate pipeline versions against baselines on a Dataset's test cases, with status and scoring details.

Instructions

Lists the workspace's Experiments, newest first.

An Experiment compares a candidate pipeline version against a baseline on the test cases of one Dataset: each side gets its Sessions (reused, or replayed against its version) and is scored by the same Metric Group. The baseline is another version, or, when recorded, the Sessions the Dataset recorded. status and each side's status go REPLAYING, SCORING, then ENDED or FAILED; a side's error says why it failed and scoring_counts how its evaluations ended. Read how the candidate did against the baseline with get_experiment_results. To read one side's scoring run cell by cell, pass its scoring_runs[].experiment_run_id, that entry's pipeline_id resolved to a name with list_pipelines, and the Experiment's metric_group_id to get_experiment_run. The API has no paging: a result of exactly limit Experiments may be cut off; raise limit (at most 200) or narrow with pipeline_name. :param pipeline_name: Only Experiments with either side on this pipeline, when given. :param limit: Most Experiments to return (at most 200). :returns: The Experiments, or an error message.

The output is automatically stored and can be referenced in other functions. Returns a formatted preview with an object ID (e.g., @obj_123). Use the object store tools in combination with the object ID to view nested properties of the object. Use the returned object ID to pass this result to other functions.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
pipeline_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.44
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 50,
      +  "title": "Limit",
      +  "type": "integer"
      +}
  2. Changed4 schema fields changedv0.1.31
    • addedInput schema / properties / pipeline_name / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / pipeline_name / default
      Added value: +null
    • removedInput schema / properties / pipeline_name / type
      Removed value: -"string"
    • removedInput schema / required
      Removed value: -[
      -  "pipeline_name"
      -]
  3. Addedv0.1.29

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses newest-first ordering, the absence of API paging and the resulting truncation ambiguity, the 200 cap, the REPLAYING/SCORING/ENDED/FAILED status lifecycle, the error and scoring_counts fields, and that output is auto-persisted as an object ID with a formatted preview. It omits any permission or cost considerations, and much of the status detail describes the Experiment object rather than this call's behavior.

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

Conciseness3/5

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

Purpose and the paging caveat are front-loaded, but the long middle paragraph reads as Experiment domain documentation and follow-up routing rather than guidance for this call. Combined with the generic object-store boilerplate at the end, a substantial fraction of the text is not load-bearing for invoking list_experiments.

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?

There is no output schema or annotations and only two optional parameters, and the description covers ordering, cap behavior, error results, and the auto-stored object-ID return, which is what an agent needs to call it correctly. Only the default limit and a contrast with list_experiment_runs are missing.

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 0%, so the description must compensate and largely does: it explains that pipeline_name matches Experiments with *either* side on that pipeline (non-obvious semantics) and that limit is capped at 200. It never states the default limit of 50 that the schema declares, but otherwise the two parameters are meaningfully documented.

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?

States a specific verb and resource with scope and ordering: 'Lists the workspace's Experiments, newest first.' It then defines what an Experiment is (candidate vs baseline on one Dataset's test cases), which lets an agent distinguish it from siblings like list_experiment_runs, get_experiment, and get_experiment_results.

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 clear downstream routing: use get_experiment_results to read candidate-vs-baseline performance, and get_experiment_run with scoring_runs[].experiment_run_id plus metric_group_id for cell-by-cell detail. It also handles truncation ('a result of exactly limit may be cut off; raise limit or narrow with pipeline_name'). It does not, however, contrast this tool with the closest sibling, list_experiment_runs.

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

Deploy Server

Other Tools