Skip to main content
Glama

Funkel AI

update_campaign_workflow

Destructive

Update message content on existing steps in a draft or paused campaign. Prefer one-based message_order, which counts only message-bearing steps and automatically skips invite/follow steps: message_order 1, 2, 3 targets the first, second, and third messages even when raw workflow step 1 is an invite. step_order remains available only when an exact raw workflow order is already known. Provide exactly one selector plus the exact message_template for every item. In message_template use only {FirstName}, {LastName}, and {Company} personalization variables. This is a two-phase confirmed action: first call without confirmation_token returns a confirmation card; approved execution applies the exact stored workflow_messages through the campaign service. It never launches or sends. Always include campaign_name and app_name for a human-readable preview. Over MCP: call this tool once, without confirmation_token. It runs right away and returns the result.

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": {
      "campaign_id": "<campaign_id>",
      "campaign_name": "<campaign_name>",
      "app_name": "<app_name>",
      "workflow_messages": "<workflow_messages>"
    },
    "name": "update_campaign_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_nameYesApp name used in the confirmation preview
campaign_idYesCampaign id from a prior list_campaigns result (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)
campaign_nameYesCampaign name used in the confirmation preview
workflow_messagesYesExact message content to persist; prefer message_order 1..N for ordinary campaign copy
confirmation_tokenNoPhase-2 token (omit on phase-1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, and the description adds substantial context beyond them: the two-phase confirmed action, the confirmation card, approved execution persistence, and the explicit 'never launches or sends' guarantee. It also defines allowed personalization variables.

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?

The description is dense but front-loaded with the core action and selector guidance. It is somewhat long, and the final 'Over MCP' paragraph slightly duplicates the two-phase explanation, but most sentences earn their place.

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?

For a destructive, stateful update tool with no output schema, the description covers required preview fields, selector rules, template constraints, confirmation flow, and safety guarantees. An agent has everything needed to invoke it correctly.

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 baseline is 3. The description adds value by explaining selector semantics (one-based message_order skipping invite/follow steps, step_order as a fallback) and the personalization variable constraint, which goes beyond the schema text.

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 states a specific verb and resource ('Update message content on existing steps') and scopes it to draft or paused campaigns, distinguishing it from siblings like update_campaign_settings and pause_campaign.

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 explicitly says when to use message_order versus step_order, requires exactly one selector, and clarifies that the tool never launches or sends. The two-phase confirmation flow is fully described, including the MCP-specific single-call 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