Skip to main content
Glama

trigger-dev

Replay a run

trigger_replay_run
Destructive

Re-run one specific past run with the same payload. This EXECUTES your production task again — the same side effects it had the first time. Trigger.dev: POST /api/v1/runs/{runId}/replay.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesThe run to replay.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Although destructiveHint=true already flags danger, the description adds real value by spelling out that the production task executes again with the same payload and the same side effects as the first run. It does not discuss permissions, idempotency, or rate limits, but the side-effect warning is the key behavioral fact here.

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?

Two tight sentences plus an API endpoint reference; the side-effect warning is front-loaded and nothing is padded. The trailing endpoint string is mildly redundant but grounds the call in the underlying API.

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 single-parameter destructive action with no output schema, the description supplies the essentials: what is rerun, with what payload, and the side-effect consequence. It could go slightly further on what the call returns or whether duplicates accumulate, but nothing critical is missing.

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?

Only one parameter with 100% schema description coverage, so the schema already documents run_id. The description adds no syntax or format detail beyond 'the run to replay', which is the expected baseline when the schema does the work.

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 (re-run/replay) and a precisely scoped resource (one specific past run), so it is immediately distinguishable from sibling reads such as trigger_get_run or trigger_list_runs. The payload-reuse semantics sharpen the purpose further.

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: it replays a past run rather than creating or fetching one, and the description warns it re-executes the production task. However, it names no alternative (e.g. when to reschedule vs. replay) and no conditions for when not to use it.

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.