Skip to main content
Glama

Add an email step

add_step

Append an email step to a draft or paused campaign. subject may be empty on follow-ups (they reply in the same thread); body is the email text, with {{first_name}}, {{company}} and custom field snippets. delay_days = days after the previous step (step 1 always sends at start). content_format plain (default) or html. Returns the full step list.

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": {
      "id": "<id>"
    },
    "name": "add_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCampaign id (uuid).
bodyNo
nameNoOptional step label shown in the editor.
subjectNo
delay_daysNo
content_formatNo
append_signatureNoAppend the mailbox signature (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds genuinely new behavior: the draft/paused precondition, that empty subject is valid on follow-ups because replies thread, and that the tool returns the full step list. It stops short of saying what error occurs if the campaign is active.

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?

Dense and front-loaded – the operation and its precondition come first, then per-field semantics, then the return value. The tenses are slightly telegraphic but no sentence is wasted; it is appropriately sized for seven parameters.

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?

Given seven parameters, no output schema, and partial schema descriptions, the definition is close to complete: it explains the operation, the precondition, the return value, and the non-obvious parameters. A modest gap remains around failure behavior when the campaign is not a draft or paused and around whether append_signature can be disabled per step.

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 only 43%, so the description must compensate and mostly does: it defines delay_days as days after the previous step, content_format values with the plain default, body as the email text with merge snippets, and when subject may be empty. It adds no meaning for id or append_signature, which the schema already documents.

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 (append) and resource (email step) plus the scope constraint: it must target a draft or paused campaign. The verb is distinct enough from delete_step/update_step that an agent can route correctly without opening the schema.

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?

Gives a real applicability precondition (draft or paused campaign only), which is useful. However it never names an alternative (e.g., update_step for editing an existing step) or says what to do when the campaign is not in a draft/paused state, so when-not guidance is implied rather than stated.

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.