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.

Get run

get_flow_instance
Read-only

Overview of one run; instanceKey comes from list_flow_instances. include: initialData (the run's Initial Data, values shortened, initialDataTruncated lists cut paths), pendingOn (blocks a waiting run is paused at; [] when it waits on nothing); each is fetched only when listed. Result: executionId, versionId, configId (with versionId, get_flow_summary / get_node_details / get_flow_json take it and show the flow as it was when this run started), configChangedSinceRun (false: the flow has not been started again since this run, it runs the same configuration now; true: it was stopped and started again since, its blocks may have changed; compared with the configuration the version was last started with, so edits made after stopping it and not started yet are not covered), status, terminationReason, startedAt/endedAt (ISO UTC), durationMs, initiator, failure (the first failure not routed to a failure path: nodeId, nodeName, nodeType, iteration, blockExecutionKey, message, httpCode, errorCode; only for TERMINATED runs), steps (one row per block in order of first execution: runs, failedRuns, failedIterations [{ iteration, blockExecutionKey }], firstError, totalMs, failureRouted), notExecuted (blocks the run never reached). Block names and types come from the run's own configuration; they are absent when it is no longer available. A RUNNING run is partial. A block's input and output come from get_flow_instance_block: blockExecutionKey for a failed execution, or instanceKey with nodeId and iteration for any other. olderRunsHiddenByPlan: true replaces the result when the run is not visible.

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>",
      "instanceKey": "<instanceKey>"
    },
    "name": "get_flow_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeNo
instanceKeyYes
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond the readOnlyHint/openWorldHint annotations, it discloses that RUNNING runs return partial data, that failure is only populated for TERMINATED runs, that olderRunsHiddenByPlan replaces the whole result, and how configChangedSinceRun's comparison window works (including what edits it does not cover). These are exactly the non-obvious behaviors an agent needs to interpret results correctly.

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?

Front-loaded with purpose, then parameters, then return-shape, then cross-tool routing — a sensible order with no filler sentences. It is dense and long as a single block, so some field definitions (steps, notExecuted) are hard to scan, but every sentence carries information.

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?

There is no output schema, so the description must define the payload, and it enumerates the result fields, failure semantics, per-block step rows, and the configChangedSinceRun edge cases. Given the tool's complexity, an agent has enough to call it and interpret the response without guessing.

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?

With 0% schema coverage the description carries the full burden and does most of it: instanceKey's origin is stated, and both include enum values are explained in detail (truncation behavior, pendingOn's [] semantics, on-demand fetching). workspaceId is never mentioned, which is the one remaining gap for a zero-coverage schema.

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?

Opens with a specific verb+resource+scope ("Overview of one run") and immediately distinguishes itself from block-level siblings by pointing to get_flow_instance_block for input/output. An agent can tell what the tool returns and how it differs from get_flow_json / get_flow_summary 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 Guidelines4/5

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

Explicitly states where instanceKey comes from (list_flow_instances) and routes block-level detail requests to get_flow_instance_block with the required identifier shape for each case. It also tells the agent that each include value is fetched only when listed, which is a real use-time decision. It lacks an explicit 'do not use this when...' exclusion, keeping it short of 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.

Resources