Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

publishWorkflow

Destructive

Promotes a workflow draft to the live version so real events run it; validate first, since publishing is refused while the draft has errors.

Instructions

Make the draft the live version.

Real events then run it, unless the workflow is paused. Publish is refused while the draft has errors, so run validateWorkflow first. Ask the user before you publish.

(Tags: Workflows)

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": "publishWorkflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflow_idYesId of the workflow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=false, and the description adds real context beyond them: the draft becomes live, real events then execute, paused workflows are an exception, and invalid drafts block the operation. It stops short of saying what happens to the previously live version or whether a publish can be rolled back.

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?

Three short sentences front-load the core action, then the execution consequence, then the preconditions and the user-confirmation rule. Nothing is padding except the trailing tag label.

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 single-parameter mutation with no output schema, the description covers the precondition chain and the safety expectation (ask the user). It could be more complete about the effect on the prior live version.

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

Parameters3/5

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

There is only one parameter and schema description coverage is 100%, so the schema fully documents workflow_id. The description adds no format, sourcing, or lookup guidance for it, which is acceptable at this baseline.

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?

"Make the draft the live version" is a specific verb+resource statement that an agent can act on immediately. It does not, however, distinguish itself from the sibling activateWorkflow, which an agent could easily confuse with publishing.

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?

Strong prerequisites are spelled out: publishing is refused when the draft has errors, so validateWorkflow must run first, and the agent must ask the user before publishing. What is missing is any statement of when to choose this over activateWorkflow/deactivateWorkflow.

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