Skip to main content
Glama

Create a newsletter draft

create_newsletter

Saves a new newsletter draft from plain fields (subject, title, introduction, sections, button). Nothing is sent. This action uses the supplied content without AI generation or template selection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlNoOptional: a full HTML body instead of the blocks (it is sanitized; the brand header, address and unsubscribe footer are added).
nameYesInternal name.
titleYesThe headline.
ctaUrlYesButton link (https).
layoutNo
eyebrowNoSmall line above the title.
signoffNoClosing line.
subjectYesSubject line.
audienceNoWho it goes to: contacts in ANY (match "any") or ALL (match "all") of the included segments, tags and filters, minus the excluded ones. Nothing included means every contact of the product. Consent and suppressions are always applied on top.
ctaLabelYesButton label.
sectionsNoBody sections, each with a heading and body text.
subjectBNoOptional second subject for an A/B test (half the audience gets each).
preheaderNoPreview text after the subject.
productIdNoProduct id from list_products.
introductionYesOpening paragraph(s). {{first_name}} and other merge tags work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered. The description usefully adds that nothing is sent (draft-only) and that content is used verbatim with no AI generation or template selection — real behavioral context beyond the annotations. It stops short of noting auth/consent implications or limits on repeated calls.

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?

Three tight sentences, zero filler, with the core action front-loaded and the draft-only/no-AI caveats immediately following. Every sentence carries distinct information.

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 15-parameter mutation tool with a nested audience object and no output schema, the description covers the essential semantics (draft, no send, no AI). It omits any mention of audience targeting or productId, but those are documented thoroughly in the schema, so the gap is minor.

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 93%, so the schema already documents nearly every parameter, including the rich nested audience filters. The description only lists a handful of content fields (subject, title, introduction, sections, button) and adds no syntax or format detail, so baseline 3 is appropriate.

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 ("Saves a new newsletter draft from plain fields") and enumerates the content fields it consumes, so the agent knows exactly what it produces. It also distinguishes its behavior from AI/template-driven siblings ("without AI generation or template selection"), though it never names generate_newsletter explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Nothing is sent" and "without AI generation or template selection" imply this is the tool for author-supplied content versus AI drafting, and that a send step is separate. However, no sibling is named and there is no explicit when-to-use/when-not statement or prerequisite guidance, leaving the alternative-selection decision 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