Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FlowRunner Prompt to Flow. If you published it, claim ownership there.

List runs

list_flow_instances
Read-only

List the runs of one flow version, newest first. flowId, versionId and liveVersionId come from list_flows; without versionId the LIVE version is searched; a flow with no LIVE version needs versionId. Filters: status, onlyWithErrors, nameContains, period (lastHour, last24h, last7d, last30d) or a custom range from/to (ISO time); not both, limit (default 20, max 50), offset. includeSummary adds the count per status for the same period and other filters; the status filter does not apply to it. Row: instanceKey (the key get_flow_instance, get_flow_instance_block, get_flow_instance_logs take), executionId, name (only when set), status, initiator, startedAt, endedAt (ISO UTC), durationMs, hasErrors, errorHandled (an error happened and the run continued), terminationReason (TERMINATED runs), isTestRun. Result: { versionId (the version searched), runs, summary?, olderRunsHiddenByPlan (true when older runs are not visible), nextOffset (the offset of the next page) }.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspaceId": "<workspaceId>",
      "flowId": "<flowId>"
    },
    "name": "list_flow_instances"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
limitNo
flowIdYes
offsetNo
periodNo
statusNo
versionIdNo
workspaceIdYes
nameContainsNo
includeSummaryNo
onlyWithErrorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior: default and maximum page size, newest-first ordering, nextOffset for pagination, and an explicit olderRunsHiddenByPlan flag warning that older runs may be invisible. It stops short of stating permission or plan prerequisites for the call itself, which keeps it below a 5.

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 content is front-loaded: scope, then parameter provenance, then filters, then the row shape, then the result envelope. Almost every clause earns its place, but it is delivered as one dense semicolon-delimited run-on, and the twelve-field row enumeration is long even granted that no output schema exists to carry it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter, no-output-schema tool, the description compensates fully: run row fields are defined (including the subtle errorHandled meaning and terminationReason being TERMINATED-only), and the return envelope with versionId, runs, summary, olderRunsHiddenByPlan and nextOffset is spelled out. Nothing an agent needs to paginate or interpret results is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the entire burden and does so: it explains what period values mean and how the custom from/to range interacts with them, clarifies that includeSummary counts per status over the same period and filters, notes the status filter does not apply to the summary, and gives limit's default (20) and max (50). Only workspaceId is left self-evident from its name.

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 opening sentence gives a specific verb and resource with scope: 'List the runs of one flow version, newest first.' It also distinguishes the tool from list_flows (the source of ids) and from get_flow_instance / get_flow_instance_logs (which take the returned instanceKey), so an agent can place it in the family without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states which upstream tool supplies flowId, versionId and liveVersionId, what happens when versionId is omitted (the LIVE version is searched), and the edge case where a flow has no LIVE version and versionId becomes mandatory. It also states the mutual exclusion between period and from/to, so the agent knows which combinations are invalid rather than discovering it from an error.

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