Skip to main content
Glama

Kovca

Get a workflow

get_workflow
Read-only

Returns a workflow: its published versions, the input and output schemas of the latest (or the given) version, whether it's turned on, and its automation state if it's an activated automation. With Author access it also returns the draft: revision, definition, validation issues, and examples.

Input Schema

NameRequiredDescriptionDefault
versionNoA published version (default: the latest).
workflow_idYesA workflow ID, like wf_…

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful context beyond that: output is conditional on access level ('With Author access it also returns the draft') and on workflow type ('automation state if it's an activated automation'), which an agent cannot infer from structured fields.

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

Conciseness4/5

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

A single front-loaded sentence that leads with what is returned and then enumerates the payload. Dense but every clause carries information; only mild cost is that it reads as a long run-on with two colon lists.

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?

No output schema exists, so the description must describe return values, and it does so thoroughly, including the access-conditional draft payload. It omits error behavior (e.g., unknown workflow_id) and is silent on how versions are ordered beyond 'latest', which keeps it short of a 5.

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% and already documents both parameters, including the default-to-latest behavior for version. The description restates 'the latest (or the given) version' without adding format or edge-case meaning, so the baseline 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?

States a specific verb and resource ('Returns a workflow') and enumerates what comes back: published versions, input/output schemas of the latest or given version, enabled state, automation state. The singular, ID-based nature clearly separates it from list_workflows.

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 implied by the required workflow_id, but the description never says when to reach for this versus list_workflows (to discover IDs) or get_run (for execution data). No explicit when/when-not guidance or exclusions.

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