Skip to main content
Glama

Get a Wiro workflow

get_workflow
Read-onlyIdempotent

Read a workflow's inputs, outputs, state, and step graph before running or editing it; use the returned updatetime as loaded_updatetime for updates.

Instructions

Read one workflow: its inputs (the keys run_workflow takes, marked when a run must be given them), outputs, state, and the full step graph when you are allowed to see it. Read this before running a workflow, and before editing one with update_workflow (pass the returned updatetime back as loaded_updatetime). Protected workflows from other creators show only their inputs, but they can still be run. Input lists and saved values hide the values of fields named like api_key, token, secret or password, and values that look like a provider key. Other saved values come back as saved: never repeat a key you see there.

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

Input Schema

NameRequiredDescriptionDefault
slugYesThe full workflow slug ("<name>-<5 character id>") or the workflow page URL.
include_graphNoInclude the step graph (contents). Set false for a short answer.

Output Schema

NameRequiredDescriptionDefault
workflowYes
nextActionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.5.3
    • addedOutput schema / properties / nextAction / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / workflow / properties / contents / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / workflow / properties / outputs / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Changed1 schema field changedv1.5.1
    • addedOutput schema / properties / workflow / properties / inputs / items / properties / required
      Added value: +{
      +  "description": "Whether a run must be given this input, as far as Wiro says. Left out when that is not known.",
      +  "type": "boolean"
      +}
  3. Addedv1.4.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds real behavioral context beyond them: graph visibility depends on permissions, redaction of api_key/token/secret/password-like fields and provider-key-shaped values, and saved values returned as `saved`. The only gap is return-format detail, which is largely covered by the output schema.

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?

Front-loaded with purpose, then usage, then caveats—every clause carries information (permission gating, redaction, the updatetime round-trip). It is dense and slightly run-on but not padded.

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?

For a read tool with an output schema and full annotation coverage, the description supplies everything an agent needs: prerequisites, the update_workflow handoff, permission-limited visibility, and redaction behavior.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so slug format and include_graph are already documented; the description still adds meaning by noting the graph is only present "when you are allowed to see it" and that omitting it yields a short answer. Slug-versus-URL handling is left entirely to the schema.

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 and resource ("Read one workflow") and enumerates exactly what is returned: inputs, outputs, state, and the step graph. It is unmistakably distinct from list/run/update siblings without needing their schemas.

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

Usage Guidelines5/5

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

Gives explicit when-to-use conditions: "Read this before running a workflow, and before editing one with update_workflow", and even names the handoff field (pass `updatetime` back as `loaded_updatetime`). It also clarifies a non-obvious case—protected workflows from other creators can still be run even though only inputs are visible.

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