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.

Test-run block

test_run_block
Destructive

Execute one saved block now, with real side effects (sends the email, writes the row, calls the API); not idempotent. Runs the version saved on the server at this versionId; the node must have no issues. A TRIGGER only arms itself and returns at once without polling. repeat, list-iterator, actions-group, triggers-group are rejected; their child blocks can be test-run. condition, router and ai-router do execute. A block reading upstream results sees data only from upstream blocks test-run earlier. Polls up to ~24 s, then returns the last state with completed: false; calling again re-runs the block. Long values are shortened; truncated lists { path, kind, originalSize } for each cut. maxChars (2000..60000, default 30000) is the size budget of the response.

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>",
      "versionId": "<versionId>",
      "nodeId": "<nodeId>"
    },
    "name": "test_run_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYes
maxCharsNo
versionIdYes
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / maxChars
      Added value: +{
      +  "maximum": 60000,
      +  "minimum": 2000,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses that execution has real side effects and is not idempotent, that re-calling re-runs the block, that polling stops at ~24 s with completed:false, and that long values are truncated with { path, kind, originalSize } markers. These are exactly the operational traits an agent cannot infer from destructiveHint/openWorldHint alone.

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 front-loaded with the highest-stakes fact (real side effects, non-idempotent) and then layers constraints and return behavior in roughly priority order. It is dense with semicolon-chained clauses, which costs some readability, but almost every clause carries operational information.

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 destructive, polling, side-effecting execution tool with no output schema, it covers safety, block-type eligibility, polling limits, re-run semantics and truncation format. The remaining gap is the return payload's general shape and the meaning of workspaceId, which an agent must guess.

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 0%, so the description carries the burden. It explains maxChars meaningfully (size budget, default 30000) and clarifies versionId as the server-saved version, and implies nodeId refers to a node that must have no issues. workspaceId is never explained, so half the parameters still lack semantic grounding.

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 opens with a specific verb and resource ('Execute one saved block now') and immediately scopes it as a live test-run with real side effects, which distinguishes it from the schema/config-inspection siblings. It also pins down which version is executed ('the version saved on the server at this versionId'), leaving no ambiguity about what is being run.

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?

It gives explicit when-not conditions by block type: repeat, list-iterator, actions-group and triggers-group are rejected while their children can be test-run, and condition/router/ai-router do execute. It also clarifies the TRIGGER special case (arms itself and returns without polling) and the upstream-data ordering constraint. It does not name sibling tools to redirect to, but the applicability rules are unusually concrete.

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