Skip to main content
Glama

Create website campaign draft

create_website_campaign_draft

Create a DRAFT campaign for sites from list_websites (one project), with the website sequence autopilot's affiliate lane sends unless you pass steps, and an optional schedule. The copy must pass the same check enrolment runs (rendered for a sample site: no links, bare domains, stock phrases, unknown tokens or empty offer), else nothing is created. Website copy personalises with tokens such as {{greeting}}, {{opener}}, {{tease_pitch}}, {{offer_pitch}} and {{signoff}}: get_campaign shows a campaign's templates and preview_campaign_step renders one for a site. DRAFT ONLY: nothing is enrolled or sent; launch_campaign (guarded) starts it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoSending days. Default Mon to Fri.
nameNo
offerNoThe commission the emails promise, e.g. "30% recurring". Default: the program commission in App settings.
stepsNoYour own sequence instead of the default website one.
confirmNoSet true after the user confirmed an action the guard flagged as hard to undo.
hour_toNoWindow end hour, exclusive. Default 17.
site_idsYesSite ids from list_websites, all in one project.
timezoneNoIANA timezone, e.g. "Europe/London". Default America/New_York.
hour_fromNoWindow start hour, 24h, in timezone. Default 9.
daily_limitNoMost emails this campaign sends a day. The mailbox's own daily cap still applies.
followup_gaps_daysNoDay offset of each follow-up from step 1, e.g. [4,14,28,42].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare the basic non-read-only/non-destructive/non-idempotent profile; the description adds substantial behavioral detail beyond them: the copy must pass the same validation enrolment runs (no links, bare domains, stock phrases, unknown tokens, or empty offer) or nothing is created, and it explicitly states DRAFT ONLY with nothing enrolled or sent. This is meaningful, non-obvious behavior disclosure.

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-loads the core action, then layers validation, tokens, and the draft/launch boundary in information-dense sentences with little waste. It is slightly long and packs several distinct topics, but each sentence carries actionable content.

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 an 11-parameter write tool with no output schema, the description covers the critical unknowns: draft-only semantics, validation gating, personalisation tokens, and the launch transition. It defers scheduling detail to the 91%-covered schema, which is reasonable, leaving only minor gaps.

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 91%, so the schema already documents nearly every parameter, making 3 the baseline. The description adds semantic value on tokens ({{greeting}}, {{opener}}, {{offer_pitch}}, etc.) and on the default-sequence-vs-steps behavior, but it does not explain the scheduling parameters (days, hour_from/hour_to, timezone, daily_limit, followup_gaps_days) beyond what the schema provides.

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: 'Create a DRAFT campaign for sites from list_websites (one project)'. It scopes the resource (website campaigns, single project) and distinguishes itself from the generic draft creator by tying inputs to list_websites, so an agent can tell it apart from create_campaign_draft without opening a schema.

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 clear context: use list_websites for site_ids, get_campaign and preview_campaign_step to inspect/render templates, and launch_campaign to actually start sending. It also clarifies the draft-vs-launch boundary. It does not explicitly contrast against the sibling create_campaign_draft, so it stops short of full alternative routing.

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