Skip to main content
Glama

Manage Workflow

manage_workflow
Destructive

Change workflows. create saves one; duplicate copies one without touching the source; install adds a system workflow to the workspace; schedule turns its schedule on or off; execute runs it and spends credits, so inspect it first with find_workflows; create_ad_remix and create_instagram_remix build a remix workflow from a source ad or Instagram post.

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>",
      "input": "<input>"
    },
    "name": "manage_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesThe fields of the chosen action.
actionYescreate: Create a workflow: direct graph, a recurring scaffold, or natural-language generation. duplicate: Copy a workflow into this organization/brand for editing or scheduling; source unchanged. install: Install an official workflow as an editable/schedulable organization copy. schedule: Enable/disable/update an editable workflow copy's schedule. execute: Run a workflow now. create_ad_remix: Create a draft, review-only ad remix workflow from a selected public or connected ad. create_instagram_remix: Create a review-only draft remix workflow from a public Instagram pattern for this brand.
organizationNoOrganization this call acts in: its name, slug or id from get_context(action=organizations). Required when the connection covers several organizations (a call without it is refused with the list of organizations and their brands); a connection limited to one organization works inside it, so leave this argument out there (naming any organization is refused).

Output Schema

NameRequiredDescriptionDefault
dataNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, non-idempotent and open-world, so the safety bar is partly covered. The description adds genuinely extra behavior: execute spends credits, duplicate leaves the source untouched, and the remix actions produce review-only drafts rather than publishing. It does not explain what a schedule toggle or an install does to existing data, but the key cost/irreversibility facts are disclosed.

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?

Front-loaded with the one-line purpose, then a compact action-by-action enumeration where each clause carries distinct information. The telegraphic semicolon style is efficient, though the credit warning for execute would land harder if it were surfaced earlier rather than buried mid-list.

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 seven-action polymorphic tool with an output schema and strong annotations, the description covers every action and flags the one costly/destructive path. Remaining gaps (organization scoping rules, schedule cron requirements, execute node selection) are handled by the schema, so nothing critical for correct invocation is missing.

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?

Schema description coverage is 100%, so the schema already documents action, input and organization thoroughly, including the discriminated input shapes. The description adds only marginal semantics beyond that (credits for execute, the source ad/post concept for remixes) and does not mention organization scoping or the required canonicalId lookup for install.

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?

Opens with a specific verb+resource ("Change workflows") and then names each of the seven actions with its own distinct semantics: create saves, duplicate copies without touching the source, install adds a system workflow, schedule toggles, execute runs and spends credits, and the two remix actions build drafts from an ad or Instagram post. This makes it easy to distinguish from the sibling find_workflows, which is explicitly named as the inspection counterpart.

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?

Gives a concrete ordering rule for the risky path ("execute runs it and spends credits, so inspect it first with find_workflows") and implicitly frames find_workflows as the read-side alternative for discovery/catalog. It does not state when to prefer duplicate versus create, or when install versus create is appropriate, so a little inference remains.

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.