Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

getWorkflowExecution

Read-only

Retrieves a workflow run with each step's result so you can inspect whether a test run completed, failed, or was cancelled.

Instructions

Get one workflow run with the result of each step.

Use it to read the outcome of testWorkflow. The run is finished when state is completed, failed or cancelled.

(Tags: Workflows)

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": {
      "workflow_id": "<workflow_id>",
      "execution_id": "<execution_id>"
    },
    "name": "getWorkflowExecution"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflow_idYesId of the workflow.
execution_idYesThe `execution_id` from `testWorkflow` or `listWorkflowExecutions`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.26.0
    • changedInput schema / properties / execution_id / description
      Previous value: -"The `execution_id` from `testWorkflow`."New value: +"The `execution_id` from `testWorkflow` or `listWorkflowExecutions`."
  2. Addedv0.14.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine context beyond them: the response includes each step's result, and the run is terminal only when `state` is completed, failed or cancelled — a behavioral signal an agent needs to avoid polling incorrectly. It omits error behavior for nonexistent executions and any polling/rate guidance.

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?

Three short sentences, front-loaded with the core action, followed by the routing hint and the terminal-state condition. Every sentence carries information; nothing is redundant padding.

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 only two parameters, no output schema and annotations covering the safety profile, the definition covers what the tool returns (per-step results), when a run is done, and where the id comes from. Minor gaps remain around handling non-terminal runs and not-found errors.

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 100%, so both parameters are documented in the schema, including that `execution_id` comes from testWorkflow or listWorkflowExecutions. The description repeats that provenance without adding format, type or constraint detail, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence names a specific verb and resource: fetch a single workflow run including per-step results. That distinguishes it from listWorkflowExecutions (which the description references as a source of execution_id) and from testWorkflow (which produces the run). It stops short of explicitly contrasting itself with the sibling getWorkflow, so sibling differentiation is implied rather than stated.

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-to-use guidance: read the outcome of `testWorkflow`. It also tells the agent how to detect a finished run via the `state` values completed, failed or cancelled. There is no when-not guidance or statement about what to do for a still-running execution, but the core routing context is present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools