Skip to main content
Glama

workflow_memory

Store and replay app workflows as local structural macros, with list, lookup, record, replay, and clear actions; sensitive typed text and passwords are excluded.

Instructions

Local structural app-workflow memory (never stores passwords, typed text, or set_value text): action=list, lookup, record, replay (executable macro replay with optional step_args), or clear.

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": {
      "action": "<action>"
    },
    "name": "workflow_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
appNo
goalNo
queryNo
stepsNo
actionYes
step_argsNo
expected_domainNo
expected_window_containsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose a genuinely useful behavioral fact — that passwords, typed text, and set_value text are never stored — and that replay is executable, which warns of side effects. But it omits whether replay is destructive, whether it prompts for confirmation, scope of persistence, or failure behavior, which matters greatly for an executable-macro tool.

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 the tool's identity and its most safety-relevant constraint, then lists modes with a brief inline qualifier on replay. Dense but not padded; slightly cramped given how much is packed into one line.

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

Completeness2/5

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

For a nine-parameter, multi-mode tool with no annotations, no output schema, and zero schema description coverage, this is thin. An agent still cannot tell what lookup searches against, what record requires, or what replay returns or how it reports step outcomes.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for nine undocumented parameters. It supplies the valid action values (valuable, since the schema declares no enum) and notes step_args belongs to replay, but leaves id, app, goal, query, steps, expected_domain, and expected_window_contains entirely unexplained, including which action each belongs to.

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 a concrete resource (local structural app-workflow memory) and enumerates the operation set via action=list, lookup, record, replay, clear, so an agent knows exactly what capability it is reaching for. It does not explicitly differentiate itself from siblings like computer or inspect_app, keeping it out of 5 territory.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing says when to prefer this memory over live inspection tools such as inspect_app or screenshot, nor under what conditions a stored workflow should be replayed versus recorded. The action enumeration implies the modes but leaves selection entirely to inference.

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