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 flow JSON

get_flow_json
Read-only

Final internal-format flow JSON for the flow; large — get_flow_summary is the progress view. configId (from get_flow_instance, together with that run's versionId): the flow as it was when that run started; read-only, a snapshot of the blocks' configuration rather than an exact reconstruction. Long values are shortened; truncated lists { path, kind, originalSize } for each cut. path (a plain path, e.g. elements.[3]) returns only that branch in full detail. maxChars (2000..60000, default 30000) is the size budget of the response. Source: FlowRunner flow definitions (https://docs.flowrunner.ai/build/flow-editor).

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

Input Schema

NameRequiredDescriptionDefault
pathNo
configIdNo
maxCharsNo
versionIdYes
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / maxChars
      Added value: +{
      +  "maximum": 60000,
      +  "minimum": 2000,
      +  "type": "integer"
      +}
    • removedInput schema / properties / name
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / path
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, it discloses important behavior: output is large, long values are shortened, truncated lists are marked with { path, kind, originalSize }, and a size budget is enforced. The snapshot caveat (blocks' configuration, not an exact reconstruction) is a valuable honesty signal. It does not cover pagination or how to retrieve untruncated data.

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?

Information-dense and front-loaded, with the summary-vs-full distinction in the first sentence and truncation semantics immediately after. The colon-and-parenthetical style is choppy in places but almost every clause carries new 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?

With no output schema, the description correctly takes on return-format duty by explaining truncation markers and the size budget. The main missing piece is the meaning of the required workspaceId/versionId parameters.

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 coverage is 0%, so the description must carry parameter meaning. It explains configId, path (with an example), and maxChars with its range and default, but never explains workspaceId or versionId, which are required. That leaves two of five parameters undocumented.

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?

States the specific resource and scope ('Final internal-format flow JSON for the flow') and explicitly contrasts it with the sibling get_flow_summary ('progress view'), so the agent can separate the two without opening either 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?

Gives clear routing context: use get_flow_summary for progress, use this for the full JSON, and use configId (obtained from get_flow_instance with its versionId) when a historical snapshot is wanted. It stops short of stating exclusions, such as when this tool is too heavy and should be avoided.

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