Skip to main content
Glama

Run eval suite

run_suite

Runs an eval suite against its agent target, scores every case, saves the run, and returns a pass/fail gate result based on pass-rate thresholds and required cases.

Instructions

Run an eval suite against its agent target, score every case, save the run, and return the gate result. The gate fails if the pass rate is under the threshold or any required case fails. Suites load only from the server's suites folder; agent commands and hosts must be allow-listed; secrets in agent output are redacted.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "run_suite"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to a suite YAML/JSON file
tagsNoOnly run cases with any of these tags
caseIdsNo
concurrencyNo

Output Schema

NameRequiredDescriptionDefault
runIdYes
suiteYes
savedToYes
summaryYes
failuresYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior4/5

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

The annotations only declare readOnlyHint=false and openWorldHint=true; the description adds real value on top by disclosing that the run is persisted, that the gate can fail on pass rate or required cases, that suites are restricted to the server's suites folder, that agent commands/hosts must be allow-listed, and that secrets in output are redacted. It stops short of saying what a failed gate returns or whether a partial run is saved, which is the remaining gap for a mutating, open-world tool.

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 tight sentences, front-loaded with the action and outcome, then gate failure conditions, then operational constraints. No filler and nothing repeated from the schema or annotations.

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?

An output schema exists, so return-value detail is not required, and the description covers side effects, gate logic, and sandboxing constraints well. The gap is parameter-level behavior for caseIds/concurrency and what happens to a saved run when the gate fails.

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

Parameters2/5

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

Schema coverage is only 50% (caseIds and concurrency have no schema descriptions), so the description needs to compensate, but it says nothing about any parameter. Worse, 'score every case' mildly obscures the tags/caseIds filtering behavior that the schema exposes, leaving the agent to infer how subsetting interacts with the gate's pass-rate calculation.

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 plus the full effect chain: run the suite against its agent target, score every case, save the run, and return the gate result. That chain makes it clearly distinct from validate_suite (which would not execute or persist) and from get_run/list_runs without naming them.

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

Usage Guidelines3/5

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

Usage is implied through the gate semantics ('fails if the pass rate is under the threshold or any required case fails') and the loading constraints, which tell the agent when this tool will refuse to work. However, there is no explicit when-to-use/when-not guidance and no routing to validate_suite for pre-flight checks or to get_run for inspecting results.

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