Skip to main content
Glama

AI SDR Kit by Zevari

campaigns_update_status

Change campaign lifecycle state. Draft/paused may activate through confirmation; active may pause, complete, or fail. Terminal and processing campaigns cannot reactivate and return CAMPAIGN_INVALID_STATUS_TRANSITION; create a new campaign for terminal recovery. Pause for definition/content edits; active continuous campaigns accept recipients directly through campaigns_add_targets.

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>",
      "status": "<status>"
    },
    "name": "campaigns_update_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYesNew status
campaign_idYesCampaign ID
fail_reasonNo
confirmation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden well: it names the valid transition graph, states that activation requires confirmation, and surfaces the exact error code CAMPAIGN_INVALID_STATUS_TRANSITION with a recovery path (create a new campaign). It omits permission requirements, idempotency, and what happens to in-flight targets on pause/fail.

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

Conciseness4/5

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

Front-loaded with the core action, then transition rules, then error handling, then the pause-vs-active guidance. Dense but each sentence adds a distinct rule; the final sentence is slightly packed with two separate ideas.

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

Completeness4/5

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

For a mutation tool with no annotations and no output schema, this covers the critical decision inputs: valid transitions, the confirmation gate, failure behavior, and recovery. The main remaining gap is the undefined fail_reason parameter and confirmation_id mechanics.

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

Parameters3/5

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

Schema coverage is 50%, and the description clarifies the status enum's meaning through the transition rules and implies confirmation_id is needed for activation. However, fail_reason and the exact semantics/format of confirmation_id are never explained in either the description or the schema.

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?

States a specific verb ('Change') and resource ('campaign lifecycle state'), which immediately distinguishes it from siblings like campaigns_update_step or campaigns_update_target that also carry 'update' in their names.

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

Usage Guidelines4/5

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

Gives concrete when-to-use rules: pause before definition/content edits, activate from draft/paused, and route recipient additions to campaigns_add_targets instead. Exclusions are covered for terminal/processing campaigns, though it doesn't spell out which sibling to use for other non-status campaign edits.

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.