Skip to main content
Glama

Send or schedule a campaign

scheduleCampaign
Destructive

Send a drafted campaign to its audience now, or at a time (sendAt, ISO 8601 with a time zone, in the future). Takes the campaign's broadcastId: draftCampaign gives it. Only a draft or an already scheduled campaign with a subject and content. Use previewSend first to know who it reaches, and sendTestCampaign to see it in an inbox. Sent now, it cannot be called back; a scheduled one can still be changed in Kooga until it goes.

Only for a workspace with subscribed email contacts.

This changes something outside Kooga, so the person confirms it first. Where the app can show the question, it does. Otherwise the first call changes nothing and answers with a question to put to the person word for word, and a confirmToken: call again with the same arguments and that confirmToken only after they said yes.

Input Schema

NameRequiredDescriptionDefault
sendAtNoWhen to send it, ISO 8601 with a time zone; left out, it goes now
sendAsIsNoOnly when the person said to send example text from the layout as it is
broadcastIdYesThe campaign, by its id in Kooga
workspaceIdNoThe workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace.
campaignNameNoWhat the campaign is called, so the person is asked about it by name
confirmTokenNoOnly after the person said yes: the confirmToken this tool answered with when it asked. Never invent one, and never send one the person did not confirm.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructive/openWorld/non-idempotent, and the description adds context well beyond them: sending now cannot be recalled while a scheduled send can still be changed; and it documents the confirmation handshake (first call returns a question plus confirmToken, second call with same args and token executes). This is exactly the behavioral detail an agent needs for an irreversible open-world mutation.

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 and scope, then the confirmation protocol. Dense but each sentence carries information. The confirmation paragraph is a touch long relative to the rest but is warranted by the destructive nature.

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 6-param destructive tool with no output schema, the description covers preconditions, alternatives, irreversibility, and the confirmation handshake return shape. An agent has everything needed to call it correctly in both confirmation modes.

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 baseline is 3, but the description adds genuine meaning: sendAt must be ISO 8601 with a time zone and in the future; broadcastId comes from draftCampaign; and confirmToken must never be invented. It slightly under-explains sendAsIs and campaignName compared to the schema's own descriptions, so not a full 5.

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 pair (send/schedule) and the resource (a drafted campaign to its audience), and scopes it precisely: 'takes the campaign's broadcastId: draftCampaign gives it.' This distinguishes it clearly from draftCampaign, resendCampaign, updateCampaign and previewSend without opening any schema.

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?

Explicit when-to-use and alternatives: 'Use previewSend first to know who it reaches, and sendTestCampaign to see it in an inbox.' Also states preconditions (only a draft or already-scheduled campaign with subject and content; only a workspace with subscribed email contacts). Nothing is left to 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.

Resources