Skip to main content
Glama

campaignstack_edit_signal_agent

Destructive

Create signal agents, update their account assignment or script, pause/resume them, replace their additive exclusions, or restore a previous agentScript version (restore_guidance, using a versionId from campaignstack_get_signal_agents include.guidanceHistory). Setting status to 'archived' runs the same permanent removal as campaignstack_delete_signal_agent and requires confirmed:true on that operation. Batch edits are bounded. Return one result per requested item, and report partial failures instead of describing the whole batch as successful.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationsYes
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

TableJSON Schema
NameRequiredDescriptionDefault
resultsNo
warningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / operations / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "accountIds": {
      -        "items": {
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 25,
      -        "type": "array"
      -      },
      -      "actAccountIds": {
      -        "items": {
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 25,
      -        "type": "array"
      -      },
      -      "mode": {
      -        "const": "create",
      -        "type": "string"
      -      },
      -      "name": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "publicReplyConfig": {
      -        "additionalProperties": {
      -          "type": "boolean"
      -        },
      -        "type": "object"
      -      },
      -      "responseMode": {
      -        "enum": [
      -          "auto_send",
      -          "review_first"
      -        ],
      -        "type": "string"
      -      },
      -      "silenceHours": {
      -        "type": "number"
      -      },
      -      "target": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "kind": {
      -                "const": "profile",
      -                "type": "string"
      -              },
      -              "platform": {
      -                "const": "linkedin",
      -                "type": "string"
      -              },
      -              "url": {
      -                "type": "string"
      -              },
      -              "urn": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "platform",
      -              "kind",
      -              "urn"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "groupId": {
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "kind": {
      -                "const": "group",
      -                "type": "string"
      -              },
      -              "platform": {
      -                "const": "linkedin",
      -                "type": "string"
      -              },
      -              "url": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "platform",
      -              "kind",
      -              "url",
      -              "groupId"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "activityId": {
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "kind": {
      -                "const": "post",
      -                "type": "string"
      -              },
      -              "platform": {
      -                "const": "linkedin",
      -                "type": "string"
      -              },
      -              "url": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "platform",
      -              "kind",
      -              "url",
      -              "activityId"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "targetName": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "type": {
      -        "enum": [
      -          "profile_feed",
      -          "company_feed",
      -          "group_watch",
      -          "post_engagement"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "name",
      -      "type",
      -      "target",
      -      "targetName",
      -      "responseMode",
      -      "accountIds",
      -      "actAccountIds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "accountIds": {
      -        "items": {
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 25,
      -        "type": "array"
      -      },
      -      "actAccountIds": {
      -        "items": {
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 25,
      -        "type": "array"
      -      },
      -      "agentId": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "agentScript": {
      -        "type": "string"
      -      },
      -      "mode": {
      -        "const": "update",
      -        "type": "string"
      -      },
      -      "name": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "publicReplyConfig": {
      -        "additionalProperties": {
      -          "type": "boolean"
      -        },
      -        "type": "object"
      -      },
      -      "responseMode": {
      -        "enum": [
      -          "auto_send",
      -          "review_first"
      -        ],
      -        "type": "string"
      -      },
      -      "silenceHours": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "agentId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "agentId": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "confirmDelete": {
      -        "description": "Required (must be true) when status is 'archived': archiving here runs the same permanent removal as campaignstack_delete_signal_agent. This permanently deletes a root record. Before calling it, name exactly what will be deleted, explain that it cannot be undone, and wait for an explicit yes.",
      -        "type": "boolean"
      -      },
      -      "mode": {
      -        "const": "set_status",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "active",
      -          "paused",
      -          "archived"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "agentId",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "agentId": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "exclusions": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "config": {},
      -            "enabled": {
      -              "default": true,
      -              "type": "boolean"
      -            },
      -            "id": {
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "state": {},
      -            "type": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "type"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "mode": {
      -        "const": "set_exclusions",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "agentId",
      -      "exclusions"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mode": {
      -        "const": "restore_guidance",
      -        "type": "string"
      -      },
      -      "versionId": {
      -        "description": "versionId of a previous agentScript version to restore.",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "versionId"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "accountIds": {
      +        "items": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 25,
      +        "type": "array"
      +      },
      +      "actAccountIds": {
      +        "items": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 25,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "const": "create",
      +        "type": "string"
      +      },
      +      "name": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "publicReplyConfig": {
      +        "additionalProperties": {
      +          "type": "boolean"
      +        },
      +        "type": "object"
      +      },
      +      "responseMode": {
      +        "enum": [
      +          "auto_send",
      +          "review_first"
      +        ],
      +        "type": "string"
      +      },
      +      "silenceHours": {
      +        "type": "number"
      +      },
      +      "target": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "kind": {
      +                "const": "profile",
      +                "type": "string"
      +              },
      +              "platform": {
      +                "const": "linkedin",
      +                "type": "string"
      +              },
      +              "url": {
      +                "type": "string"
      +              },
      +              "urn": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "platform",
      +              "kind",
      +              "urn"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "groupId": {
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "kind": {
      +                "const": "group",
      +                "type": "string"
      +              },
      +              "platform": {
      +                "const": "linkedin",
      +                "type": "string"
      +              },
      +              "url": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "platform",
      +              "kind",
      +              "url",
      +              "groupId"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "activityId": {
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "kind": {
      +                "const": "post",
      +                "type": "string"
      +              },
      +              "platform": {
      +                "const": "linkedin",
      +                "type": "string"
      +              },
      +              "url": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "platform",
      +              "kind",
      +              "url",
      +              "activityId"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "targetName": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": {
      +        "enum": [
      +          "profile_feed",
      +          "company_feed",
      +          "group_watch",
      +          "post_engagement"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "name",
      +      "type",
      +      "target",
      +      "targetName",
      +      "responseMode",
      +      "accountIds",
      +      "actAccountIds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "accountIds": {
      +        "items": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 25,
      +        "type": "array"
      +      },
      +      "actAccountIds": {
      +        "items": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 25,
      +        "type": "array"
      +      },
      +      "agentId": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "agentScript": {
      +        "type": "string"
      +      },
      +      "mode": {
      +        "const": "update",
      +        "type": "string"
      +      },
      +      "name": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "publicReplyConfig": {
      +        "additionalProperties": {
      +          "type": "boolean"
      +        },
      +        "type": "object"
      +      },
      +      "responseMode": {
      +        "enum": [
      +          "auto_send",
      +          "review_first"
      +        ],
      +        "type": "string"
      +      },
      +      "silenceHours": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "agentId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "agentId": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "confirmed": {
      +        "description": "Required (must be true) when status is 'archived': archiving here runs the same permanent removal as campaignstack_delete_signal_agent. This permanently deletes a root record. Before calling it, name exactly what will be deleted, explain that it cannot be undone, and wait for an explicit yes.",
      +        "type": "boolean"
      +      },
      +      "mode": {
      +        "const": "set_status",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "active",
      +          "paused",
      +          "archived"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "agentId",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "agentId": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "exclusions": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "config": {},
      +            "enabled": {
      +              "default": true,
      +              "type": "boolean"
      +            },
      +            "id": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "state": {},
      +            "type": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "type"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "const": "set_exclusions",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "agentId",
      +      "exclusions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "mode": {
      +        "const": "restore_guidance",
      +        "type": "string"
      +      },
      +      "versionId": {
      +        "description": "versionId of a previous agentScript version to restore.",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "versionId"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. 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."
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, but the description adds meaningful context: archiving is 'permanent removal' equal to the delete tool and requires confirmed:true, plus batch edits are bounded and partial failures must be reported rather than masked. This goes beyond the structured fields, though the confirmed:true detail is also present in the schema.

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?

Three dense sentences, front-loaded with the operation list, then the destructive/restore caveats, then batch-return behavior. Efficient and every sentence carries information, though the phrasing is somewhat packed.

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?

An output schema exists, so return values need not be detailed, yet the description still specifies one result per item and partial-failure reporting. Combined with the destructive confirmation guidance, it is complete enough for a complex multi-mode mutation tool, with only minor gaps around per-mode constraint limits.

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?

Top-level schema coverage is 50% and the operations array is documented only by structure, so the description compensates by explaining what each mode does and where versionId originates (get_signal_agents include.guidanceHistory). It adds semantics 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 the resource (signal agents) and enumerates every supported operation mode: create, update account/script, pause/resume, replace exclusions, and restore a prior agentScript version. It explicitly distinguishes the archive path from campaignstack_delete_signal_agent, so an agent can tell it apart from siblings 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 Guidelines4/5

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

It routes the agent to sibling tools for context: restore_guidance needs a versionId from campaignstack_get_signal_agents include.guidanceHistory, and status 'archived' is equated with campaignstack_delete_signal_agent. Clear conditions are given, though it does not enumerate when NOT to use this tool for the create/update modes.

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