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 block details

get_flow_instance_block
Read-only

Read one block execution from FlowRunner run history: its input, output and error. One of two ways to call: (1) blockExecutionKey from get_flow_instance (failure.blockExecutionKey, steps[].failedIterations[].blockExecutionKey); (2) instanceKey (from list_flow_instances) with nodeId and optional iteration (default 0, position inside the innermost loop). When several executions share that nodeId and iteration (nested loops) the result is matches [{ match, startedAt, failed, blockExecutionKey }]; match or a blockExecutionKey selects one. Parameters of both ways together are rejected. Result: success, error { message, httpCode, errorCode }, input, output, retryAttempts (attempt, at, httpStatus, transportErrorType, errorMessage, delayBeforeNextMs, responseBody); way (2) also returns nodeId, iteration, startedAt, durationMs. Data is returned as recorded. Long values are shortened; truncated lists { path, kind, originalSize } for each cut. path (a plain path, not {{…}}; path rules as in the readme "Expressions" section, e.g. output.items.[3].body, output.items.[last]; paths start with input, output or retryAttempts; truncated[] lists them) returns only that branch in full detail. maxChars (2000..60000, default 30000) is the size budget of the response. A block with no executions in the run returns executed: false; an iteration it did not run returns executed: false with ranIterations. A run whose data is too large returns its structure with tooLarge: true. olderRunsHiddenByPlan: true replaces the result when the run is not visible. Source: FlowRunner run history (https://docs.flowrunner.ai/run/inspecting-a-run).

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

Input Schema

NameRequiredDescriptionDefault
pathNo
matchNo
nodeIdNo
maxCharsNo
iterationNo
instanceKeyNo
workspaceIdYes
blockExecutionKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses important behavior: truncation of long values, truncated list metadata, path-based full-branch retrieval, maxChars budgeting, executed:false cases, tooLarge:true responses, and olderRunsHiddenByPlan replacement. These details substantially improve an agent's ability to anticipate the response and edge cases.

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 description is dense but front-loads the purpose and two call modes before enumerating result and edge-case details. It could be easier to scan with clearer formatting, since several complex rules are packed into long sentences, but almost every sentence carries necessary 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 explain return values, and it does: success, error, input, output, retryAttempts, nodeId, iteration, startedAt, durationMs, truncation, tooLarge, and executed flags. For an 8-parameter read tool with no output schema, this is complete enough to call correctly.

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?

With 0% schema description coverage, the description supplies meaning for nearly every parameter: blockExecutionKey, instanceKey, nodeId, iteration default, match selection, path syntax and constraints, and maxChars range/default. It does not explicitly define workspaceId, but the rest of the parameter semantics are unusually well covered.

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 states a specific verb and resource: reading one block execution from FlowRunner run history, including input, output, and error. It distinguishes this tool from the two related listing/inspection tools by naming get_flow_instance and list_flow_instances as sources for the required keys.

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 gives explicit when-to-use guidance for both invocation modes: blockExecutionKey from get_flow_instance, or instanceKey from list_flow_instances with nodeId and optional iteration. It also states an exclusion: parameters of both ways together are rejected, and explains how to disambiguate multiple matches.

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