Skip to main content
Glama

workflow_submit

Destructive

Submit and preview multi-step Zotero command workflows, then apply validated steps in order with shared run tracking.

Instructions

Submit an inline multi-step workflow executed by zotio's workflow runner — previews unless yes; each mutation has its own run_id and shares a workflow_run_id; steps apply in order without rollback; steps validated per-command exactly like command_run.

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": {
      "steps": "<steps>"
    },
    "name": "workflow_submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
yesNoApply the full workflow once instead of previewing it.
varsNoWorkflow variable values.
stepsYesValidated workflow steps.
allow-destructiveNoAllow destructive workflow steps; required together with yes even when a step declares allow-destructive.
continue_on_errorNoContinue executing later steps after a step fails.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.31.0
    • addedInput schema / properties / allow-destructive
      Added value: +{
      +  "description": "Allow destructive workflow steps; required together with yes even when a step declares allow-destructive.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv0.29.0
    • addedInput schema / properties / steps / items / properties / stdin_select
      Added value: +{
      +  "description": "JSON selector over the stdin_from step's output, such as findings[kind=missing_doi].item_key; each selected value becomes one stdin line. Missing, malformed, or incompatible selections fail the step; no values skip it.",
      +  "type": "string"
      +}
  3. Addedv0.9.1

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructive/openWorld/non-idempotent, and the description adds genuinely non-obvious behavior on top: preview-by-default unless yes, no rollback between steps, per-mutation run_id plus a shared workflow_run_id, and the rule that allow-destructive must accompany yes even when a step itself declares it. Those are the exact facts an agent needs before firing a destructive multi-step run.

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?

A single front-loaded sentence that identifies the action first, then layers the preview default, executed-order/no-rollback constraint, and id/validation model. No clause is redundant with the schema or annotations.

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 destructive, nested-parameter mutation with no output schema, the description covers the safety path, ordering, atomicity limits, and the run_id/workflow_run_id return shape. It stops short of describing step-level failure reporting or what a preview result contains, which would matter given continue_on_error exists.

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 the baseline is 3. The description earns a step above by explaining the yes/preview contract and the ordering semantics of the steps array ("apply in order without rollback") plus the correlation-id model across mutations, which the schema alone does not convey.

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?

The description states a specific verb and resource ("Submit an inline multi-step workflow executed by zotio's workflow runner") and ties itself to the command_run sibling ("steps validated per-command exactly like command_run"), so an agent can distinguish the batch path from the single-command path without inspecting either schema.

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 clearly establishes the default-preview / apply-with-yes flow and the allow-destructive gate, which is real usage context. However, it never states when to choose workflow_submit over command_run (single command) or how to break a workflow apart — the alternative is only referenced for validation semantics, not for selection, so usage remains implied.

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