Skip to main content
Glama

Edit workflow

campaignstack_edit_workflow

Create workflows (from a graph, or from a whole workflow file exported by the workflow editor), edit metadata, set whether the workflow sends without review (approvalMode), enable or pause execution, set LinkedIn account pools, set email sender account, set workflow-level outreach intents, and restore a previous node instructions version (restore_guidance, using a versionId from campaignstack_get_workflows include.guidanceHistory). Graph changes belong in campaignstack_edit_workflow_graph. Each operation returns independently.

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": {
      "operations": "<operations>"
    },
    "name": "campaignstack_edit_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
operationsYesBatch edits are bounded. Return one result per requested item, and report partial failures instead of describing the whole batch as successful.
workspaceIdNoWorkspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too.

Output Schema

NameRequiredDescriptionDefault
okNo
resultsNo
warningsNo
workflowIdNo
workspaceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / operations / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "approvalMode": {
      -        "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed.",
      -        "enum": [
      -          "manual_review",
      -          "auto_when_confident",
      -          "automatic"
      -        ],
      -        "type": "string"
      -      },
      -      "campaignId": {
      -        "type": "string"
      -      },
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "description": {
      -        "type": "string"
      -      },
      -      "graph": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "anchorEdges": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "label": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "targetIndex": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "targetIndex",
      -                "label"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 200,
      -            "type": "array"
      -          },
      -          "edges": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "condition": {},
      -                "label": {
      -                  "type": "string"
      -                },
      -                "sourceIndex": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "targetIndex": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "sourceIndex",
      -                "targetIndex"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 200,
      -            "type": "array"
      -          },
      -          "nodes": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "config": {
      -                  "default": {}
      -                },
      -                "existingNodeId": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "label": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "nodeType": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "position": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "x": {
      -                      "type": "number"
      -                    },
      -                    "y": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "required": [
      -                    "x",
      -                    "y"
      -                  ],
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "nodeType",
      -                "label"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 100,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "nodes",
      -          "edges"
      -        ],
      -        "type": "object"
      -      },
      -      "name": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "create",
      -        "type": "string"
      -      },
      -      "sourceConfig": {
      -        "additionalProperties": {},
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "name",
      -      "sourceConfig",
      -      "graph"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "approvalMode": {
      -        "$ref": "#/properties/operations/items/anyOf/0/properties/approvalMode",
      -        "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed."
      -      },
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "description": {
      -        "type": "string"
      -      },
      -      "emailGoogleAccountId": {
      -        "anyOf": [
      -          {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "name": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "set_meta",
      -        "type": "string"
      -      },
      -      "outreachIntents": {
      -        "items": {
      -          "additionalProperties": {},
      -          "type": "object"
      -        },
      -        "maxItems": 20,
      -        "type": "array"
      -      },
      -      "workflowId": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "workflowId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "enabled": {
      -        "type": "boolean"
      -      },
      -      "op": {
      -        "const": "set_enabled",
      -        "type": "string"
      -      },
      -      "workflowId": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "workflowId",
      -      "enabled"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "accountIds": {
      -        "description": "Accounts the workflow sends from (LinkedIn account IDs). Omit it to default to the workspace's only LinkedIn account that is ready; with several, the error lists them so you can ask the person. An explicit [] stays empty: the LinkedIn steps send from no account and their leads wait until one is set.",
      -        "items": {
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 25,
      -        "type": "array"
      -      },
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "set_linkedin_accounts",
      -        "type": "string"
      -      },
      -      "workflowId": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "workflowId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "restore_guidance",
      -        "type": "string"
      -      },
      -      "versionId": {
      -        "description": "versionId of a previous node instructions version to restore.",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "versionId"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "approvalMode": {
      +        "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed.",
      +        "enum": [
      +          "manual_review",
      +          "auto_when_confident",
      +          "automatic"
      +        ],
      +        "type": "string"
      +      },
      +      "campaignId": {
      +        "type": "string"
      +      },
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "description": {
      +        "type": "string"
      +      },
      +      "graph": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "anchorEdges": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "label": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "targetIndex": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "targetIndex",
      +                "label"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 200,
      +            "type": "array"
      +          },
      +          "edges": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "condition": {},
      +                "label": {
      +                  "type": "string"
      +                },
      +                "sourceIndex": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "targetIndex": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "sourceIndex",
      +                "targetIndex"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 200,
      +            "type": "array"
      +          },
      +          "nodes": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "config": {
      +                  "default": {}
      +                },
      +                "existingNodeId": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "label": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "nodeType": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "position": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "x": {
      +                      "type": "number"
      +                    },
      +                    "y": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [
      +                    "x",
      +                    "y"
      +                  ],
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "nodeType",
      +                "label"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 100,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "nodes",
      +          "edges"
      +        ],
      +        "type": "object"
      +      },
      +      "name": {
      +        "description": "Required with graph. With workflow, overrides the name in the file.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "create",
      +        "type": "string"
      +      },
      +      "sourceConfig": {
      +        "additionalProperties": {},
      +        "description": "Required with graph. Not accepted with workflow: an imported workflow gets its lead source in this workspace.",
      +        "type": "object"
      +      },
      +      "workflow": {
      +        "additionalProperties": {},
      +        "description": "A whole workflow in the file format the workflow editor exports ({ kind: \"campaignstack-workflow\", version, name, approvalMode?, nodes, edges }), instead of graph. Validated as a whole; every problem is listed. It is created paused with no accounts and no lead source; its review mode comes from the file, and webhook and provider-side destinations are kept as written. The result lists what must be set before set_enabled succeeds.",
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "op"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "approvalMode": {
      +        "$ref": "#/properties/operations/items/anyOf/0/properties/approvalMode",
      +        "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed."
      +      },
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "description": {
      +        "type": "string"
      +      },
      +      "emailGoogleAccountId": {
      +        "anyOf": [
      +          {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "set_meta",
      +        "type": "string"
      +      },
      +      "outreachIntents": {
      +        "items": {
      +          "additionalProperties": {},
      +          "type": "object"
      +        },
      +        "maxItems": 20,
      +        "type": "array"
      +      },
      +      "workflowId": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "workflowId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "enabled": {
      +        "type": "boolean"
      +      },
      +      "op": {
      +        "const": "set_enabled",
      +        "type": "string"
      +      },
      +      "workflowId": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "workflowId",
      +      "enabled"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "accountIds": {
      +        "description": "Accounts the workflow sends from (LinkedIn account IDs). Omit it to default to the workspace's only LinkedIn account that is ready; with several, the error lists them so you can ask the person. An explicit [] stays empty: the LinkedIn steps send from no account and their leads wait until one is set.",
      +        "items": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 25,
      +        "type": "array"
      +      },
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "set_linkedin_accounts",
      +        "type": "string"
      +      },
      +      "workflowId": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "workflowId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "restore_guidance",
      +        "type": "string"
      +      },
      +      "versionId": {
      +        "description": "versionId of a previous node instructions version to restore.",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "versionId"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / operations / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "approvalMode": {
      -        "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed.",
      -        "enum": [
      -          "manual_review",
      -          "auto_when_confident",
      -          "automatic"
      -        ],
      -        "type": "string"
      -      },
      -      "campaignId": {
      -        "type": "string"
      -      },
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "description": {
      -        "type": "string"
      -      },
      -      "graph": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "anchorEdges": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "label": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "targetIndex": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "targetIndex",
      -                "label"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 200,
      -            "type": "array"
      -          },
      -          "edges": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "condition": {},
      -                "label": {
      -                  "type": "string"
      -                },
      -                "sourceIndex": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "targetIndex": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "sourceIndex",
      -                "targetIndex"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 200,
      -            "type": "array"
      -          },
      -          "nodes": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "config": {
      -                  "default": {}
      -                },
      -                "existingNodeId": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "label": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "nodeType": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "position": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "x": {
      -                      "type": "number"
      -                    },
      -                    "y": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "required": [
      -                    "x",
      -                    "y"
      -                  ],
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "nodeType",
      -                "label"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 100,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "nodes",
      -          "edges"
      -        ],
      -        "type": "object"
      -      },
      -      "name": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "create",
      -        "type": "string"
      -      },
      -      "sourceConfig": {
      -        "additionalProperties": {},
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "name",
      -      "sourceConfig",
      -      "graph"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "approvalMode": {
      -        "$ref": "#/properties/operations/items/anyOf/0/properties/approvalMode",
      -        "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed."
      -      },
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "description": {
      -        "type": "string"
      -      },
      -      "emailGoogleAccountId": {
      -        "anyOf": [
      -          {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "name": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "set_meta",
      -        "type": "string"
      -      },
      -      "outreachIntents": {
      -        "items": {
      -          "additionalProperties": {},
      -          "type": "object"
      -        },
      -        "maxItems": 20,
      -        "type": "array"
      -      },
      -      "workflowId": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "workflowId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "enabled": {
      -        "type": "boolean"
      -      },
      -      "op": {
      -        "const": "set_enabled",
      -        "type": "string"
      -      },
      -      "workflowId": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "workflowId",
      -      "enabled"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "accountIds": {
      -        "items": {
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 25,
      -        "type": "array"
      -      },
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "set_linkedin_accounts",
      -        "type": "string"
      -      },
      -      "workflowId": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "workflowId",
      -      "accountIds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "restore_guidance",
      -        "type": "string"
      -      },
      -      "versionId": {
      -        "description": "versionId of a previous node instructions version to restore.",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "versionId"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "approvalMode": {
      +        "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed.",
      +        "enum": [
      +          "manual_review",
      +          "auto_when_confident",
      +          "automatic"
      +        ],
      +        "type": "string"
      +      },
      +      "campaignId": {
      +        "type": "string"
      +      },
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "description": {
      +        "type": "string"
      +      },
      +      "graph": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "anchorEdges": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "label": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "targetIndex": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "targetIndex",
      +                "label"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 200,
      +            "type": "array"
      +          },
      +          "edges": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "condition": {},
      +                "label": {
      +                  "type": "string"
      +                },
      +                "sourceIndex": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "targetIndex": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "sourceIndex",
      +                "targetIndex"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 200,
      +            "type": "array"
      +          },
      +          "nodes": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "config": {
      +                  "default": {}
      +                },
      +                "existingNodeId": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "label": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "nodeType": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "position": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "x": {
      +                      "type": "number"
      +                    },
      +                    "y": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [
      +                    "x",
      +                    "y"
      +                  ],
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "nodeType",
      +                "label"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 100,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "nodes",
      +          "edges"
      +        ],
      +        "type": "object"
      +      },
      +      "name": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "create",
      +        "type": "string"
      +      },
      +      "sourceConfig": {
      +        "additionalProperties": {},
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "name",
      +      "sourceConfig",
      +      "graph"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "approvalMode": {
      +        "$ref": "#/properties/operations/items/anyOf/0/properties/approvalMode",
      +        "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed."
      +      },
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "description": {
      +        "type": "string"
      +      },
      +      "emailGoogleAccountId": {
      +        "anyOf": [
      +          {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "set_meta",
      +        "type": "string"
      +      },
      +      "outreachIntents": {
      +        "items": {
      +          "additionalProperties": {},
      +          "type": "object"
      +        },
      +        "maxItems": 20,
      +        "type": "array"
      +      },
      +      "workflowId": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "workflowId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "enabled": {
      +        "type": "boolean"
      +      },
      +      "op": {
      +        "const": "set_enabled",
      +        "type": "string"
      +      },
      +      "workflowId": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "workflowId",
      +      "enabled"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "accountIds": {
      +        "description": "Accounts the workflow sends from (LinkedIn account IDs). Omit it to default to the workspace's only LinkedIn account that is ready; with several, the error lists them so you can ask the person. An explicit [] stays empty: the LinkedIn steps send from no account and their leads wait until one is set.",
      +        "items": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 25,
      +        "type": "array"
      +      },
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "set_linkedin_accounts",
      +        "type": "string"
      +      },
      +      "workflowId": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "workflowId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "restore_guidance",
      +        "type": "string"
      +      },
      +      "versionId": {
      +        "description": "versionId of a previous node instructions version to restore.",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "versionId"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / operations / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "campaignId": {
      -        "type": "string"
      -      },
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "description": {
      -        "type": "string"
      -      },
      -      "graph": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "anchorEdges": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "label": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "targetIndex": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "targetIndex",
      -                "label"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 200,
      -            "type": "array"
      -          },
      -          "edges": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "condition": {},
      -                "label": {
      -                  "type": "string"
      -                },
      -                "sourceIndex": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "targetIndex": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "sourceIndex",
      -                "targetIndex"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 200,
      -            "type": "array"
      -          },
      -          "nodes": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "config": {
      -                  "default": {}
      -                },
      -                "existingNodeId": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "label": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "nodeType": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "position": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "x": {
      -                      "type": "number"
      -                    },
      -                    "y": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "required": [
      -                    "x",
      -                    "y"
      -                  ],
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "nodeType",
      -                "label"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 100,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "nodes",
      -          "edges"
      -        ],
      -        "type": "object"
      -      },
      -      "name": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "create",
      -        "type": "string"
      -      },
      -      "sourceConfig": {
      -        "additionalProperties": {},
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "name",
      -      "sourceConfig",
      -      "graph"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "description": {
      -        "type": "string"
      -      },
      -      "emailGoogleAccountId": {
      -        "anyOf": [
      -          {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "name": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "set_meta",
      -        "type": "string"
      -      },
      -      "outreachIntents": {
      -        "items": {
      -          "additionalProperties": {},
      -          "type": "object"
      -        },
      -        "maxItems": 20,
      -        "type": "array"
      -      },
      -      "workflowId": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "workflowId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "enabled": {
      -        "type": "boolean"
      -      },
      -      "op": {
      -        "const": "set_enabled",
      -        "type": "string"
      -      },
      -      "workflowId": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "workflowId",
      -      "enabled"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "accountIds": {
      -        "items": {
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 25,
      -        "type": "array"
      -      },
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "set_linkedin_accounts",
      -        "type": "string"
      -      },
      -      "workflowId": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "workflowId",
      -      "accountIds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "clientOperationId": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "restore_guidance",
      -        "type": "string"
      -      },
      -      "versionId": {
      -        "description": "versionId of a previous node instructions version to restore.",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "versionId"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "approvalMode": {
      +        "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed.",
      +        "enum": [
      +          "manual_review",
      +          "auto_when_confident",
      +          "automatic"
      +        ],
      +        "type": "string"
      +      },
      +      "campaignId": {
      +        "type": "string"
      +      },
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "description": {
      +        "type": "string"
      +      },
      +      "graph": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "anchorEdges": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "label": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "targetIndex": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "targetIndex",
      +                "label"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 200,
      +            "type": "array"
      +          },
      +          "edges": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "condition": {},
      +                "label": {
      +                  "type": "string"
      +                },
      +                "sourceIndex": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "targetIndex": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "sourceIndex",
      +                "targetIndex"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 200,
      +            "type": "array"
      +          },
      +          "nodes": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "config": {
      +                  "default": {}
      +                },
      +                "existingNodeId": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "label": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "nodeType": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "position": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "x": {
      +                      "type": "number"
      +                    },
      +                    "y": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [
      +                    "x",
      +                    "y"
      +                  ],
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "nodeType",
      +                "label"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 100,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "nodes",
      +          "edges"
      +        ],
      +        "type": "object"
      +      },
      +      "name": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "create",
      +        "type": "string"
      +      },
      +      "sourceConfig": {
      +        "additionalProperties": {},
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "name",
      +      "sourceConfig",
      +      "graph"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "approvalMode": {
      +        "$ref": "#/properties/operations/items/anyOf/0/properties/approvalMode",
      +        "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed."
      +      },
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "description": {
      +        "type": "string"
      +      },
      +      "emailGoogleAccountId": {
      +        "anyOf": [
      +          {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "set_meta",
      +        "type": "string"
      +      },
      +      "outreachIntents": {
      +        "items": {
      +          "additionalProperties": {},
      +          "type": "object"
      +        },
      +        "maxItems": 20,
      +        "type": "array"
      +      },
      +      "workflowId": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "workflowId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "enabled": {
      +        "type": "boolean"
      +      },
      +      "op": {
      +        "const": "set_enabled",
      +        "type": "string"
      +      },
      +      "workflowId": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "workflowId",
      +      "enabled"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "accountIds": {
      +        "items": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 25,
      +        "type": "array"
      +      },
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "set_linkedin_accounts",
      +        "type": "string"
      +      },
      +      "workflowId": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "workflowId",
      +      "accountIds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "clientOperationId": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "restore_guidance",
      +        "type": "string"
      +      },
      +      "versionId": {
      +        "description": "versionId of a previous node instructions version to restore.",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "versionId"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Workspace ID. REQUIRED for a user key (csu_), which spans every workspace you belong to; omitted for a workspace key (cs_), which is bound to one and ignores this argument. campaignstack_whoami reports which kind of key you are holding and, for a user key, the workspaces it can reach."New value: +"Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too."
  5. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), it discloses batch semantics ("Each operation returns independently", partial failures reported rather than a blanket success), that an imported workflow is created paused with no accounts and no lead source, that whole-file validation lists every problem, and that the result enumerates what must be set before set_enabled succeeds. It also explains concrete side effects of automatic mode, such as review steps in non-signal graphs continuing to wait.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Everything present is substantive, and the operation list is front-loaded, but the body is delivered as one very long run-on sentence that mixes operation inventory, scoping rule for the sibling tool, and the versionId lookup hint. A short structured listing of operations would scan far faster without losing content.

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

Completeness5/5

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

With an output schema present, return values need no prose, yet the description still covers the practical gaps an agent would hit: batch limits, per-item failure semantics, validation behavior for whole-file imports, permission requirements, and the paused state of newly created workflows. Nothing needed to call it correctly is missing.

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 schema already carries the parameter documentation and a 3 is the baseline. The description adds real value on top by locating the source of restore_guidance's versionId and by framing operations as a bounded batch with per-item results, 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 names a specific verb (edit) and resource (workflow) and then enumerates the concrete sub-operations it covers: create from a graph or exported file, metadata edits, approvalMode, enable/pause, LinkedIn account pools, email sender, outreach intents, and guidance restore. It explicitly routes graph mutations to campaignstack_edit_workflow_graph, so an agent can separate this tool from its closest sibling without opening a 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 gives explicit routing guidance (graph changes go to campaignstack_edit_workflow_graph) and points restore_guidance at versionIds obtained via campaignstack_get_workflows include.guidanceHistory. It also states a conditional rule for the riskiest option — set approvalMode=automatic only when the user asked for unreviewed sends — plus the owner/admin restriction and the omit-to-keep behavior.

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