Skip to main content
Glama

Approve drafted leads (SENDS EMAIL)

approve_leads
Destructive

Approve every reviewed draft in a SINGLE campaign and queue them for sending — the single-campaign equivalent of launching. THIS SENDS REAL EMAIL AND CANNOT BE UNDONE. Requires a confirmation token from get_campaign_readiness, which is bound to the exact set of leads and refused if that set has changed. Leads with no draft, or that are unverified, dead or bounced, are skipped and reported rather than queued. Multi campaigns use launch_campaign instead.

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>",
      "confirmation_token": "<confirmation_token>"
    },
    "name": "approve_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesThe SINGLE campaign whose drafted leads to approve and queue.
confirmation_tokenYesThe token get_campaign_readiness returned for THIS campaign. Tell the user exactly how many drafts will be approved and emailed, and call this only once they have said yes. Single-use, five minutes, and refused if the set of drafted leads has changed since.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructive/non-idempotent, but the description adds real substance: it sends live email, is irreversible, is single-use with a five-minute window bound to an exact lead set, and silently skips ineligible leads ('no draft, unverified, dead or bounced') while reporting them. It stops short of describing what the response contains beyond 'reported'.

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

Conciseness5/5

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

Four tight sentences, front-loaded with the action and the irreversible-email warning, then prerequisites, then edge-case handling, then the sibling alternative. No filler.

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 destructive 2-parameter tool with no output schema, the description covers safety, prerequisites, skip semantics and alternatives. The only gap is the exact shape/contents of the report of skipped leads.

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 schema descriptions already explain the single-campaign constraint and the token's binding, expiry and single-use behavior, so the description largely restates them. Baseline 3 applies since the schema carries the parameter burden.

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 and resource ('Approve every reviewed draft'), narrows scope to one campaign, and explicitly frames itself as the single-campaign equivalent of launching, which distinguishes it from launch_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?

Gives explicit when-to-use (single campaign) versus the named alternative (launch_campaign for multi campaigns), plus prerequisites (token from get_campaign_readiness) and a user-consent gate ('call this only once they have said yes').

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