Skip to main content
Glama

get_workflow

Read the editable workflow graph, including exact existing node sockets, data and connections. Run history is omitted by default; use includeExecutionState only to diagnose execution.

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

Input Schema

NameRequiredDescriptionDefault
workflowIdYesThe workflow ID
workspaceIdYesThe workspace ID
includeExecutionStateNoInclude cached outputs, partial execution rows and full output history for execution diagnosis.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / properties / includeExecutionState
      Added value: +{
      +  "default": false,
      +  "description": "Include cached outputs, partial execution rows and full output history for execution diagnosis.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the default exclusion of run history and that execution state is a diagnostic-only, presumably heavier payload. It does not state that the operation is read-only/safe or comment on response size or permissions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with what is read, followed by the default-omission caveat and the one parameter's restricted purpose. No redundant restatement of the schema.

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 three-parameter read tool with no output schema, the description says enough about what the returned graph contains and what is left out. Missing only lower-value context such as access requirements or payload size.

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 100%, so all three parameters are already described. The description adds only the usage constraint on includeExecutionState ('only to diagnose execution'), which is useful but marginal against a fully documented 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?

States a specific verb and resource ('Read the editable workflow graph') plus the scope of what is returned (exact existing node sockets, data and connections). The note that run history is omitted distinguishes it from the run-oriented siblings without needing to name them.

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 a clear conditional rule: use includeExecutionState 'only to diagnose execution', which implicitly says when not to use it. It does not name a sibling alternative (e.g. get_workflow_run) for run history, so the routing guidance is inferred rather than explicit.

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.