Skip to main content
Glama

AI SDR Kit by Zevari

campaigns_v2_update_lead_message

Campaign V2. Executable steps: connect, message, email_send, view_profile, like_post, comment_on_post, inmail, react_post_comment. MCP tools never send directly; Zevari sends due steps after enroll + approval and send safety checks. scheduled is not sent. Replace the outbound text of one step, guarded by the lead's version (optimistic lock). Before enrollment review it changes a draft step in place. While the lead's batch waits for approval it changes a draft or pending_review step and updates the waiting approval in the same call: show the user the returned approval phrase or link, because the old phrase stops working. After the lead was approved it changes any step no send has reached yet, through a new approval of the new wording (applied at once on Autopilot): show the user the returned link or phrase; until they approve, the lead keeps getting the current message. Sent copy never changes.

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": {
      "step_id": "<step_id>",
      "expected_version": "<expected_version>",
      "message": "<message>"
    },
    "name": "campaigns_v2_update_lead_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesThe new outbound text for this step.
step_idYesStep id (clst_…), from campaigns_v2_pending or campaigns_v2_progress.
expected_versionYesThe lead's current version (from campaigns_v2_progress).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so thoroughly: MCP tools never send directly, scheduled messages are not sent, optimistic locking applies, approval phrases/links are invalidated, Autopilot applies changes immediately, and sent copy is immutable. These disclosures are specific and non-contradictory.

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?

The core action is delayed behind context sentences and an enumeration of executable step types. The remaining text is dense and mostly useful, but the structure is not front-loaded and some campaign-step enumeration is extraneous for this tool.

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?

Given no output schema and a mutation that affects approval state, the description is largely complete: it covers lifecycle effects, approval consequences, locking, and what to show the user. It does not describe version-conflict error behavior or the exact response shape, which are minor remaining gaps.

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 documents all three parameters. The description adds useful meaning beyond the schema: message is the new outbound text, step_id comes from pending/progress tools, and expected_version is the lead's current version used as an optimistic lock.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the specific action: replace the outbound text of one step, guarded by the lead's version using an optimistic lock. It is distinguishable from broader campaign/settings updates, though it does not explicitly name sibling alternatives.

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?

Provides detailed when-to-use behavior across pre-enrollment, pending-approval, and post-approval states, including that sent copy cannot be changed. It does not name alternative tools or state when not to use this tool, which keeps it from a 5.

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.