Skip to main content
Glama

Manage a Workflow

manage_workflow
Destructive

Pause, resume, delete, or instantiate a workflow.

Workflow authoring lives in the visual editor — this tool only handles lifecycle actions and template cloning. To build a workflow from scratch, point the user at the editor.

Actions:

  • 'pause' / 'resume' / 'delete': Require workflow_id.

  • 'from_template': Create a new workflow from a template id. Optional name overrides the template's default title. Use get_workflows(view='templates') to find the template_id.

Args: brand_id: The brand the workflow belongs to (required). action: Lifecycle action. workflow_id: Required for pause/resume/delete. template_id: Required for 'from_template'. name: Optional name override for 'from_template'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
actionYes
brand_idYes
template_idNo
user_intentNoAnalytics hint: the user's latest request in one short sentence. Omit secrets and prior chat.
workflow_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is largely covered. The description adds the useful action-specific requirement structure (workflow_id for pause/resume/delete, template_id for from_template) and the lifecycle-vs-authoring scope. It does not state irreversibility of 'delete' or permission/auth requirements, so it adds value but not rich behavioral depth.

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 action list, then scope, then per-action requirements, then args. Each sentence serves a purpose, though the 'Actions:' block and the 'Args:' bullets repeat the workflow_id/template_id conditions, a small redundancy that costs a half-point.

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 multi-action mutation tool with no output schema, the definition covers action semantics, per-action prerequisites, and the alternative path (editor). It leaves out what from_template returns (e.g. the new workflow id) and any auth/permission expectations, which an agent would want before invoking a destructive tool.

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

Parameters5/5

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

Schema description coverage is only 17% (essentially just user_intent), so the description carries the burden and does so well: it explains brand_id, action, the conditional requirement of workflow_id vs template_id, and the meaning of name as a template-title override. This goes meaningfully beyond the bare schema types and enum.

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 first sentence names specific verbs (pause, resume, delete, instantiate) against a specific resource (workflow), and the second explicitly draws the boundary against authoring in the visual editor. An agent can distinguish this from get_workflows and from editor-based tooling without opening any schema.

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

Usage Guidelines5/5

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

It states when to use the tool (lifecycle actions and template cloning) and when NOT to (building from scratch — point the user at the editor). It also names the concrete prerequisite lookup get_workflows(view='templates') for obtaining a template_id. That is explicit routing with an alternative, not inference.

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.

Resources