Skip to main content
Glama

The Marketing Vault

Write email copy

write_email_copy

Creates email sequences, email strategy or subject lines, preview text and hooks. Output is saved to the Library and uses one generation. Nothing is sent or published.

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": {
      "template": "<template>",
      "details": "<details>"
    },
    "name": "write_email_copy"
  }
}

Input Schema

NameRequiredDescriptionDefault
offerNoOffer for the selected template.
detailsYesWhat the user wants, including supplied source text, goals or constraints.
audienceNoAudience for the selected template.
templateYesemail-sequence: Write an email sequence. email-strategy: Plan an email campaign. subject-preview-hook: Improve email subjects, previews and hooks.
list_sizeNoNumber of email recipients.
timeframeNoTimeframe for the selected template.
email_bodyNoEmail body for the selected template.
constraintsNoConstraints for the selected template.
current_hookNoCurrent hook for the selected template.
primary_goalNoPrimary goal for the selected template.
campaign_goalNoCampaign goal for the selected template.
sequence_typeNoSequence type for the selected template.
current_previewNoCurrent preview for the selected template.
current_subjectNoCurrent subject for the selected template.
audience_segmentNoAudience segment for the selected template.
business_profile_idNoBusiness profile id. Required when the account has multiple Businesses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-redundant context: output is persisted to the Library, it consumes exactly one generation (quota/credit cost), and nothing is sent or published. It does not cover what the response looks like or whether regenerating overwrites the saved item.

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?

Two sentences, both front-loaded with the highest-value facts: what is produced first, then side effects and cost. Nothing is repeated from the title and every clause carries information an agent would otherwise have to guess.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter tool with only 2 required fields and no output schema, the definition covers the cost and persistence model well but omits how the many optional fields relate to the chosen template. It also does not say what the caller receives back (an id, a URL, the generated text), which matters given there is no 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 each of the 16 properties is already documented in-schema. The description adds no field-level meaning beyond what the schema provides, such as which parameters are only relevant for a given template. Baseline 3 applies when the schema carries the semantics.

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?

Uses a concrete verb ('Creates') with a specific resource set: email sequences, strategy, subject lines, preview text, hooks. The three outputs map directly to the template enum, so an agent can tell what it produces. It stops short of explicitly distinguishing itself from near-siblings like improve_existing_copy or write_ad_copy, which is the only thing keeping it from a 5.

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?

Usage is implied through the enumerated output types rather than stated as guidance. There is no explicit 'use this when... instead of write_ad_copy / improve_existing_copy' routing, and no stated prerequisites such as when business_profile_id must be supplied. The agent must infer selection from the template list.

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