Skip to main content
Glama

Run Agent Eval

run_eval
Destructive

Run a single eval scenario (eval_id) or every scenario for an agent (agent_id) against its live voice agent and grade the result. Bills voice-agent compute. Mirrors POST /api/v1/evals/run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNoBlock until the run completes (default true).
eval_idNoRun a single eval scenario by ID.
agent_idNoRun every eval scenario for this agent.
max_wait_msNoPer-run wait cap in ms when wait is true (default 60000, max 110000).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent when success is false
totalNo
failedNo
passedNo
run_idNo
statusNo
resultsNo
successYesWhether the tool completed successfully
completedNo
vapi_run_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

The description adds important behavior beyond the annotations: it explicitly warns that the operation 'Bills voice-agent compute' and targets a 'live voice agent', indicating real-world cost and side effects. This complements the destructiveHint=true annotation rather than contradicting it.

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?

Two tight sentences lead with the core action, immediately explain the two parameter-driven modes, then add the crucial cost warning and an API reference. Every clause carries meaning and there is no 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 tool with an output schema and fully documented parameters, the description covers the essential decision points: which mode to use, what happens (grading), and the cost implication. It does not explain asynchronous behavior when wait=false, but the schema already documents wait and max_wait_ms, so this is not a critical gap.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents wait, eval_id, agent_id, and max_wait_ms. The description adds useful context about the two operation modes but does not add new detail beyond the structured schema, so the baseline 3 is appropriate.

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 description states a specific action ('Run'), the exact resource ('single eval scenario' or 'every scenario for an agent'), the target ('live voice agent'), and the outcome ('grade the result'). It clearly distinguishes between eval_id and agent_id modes, so an agent knows what the tool operates on even among many siblings.

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?

The description provides clear usage context: use this tool to execute evaluations and grade results, with either eval_id or agent_id. It does not explicitly state when not to use it or name an alternative tool, but the function is specific enough that an agent can infer when it applies.

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.