Skip to main content
Glama

e2e_runs

Trigger, retrieve, or list end-to-end test runs for deployed AI agent profiles in staging or production, launching background jobs and returning job or run details.

Instructions

E2E test runs against a deployed environment (agent_e2e_runs). action: trigger (profile_id, env — runs the profile's active eval suite(s) scenario-by-scenario against its live endpoint_path in env, judge-scored when the suite has an evaluator_model; launches a background job and returns job_id immediately) | get (run_id) | list (recent, optional profile_id filter).

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

Input Schema

NameRequiredDescriptionDefault
envNoConfig branch: which `environment` rows of the AI config DB to read/write. staging = the editable working set (default); prod = what production serves.staging
limitNoMaximum number of rows to return.
actionNoOperation to run: trigger | get | list. The tool description lists what each action needs.list
run_idNoE2E run UUID.
profile_idNoAgent profile UUID (list_profiles / get_profile).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 behavioral burden and does substantial work: it discloses that trigger runs the profile's active suites scenario-by-scenario against the live endpoint_path, is judge-scored when an evaluator_model exists, and is asynchronous (launches a background job, returns job_id immediately). It stops short of stating permissions, cost/side-effect implications of hitting a live environment, or any rate limits.

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

Conciseness4/5

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

The definition is front-loaded with a one-line purpose followed by a compact action breakdown, and every clause (background job, job_id, judge scoring) adds information. Some of the line-broken parenthetical phrasing is dense and could read more cleanly, but nothing is 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?

Given an output schema exists, the description need not explain return shapes, yet it still usefully notes the immediate job_id return from trigger. Remaining gaps are modest for a multi-action tool: no note on what happens to the target environment or how to poll the background job, though the existence of a jobs sibling likely covers that.

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%, including the env enum's meaning, so the schema already explains the parameters. The description adds modest value by tying profile_id and env to the trigger flow and run_id to get, and by tying profile_id to the list filter, which clarifies which parameters matter per action.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (E2E test runs against a deployed environment) and enumerates the three operations with their required identifiers, so an agent can tell what the tool does. It does not explicitly contrast itself with siblings like eval_runs or pytest_runs, relying on the 'E2E' label to carry that distinction.

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?

Per-action parameter requirements (trigger needs profile_id and env; get needs run_id; list takes an optional profile_id filter) give implied guidance on how to invoke each mode. There is no explicit when-to-use clause, no exclusions, and no routing to related tools such as eval_runs for non-E2E suites.

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