Skip to main content
Glama

Send approved follow-ups

send_followup

Queue approved follow-up drafts for one ended webinar and send them only to its eligible registrants; preview with dry_run and get skip reasons.

Instructions

Queue the approved follow-up drafts of one webinar for sending (all approved ones, or only registration_ids, max 500). Only to that webinar's own registrants, only when the webinar has emails on. Per registrant: queued, or skipped with reason not_approved, already_sent, no_draft, emails_disabled, notify_off, unsubscribed or suppressed. Mails go out within a minute through the normal outbox (daily cap and bounces apply). Only after the webinar ended: before that it fails with not_ended; drafts and approvals can be prepared earlier. Try dry_run first.

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": {
      "webinar_id": "<webinar_id>"
    },
    "name": "send_followup"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNotrue: validate and show what would happen without changing anything
webinar_idYesWebinar id (UUID) from list_webinars or create_webinar
idempotency_keyNoAny unique string; retrying with the same key and arguments within 24 h returns the first answer instead of doing it twice
registration_idsNoDefault: every approved draft of the webinar

Output Schema

NameRequiredDescriptionDefault
dataNo
resultYes
statusNo
changesNo
dry_runNo
messageNo
error_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/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 burden and does so: it discloses the recipient restriction (only that webinar's own registrants), the emails-on gate, per-registrant outcomes including every skip reason, delivery timing (within a minute via the normal outbox), and the daily-cap/bounce constraints. It also flags the destructive precondition that nothing is sent before the webinar ends.

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 action and scope, then prerequisites and failure modes in short clauses; nearly every sentence carries information. The parenthetical skip-reason list is dense but justified for an agent predicting per-item outcomes, though the passage is longer than strictly needed.

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 mutation tool with no annotations and an existing output schema, the description covers everything an agent needs: preconditions, recipient scoping, side effects, timing, per-item results, and a safe validation path via dry_run. Return-value detail can be left to the output schema.

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 description coverage is 100%, so dry_run, idempotency, webinar_id and registration_ids are already documented in the schema, including the 500-item cap and the default of every approved draft. The description restates that default and scope but adds no format or edge-case semantics beyond what the schema supplies, so the baseline of 3 applies.

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 (queue ... for sending), the exact resource (approved follow-up drafts of one webinar) and the scope (all approved, or only registration_ids, max 500). An agent can immediately distinguish this from drafting or approving follow-ups, which the description implies happen earlier.

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 explicit when-to-use context (only after the webinar ended; drafts and approvals can be prepared earlier) and a clear precondition failure mode (not_ended), plus the directive to try dry_run first. It does not, however, name sibling alternatives such as send_test_email or approve_followup, so routing between tools is left partly to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.