Skip to main content
Glama

workflow.save

Saves a named, parameterised sequence of tool calls for later replay; use {{var}} placeholders and stable locators instead of snapshot refs.

Instructions

Save a named, parameterised sequence of tool calls for replay. Use {{var}} anywhere in a step argument. Snapshot refs are refused: they are only valid for the snapshot that produced them, so save a selector, xpath or text locator instead.

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": {
      "name": "<name>",
      "steps": "<steps>"
    },
    "name": "workflow.save"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName to replay it by.
varsNoVariable names; any {{placeholder}} found in the steps is added automatically.
stepsYesSteps in order.
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish that this is not read-only and has open-world behavior. The description adds meaningful behavioral detail: saved workflows are replayable, {{var}} placeholders can appear in step arguments, and snapshot refs are rejected because they are snapshot-specific.

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?

The description is three tight sentences with the core purpose front-loaded, followed by practical variable syntax and a locator constraint. Every sentence adds useful information without unnecessary wording.

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

Completeness3/5

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

It covers the save operation, variable substitution, and snapshot-ref restriction, which are important for this mutation tool. It omits potentially important save semantics such as overwrite behavior when a name already exists, error behavior, and what the save operation returns.

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 75%, so parameter documentation already carries most of the burden. The description adds semantic guidance beyond the schema by explaining placeholder usage in step arguments and the snapshot-ref restriction, which affects how step arguments should be authored.

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 states a specific verb and resource: saving a named, parameterised sequence of tool calls for replay. This clearly distinguishes persistence from execution, though it does not explicitly name siblings such as workflow.run or workflow.show.

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?

It gives useful usage constraints for variable placeholders and tells the agent to use selectors, xpath, or text locators instead of snapshot refs. However, it does not explicitly say when to use this tool versus workflow.run, workflow.list, or workflow.show.

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

Deploy Server

Other Tools