Skip to main content
Glama

Sergio by Serviche

Save a designed campaign email

save_campaign_email
Idempotent

Saves a designed campaign email under a name, as the email builder's Save email does, so any Email step can start from it; sending nothing. The saved email's id IS your idempotency_key: pass a new UUID (hyphens are fine) as idempotency_key, and reuse it when retrying so a repeat updates the same email instead of making a second. blocks is the email's content blocks (the same shape the builder saves); read campaigns' saved_emails to copy an existing one.

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": {
      "name": "<name>",
      "blocks": "<blocks>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "save_campaign_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
blocksYes
subjectNo
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, but the description goes further by explaining exactly what idempotency means here: retrying with the same key updates the same email rather than creating a second. It also discloses that nothing is sent, which is the key behavioral risk for a tool named 'save email' in a campaign context.

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 but front-loaded, leading with what the tool does before the operational detail. The semicolon-chained clauses are information-rich rather than padded, though the idempotency explanation is the longest and could be trimmed slightly.

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 non-read-only save with no output schema, the description covers the side effect (nothing sent), the identity semantics of the saved record, and the shape of the required blocks payload. The only real gap is that it never says what the call returns beyond implying the returned id matches the idempotency key.

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 25%, so the description must compensate, and it does for three of four parameters: name (saved 'under a name'), blocks ('the same shape the builder saves', plus a pointer to saved_emails for copying), and idempotency_key (new UUID, hyphens fine, reuse on retry). Only subject is left to the schema.

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 ('Saves a designed campaign email under a name') and scopes the effect with 'sending nothing', which separates it from send_email and from the general campaign tools. The builder analogy ('as the email builder's Save email does') anchors the behavior to something concrete.

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?

Explains the purpose-driven usage ('so any Email step can start from it') and gives an explicit recipe for copying an existing email via campaigns' saved_emails. It does not explicitly state when-not-to-use it versus siblings such as delete_saved_campaign_email or add_platform_email_preset, so it stops short of full routing guidance.

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