Skip to main content
Glama

Read a workflow

get_workflow
Read-onlyIdempotent

Retrieve a workflow's purpose, decisions, files, tests, dependencies, mechanisms, and history before changing behavior—without opening the documentation directory.

Instructions

Returns the page of one workflow — what it does, what it decides, what to watch — then its files, tests, dependencies, mechanisms and history. Call it before changing a behaviour, instead of opening the documentation directory.

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": {
      "id": "<id>"
    },
    "name": "get_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe identifier of the workflow, e.g. route.order.create

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.10.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world and non-destructive behaviour, so the description's job is lighter. It adds genuine value by telling the agent that the response is an aggregated page spanning multiple sections rather than a flat record, which is important since there is no output schema. It says nothing about response size or whether history is truncated.

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?

Two sentences, front-loaded with what is returned and followed by the usage instruction. The triple 'what it does, what it decides, what to watch' is slightly rhetorical but still conveys distinct content categories rather than 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?

For a single-parameter read tool with no output schema, the description covers what comes back and when to call it, which is most of what an agent needs. The remaining gap is the id-discovery path and any expectation about volume, which the sibling search/list tools would presumably supply.

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?

With 100% schema description coverage and a single required 'id' parameter that already carries the format example 'route.order.create', the schema does the full job. The description adds no additional meaning about identifier format, scoping, or behaviour for unknown ids, 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 the page of one workflow') and enumerates the payload sections — behaviour, decisions, watch items, files, tests, dependencies, mechanisms, history. The singular 'one workflow' implicitly contrasts with the plural siblings list_workflows/search_workflows, but no sibling is named explicitly.

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?

"Call it before changing a behaviour, instead of opening the documentation directory" gives a concrete trigger and an explicit substitute, which is strong guidance. It does not say how to obtain the required id (e.g. via search_workflows or list_workflows), leaving that discovery step unaddressed.

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