Skip to main content
Glama

List a workflow's versions

list_versions
Read-onlyIdempotent

The workflow's saved versions, newest first: number, note, who and when, and which one the steps match now. Every step change by an assistant is saved as one. For a pipeline stage, pass the stage's workflow_id; the number is what save_pipeline's workflow_version takes.

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": {
      "workflow_id": "<workflow_id>"
    },
    "name": "list_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many to return (default 20).
workflow_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds behavior annotations don't carry: results are ordered newest first, and version creation is triggered by 'every step change by an assistant.' It also flags that one version is identified as the one current steps match, which is meaningful state context.

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 the returned shape, then the pipeline/round-trip caveat. No filler. The compressed list style ('number, note, who and when') is slightly telegraphic but readable and earns its space.

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?

With no output schema, the description must convey return values and it does: version number, note, author, timestamp, and which version matches current steps, plus ordering. Combined with schema-level limit documentation and full annotations, an agent has enough to call and interpret this correctly. Minor gap: no mention of behavior when no versions exist or pagination beyond limit.

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 50%: limit is documented (default 20, max 50) but workflow_id is bare. The description compensates by explaining that a pipeline stage's workflow_id should be passed, which is precisely the undocumented semantic an agent needs. It adds no further detail on limit, but the schema already handles that.

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?

The description names the resource and its contents precisely: 'The workflow's saved versions, newest first: number, note, who and when, and which one the steps match now.' That is more than a restatement of the name and tells an agent exactly what a call yields. It does not explicitly contrast with siblings like get_workflow, so it stops short of 5.

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?

Provides concrete routing guidance: 'For a pipeline stage, pass the stage's workflow_id' resolves the main ambient ambiguity about which id to supply. It also states how the output is consumed ('the number is what save_pipeline's workflow_version takes'), linking to a sibling workflow. No explicit when-not-to-use or named alternative list, so 4 rather than 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