Skip to main content
Glama

unfour.flow.get_run

unfour.flow.get_run
Read-onlyIdempotent

Retrieve a Flow run's full redacted history by run ID, including step statuses, attempts, outputs, errors, and timing, to inspect outcomes and debug failures.

Instructions

Read the complete redacted Flow run history shared with Desktop.

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": {
      "runId": "<runId>"
    },
    "name": "unfour.flow.get_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYes
workspaceIdNo

Output Schema

NameRequiredDescriptionDefault
runYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.15.0
    • changedInput schema / $defs / action / properties / capability / enum
      Previous value: -[
      -  "api",
      -  "ssh",
      -  "database"
      -]New value: +[
      +  "api",
      +  "ssh",
      +  "database",
      +  "redis"
      +]
    • addedInput schema / $defs / summary / properties / outcomeUncertain
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / $defs / action / properties / capability / enum
      Previous value: -[
      -  "api",
      -  "ssh",
      -  "database"
      -]New value: +[
      +  "api",
      +  "ssh",
      +  "database",
      +  "redis"
      +]
    • addedOutput schema / $defs / summary / properties / outcomeUncertain
      Added value: +{
      +  "type": "boolean"
      +}
  2. Addedv0.10.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds two genuinely non-derivable facts, that the payload is "complete" (full detail rather than a summary) and "redacted", but says nothing about what happens when the run is still running or the runId does not exist.

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

Conciseness3/5

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

It is a single front-loaded sentence with zero padding, which is efficient, but for a tool returning a deeply nested run object with steps and attempts it is too thin to structure the agent's expectations. Brevity here tips into under-specification rather than crispness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return shape need not be described, and the annotations cover safety. However, with two undocumented parameters and a confusing "history" framing against a single-run contract, an agent still lacks enough to call it confidently in edge cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 of explaining runId and workspaceId, yet it mentions neither. The meaning of workspaceId (scope, override, or required for cross-workspace lookup) is entirely undocumented, and the interaction between the two parameters is left to guesswork.

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

Purpose3/5

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

The verb "Read" plus resource "Flow run" is present, but "run history" suggests a list of runs rather than a single run, and the schema requires a single runId. Siblings include unfour.flow.list_runs, and the description does nothing to distinguish this single-run fetcher from that lister.

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

Usage Guidelines2/5

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

The phrase "shared with Desktop" gives a vague scope hint but there is no explicit when-to-use guidance, no mention of when to prefer unfour.flow.list_runs instead, and no note about prerequisites such as needing a valid runId or workspace access.

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