Skip to main content
Glama

run_agent_test_plan

Destructive

Run a fitness test plan (plan_id) or single cases (test_ids, all of one agent) now. Creates the run and one pending result per active case (status queued) and triggers the execution; returns run_id. Follow progress with get_agent_test_run.

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

Input Schema

NameRequiredDescriptionDefault
plan_idNoID of the plan
agent_idNoOptional with test_ids: the agent they must belong to
test_idsNoList of IDs (test)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / plan_id / description
      Added value: +"ID of the plan"
    • addedInput schema / properties / test_ids / description
      Added value: +"List of IDs (test)"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare a non-read-only, destructive, non-idempotent mutation; the description corroborates and enriches this by explaining exactly what is created (a run plus one queued pending result per active case), that execution is triggered, and that the return value is run_id. It does not warn that repeated invocation produces duplicate runs (non-idempotent) or what happens to already-queued cases, which would have closed the remaining gap.

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: the action and its two modes come first, side effects second, and the handoff to the sibling tool last. No filler, and the most decision-relevant 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?

For a three-parameter mutation with no output schema, the description covers the essentials: invocation modes, side effects, and the returned run_id. What is missing is the zero-required-parameter ambiguity and failure behavior (e.g. invalid plan_id, inactive cases), which matters for a destructive trigger.

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 100%, so the baseline is 3; the description adds genuine meaning by asserting that test_ids must all belong to a single agent and that agent_id scopes them, plus the implicit mutual exclusivity between plan_id and test_ids. It does not clarify which parameter is required in practice despite zero required parameters in the schema, nor whether both may be supplied.

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 ('Run a fitness test plan') and immediately disambiguates the two supported modes: a whole plan via plan_id or individual cases via test_ids scoped to one agent. It also distinguishes itself from the read-side sibling by deferring progress tracking to get_agent_test_run, so an agent can pick correctly without opening a 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?

The description makes the trigger condition explicit ('now') and routes follow-up polling to get_agent_test_run, which is the key alternative an agent needs. It stops short of stating exclusions — e.g. whether a plan must exist first, or what happens if a run is already in progress — but the usage context is clear.

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.