Skip to main content
Glama

Re-run a previously completed test

retest_job
Idempotent

Re-run an existing test job against the latest deployment. Useful after pushing a fix surfaced by get_test_results — call this to verify whether the bug is gone. Keeps the original test's URL, custom goal, system prompt, and inbox configuration so the verification covers the same flow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobIdYesJob ID returned by submit_test (or a prior retest_job).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoTool result payload (JSON object)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations indicate this is a non-read, idempotent, non-destructive operation. The description adds that it keeps the original test's URL, goal, prompt, and inbox config, providing useful context beyond annotations. Minor gap: it doesn't specify whether a new job ID is created each time.

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 concise sentences front-load the action, then explain the use case and behavior. Every sentence adds value with no redundancy.

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?

With an output schema present, the description doesn't need to detail return values. It covers the action, when to use, and what is preserved. Slightly incomplete regarding potential side effects or idempotency behavior, but appropriate for a single-parameter tool.

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% with a description for jobId. The description adds that the jobId comes from submit_test or a prior retest_job, providing source context beyond the schema. It also explains that the original test configuration is preserved, indirectly clarifying the parameter's role.

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 clearly states the tool 're-runs an existing test job against the latest deployment', using a specific verb and resource. It distinguishes from siblings like submit_test (which creates new tests) and get_test_results (which reads results).

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 explicitly advises using this tool after pushing a fix surfaced by get_test_results, providing clear context. However, it does not mention when not to use it or alternative tools for other scenarios (e.g., submitting a completely new test).

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