Skip to main content
Glama

Inspect a flow's executions (debug traces)

workbench_executions_get
Read-only

The flow's stack traces: recent executions with per-node timelines — what each node received, produced, how long it took, and the exact error when one failed. USE THIS when a run misbehaves instead of guessing: read the failing node's inputs/error, then propose a fix (workbench_flows_edit_text) grounded in what actually happened. Pass executionId to inspect one run, or just flowId for the most recent runs. Node inputs/outputs are truncated for transport — the full record is in the flow's dev drawer.

Input Schema

NameRequiredDescriptionDefault
limitNoHow many recent executions (default 3, max 10). Ignored when executionId is set.
flowIdYesWorkbench flow id.
workspaceNoWorkspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys (workspace is intrinsic).
executionIdNoSpecific execution to inspect. Omit for the latest runs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint/openWorldHint, so the safety profile is covered. The description adds genuinely useful behavior the annotations don't: node inputs/outputs are truncated for transport and the full record lives in the flow's dev drawer. That's an important expectation-setting detail for a read tool.

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?

Front-loaded with what the tool returns, then the when-to-use trigger, then parameter selection, then the truncation caveat — each sentence earns its place with no filler.

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

Completeness5/5

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

No output schema exists, and the description compensates well by describing the return shape (per-node timelines, inputs/outputs, errors) and its truncation limit. Combined with 100% schema coverage and read-only annotations, an agent has everything needed to call and interpret this correctly.

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% — the schema already documents limit's default/max and its being ignored when executionId is set, plus the workspace auth nuance. The description's 'Pass executionId to inspect one run, or just flowId for the most recent runs' adds only marginal selection guidance beyond what the schema states, so the baseline 3 is appropriate.

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+resource (inspect a flow's executions) and enumerates exactly what comes back: per-node timelines, inputs, outputs, durations, and the failing error. This is clearly distinguishable from siblings like workbench_flows_get or workbench_flows_run, which manage or trigger flows rather than return execution traces.

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 an explicit trigger — 'USE THIS when a run misbehaves instead of guessing' — and routes the agent to the follow-on tool (workbench_flows_edit_text) for fixing. It also clarifies executionId vs flowId selection. It lacks an explicit 'when not to use' or a comparison against trace-reading siblings, so it stops short of a 5.

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