Skip to main content
Glama

AI SDR Kit by Zevari

campaigns_restore_target

Restore a previously removed campaign lead (unsent leads only). Only valid while the campaign is draft or paused — reactivating the campaign afterwards re-runs full validation and approval, which is what makes the restored lead executable again. Never restores leads that already received sends or targets that ended for any other reason.

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": {
      "target_id": "<target_id>"
    },
    "name": "campaigns_restore_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_idYesRemoved campaign target ID to restore (unsent leads only)

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?

No annotations exist, so the description carries the full load and does it well: it discloses the required campaign state, the consequence of reactivation (full validation and approval re-run), and the eligibility exclusions. It stops short of saying how an ineligible restore fails (error vs. no-op) or what the call returns on success.

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 sentences, purpose front-loaded, every sentence adding a distinct constraint. Minor overlap between the parenthetical '(unsent leads only)' and the closing sentence's 'already received sends', which slightly restates the same eligibility rule.

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 one-parameter, non-destructive-state-changing tool with no annotations and no output schema, this covers preconditions, side effects of adjacent actions, and eligibility. Only the failure mode and return value are left unspecified, which is a small residual gap.

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 100% and the single parameter is described in the schema as 'Removed campaign target ID to restore (unsent leads only)'. The description reinforces the unsent-only constraint but adds no format, sourcing, or lookup guidance beyond what the schema already provides, so the baseline 3 applies.

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 a specific verb and resource ('Restore a previously removed campaign lead') and immediately narrows scope with '(unsent leads only)'. It is clearly the inverse of campaigns_remove_target, so an agent can place it without ambiguity, though no sibling is named explicitly.

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?

Gives an explicit validity window ('Only valid while the campaign is draft or paused') plus the reason reactivation matters, and an explicit exclusion ('Never restores leads that already received sends or targets that ended for any other reason'). When-to-use and when-not-to-use are both covered, leaving little inference.

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.