Skip to main content
Glama

Trigger.dev MCP by usefulapi

List runs

trigger_list_runs
Read-only

List task runs, filtered by status, task, tag, queue, schedule or a time window. This is the main read for 'what ran, and what failed?'. Trigger.dev: GET /api/v1/runs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEpoch milliseconds upper bound on creation time.
tagNoOnly runs carrying these tags.
fromNoEpoch milliseconds lower bound on creation time.
afterNoCursor from the previous page's pagination. Omit for the first page.
batchNoOnly runs in this batch.
queueNoOnly runs on these queues.
isTestNoOnly test runs, or only real ones.
periodNoRelative window, e.g. "1h", "24h", "7d".
statusNoOnly runs in these states, e.g. ["FAILED","CRASHED"]. Others include PENDING, EXECUTING, COMPLETED, CANCELED, TIMED_OUT.
machineNoOnly runs on these machine presets.
versionNoOnly runs of this deployment version.
pageSizeNoPage size, 1-100.
scheduleNoOnly runs created by this schedule.
taskIdentifierNoOnly runs of these task ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe, non-mutating read, so the description's 'main read' framing is largely redundant. It adds the backing HTTP endpoint (GET /api/v1/runs) but says nothing about pagination behavior, result volume, or the 100-item page cap, which would have been genuinely useful context.

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 with the verb and filter set front-loaded, then the usage framing. The trailing 'Trigger.dev: GET /api/v1/runs' is mildly extraneous for an agent choosing a tool, but costs little.

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 read-only list tool with 100% schema coverage and a readOnlyHint annotation, the description covers purpose and filter scope adequately. It does not address pagination or default result behavior, but with no output schema the pageSize/after params in the schema carry most of that burden.

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 all 14 filter parameters are already documented in the schema. The description only groups them ('status, task, tag, queue, schedule or a time window') without adding format or precedence detail beyond what the schema provides, which is the baseline for full coverage.

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?

States a specific verb+resource ('List task runs') and enumerates the filtering dimensions, so an agent immediately knows this is the bulk read over runs. It stops short of naming the contrasting siblings (trigger_get_run for a single run, trigger_list_run_events for event-level detail), so it is clear but not fully differentiated.

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 line 'This is the main read for "what ran, and what failed?"' gives clear situational context for choosing this tool. There are no explicit exclusions or named alternatives (e.g. when to prefer trigger_get_run or trigger_list_run_events instead), so it never reaches a 5.

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.