Skip to main content
Glama

List Scenario Runs

list_scenario_runs
Read-only

List the runs of a scenario with pass/fail counts per run. Pass runId to get one run with its per-step results instead — scenarioId is then not needed. Use this for a scenario's run history; to start a new run use run_scenario. Requires project context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skipNoNumber of runs to skip (for pagination, default 0)
takeNoNumber of runs to return (default 20, max 100)
runIdNoPublic Id (Guid) of a single run. When given, returns that run with its step results.
scenarioIdNoPublic Id (Guid) of the scenario. Required unless runId is given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

The readOnlyHint annotation already covers safety, and the description adds useful behavioral context by mentioning pass/fail counts and per-step results. It also notes the project context prerequisite.

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?

Three concise sentences convey purpose, alternative usage, and context without redundancy. The most important information is front-loaded.

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?

The description provides enough context for an agent to choose and call the tool correctly, including output nature and prerequisites. Since no output schema exists, a bit more detail about the response shape would be useful but is not essential.

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 complete, and the description reinforces the relationship between runId and scenarioId. It adds operational meaning by explaining when runId is used instead of scenarioId.

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 action and resource: listing scenario runs with pass/fail counts. It clearly distinguishes itself from run_scenario and explains that passing runId returns a single run with per-step results.

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?

Explicitly says to use this for a scenario's run history and to use run_scenario for starting a new run. It also gives the runId alternative and notes the project context requirement.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources