Skip to main content
Glama

Get a workflow run

get_workflow_run
Read-onlyIdempotent

One run with its variables and step log: each node, its outcome (sent, yes, no, reply, timeout, delayed, held for approval...) and a short reason. No message text.

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": {
      "run_id": "<run_id>"
    },
    "name": "get_workflow_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's added context is the return shape: variables, step log, node outcomes including success/failure/timeout/approval states. The explicit limitation "No message text" is genuinely useful negative disclosure that prevents misuse; it stops short of stating pagination or error behavior for an unknown run_id.

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 tight sentences with the returned payload front-loaded and the negative constraint last. Every clause carries information; nothing repeats the title or annotations.

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 usefully compensates by describing the returned run, its variables, and the step log contents. The gaps are around provenance of run_id and behavior on an invalid or missing run, which for a simple single-param read tool are minor.

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?

One required parameter (run_id, uuid) with 0% schema description coverage, and the description never mentions it or its format. "One run" only implies that a single run identifier is needed; the meaning of run_id and where to source it is left to the agent.

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?

States a specific verb and resource — retrieve one workflow run — and enumerates the payload (variables, step log, per-node outcome, short reason). It implicitly contrasts with list-style siblings via "One run" but never names an alternative, so differentiation is suggestive rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent infers this is the single-run inspector used after obtaining a run from list_workflow_runs. There is no explicit when-to-use, no prerequisite about where run_id comes from, and no named alternative for getting message text, only the negative note "No message text."

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