Skip to main content
Glama

nitro_compose_campaign

Destructive

Draft email/SMS broadcasts. Guided email: generate with authoring.kind=guided, goal and idempotency_key. Use intent to choose a layout first. Finished email: draft with authoring.kind=template, blocks or html. Patch preserves omissions; replace needs campaign_id+confirm. Automation: nitro_compose_flow.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "nitro_compose_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
goalNo
modeNocreate
nameNo
factsNoLiteral evidence: required values must appear; available values may be used.
themeNo
channelNoemail
confirmNo
dry_runNo
subjectNo
audienceNoTarget audience; all_contacts must be explicit.
categoryNo
reply_toNo
sectionsNoBlocks from nitro://schema.
authoringNo
from_nameNo
layout_idNoPin a guided layout or choose one from intent.
preheaderNo
draft_metaNoOptional; never blocks.
from_emailNo
if_versionNoRequired version for edits.
campaign_idNo
contract_idNo
renegotiateNo
source_textNoUntrusted source evidence; put authoring directions in user_instruction.
template_idNo
scheduled_atNo
validate_onlyNo
content_formatNo
idempotency_keyNoRequired for non-dry-run persistence; exact retry only.
plain_text_modeNo
section_updatesNoSame entries as nitro_manage_template section_updates.
composition_modeNo
user_instructionNo
brand_context_refNo
creative_route_idNo
expected_brand_sidNo
design_mode_overrideNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / expected_brand_sid
      Added value: +{
      +  "type": "string"
      +}
  2. Changed18 schema fields changed
    • removedInput schema / properties / audience / properties / contact_list_id / description
      Removed value: -"Deprecated single list id."
    • removedInput schema / properties / audience / properties / exclude_contact_list_ids / description
      Removed value: -"Suppressed list ids; [] clears."
    • removedInput schema / properties / audience / properties / exclude_segment_ids / description
      Removed value: -"Suppressed segment ids; [] clears."
    • addedInput schema / properties / authoring
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "kind": {
      +      "enum": [
      +        "guided",
      +        "template",
      +        "blocks",
      +        "html"
      +      ],
      +      "type": "string"
      +    },
      +    "layout_id": {
      +      "type": "string"
      +    },
      +    "preheader": {
      +      "type": "string"
      +    },
      +    "sections": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "source": {
      +      "additionalProperties": false,
      +      "description": "Exactly one of html or file_id.",
      +      "properties": {
      +        "file_id": {
      +          "type": "string"
      +        },
      +        "html": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "subject": {
      +      "type": "string"
      +    },
      +    "template_id": {
      +      "type": "integer"
      +    },
      +    "template_version": {
      +      "type": "integer"
      +    },
      +    "values": {
      +      "description": "Values keyed by the chosen layout's slot IDs.",
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "kind"
      +  ],
      +  "type": "object"
      +}
    • removedInput schema / properties / category / description
      Removed value: -"Email job used to select a baseline."
    • removedInput schema / properties / channel / description
      Removed value: -"Immutable after creation."
    • removedInput schema / properties / composition_mode / description
      Removed value: -"intent plans; validate checks; draft persists; generate composes and persists."
    • removedInput schema / properties / content_format / description
      Removed value: -"Match source."
    • changedInput schema / properties / content_format / enum
      Previous value: -[
      -  "designed",
      -  "plain"
      -]New value: +[
      +  "designed",
      +  "plain",
      +  "html"
      +]
    • removedInput schema / properties / creative_route_id / description
      Removed value: -"Intent-only route id."
    • changedInput schema / properties / draft_meta / description
      Previous value: -"Optional authoring provenance; never blocks."New value: +"Optional; never blocks."
    • changedInput schema / properties / if_version / description
      Previous value: -"Version token for conflict-safe writes."New value: +"Required version for edits."
    • addedInput schema / properties / layout_id
      Added value: +{
      +  "description": "Pin a guided layout or choose one from intent.",
      +  "type": "string"
      +}
    • removedInput schema / properties / name / description
      Removed value: -"Campaign name; required when creating."
    • removedInput schema / properties / plain_text_mode / description
      Removed value: -"Text provenance."
    • removedInput schema / properties / scheduled_at / description
      Removed value: -"ISO 8601 delivery time."
    • changedInput schema / properties / sections / description
      Previous value: -"Email design sections; requires subject. Images accept public or nitro_ingest media_url/image_url, never raw signed_id."New value: +"Blocks from nitro://schema."
    • removedInput schema / properties / theme / description
      Removed value: -"Brand-theme overrides. logo_url must be public or a nitro_ingest media_url/image_url, never raw signed_id."
  3. Changed6 schema fields changed
    • removedInput schema / properties / audience / properties / audience_type / description
      Removed value: -"lists, segment, or all_contacts."
    • changedInput schema / properties / channel / description
      Previous value: -"email or sms; immutable after creation."New value: +"Immutable after creation."
    • changedInput schema / properties / creative_route_id / description
      Previous value: -"Intent-only route id; unavailable or invalid routes fail explicitly."New value: +"Intent-only route id."
    • changedInput schema / properties / draft_meta / description
      Previous value: -"Optional authoring provenance; never blocks validation or persistence."New value: +"Optional authoring provenance; never blocks."
    • removedInput schema / properties / mode / description
      Removed value: -"create a draft; patch supplied fields; replace all draft state and requires confirm."
    • removedInput schema / properties / validate_only / description
      Removed value: -"Alias for validate; never persists."
  4. Changed1 schema field changed
    • addedInput schema / properties / section_updates
      Added value: +{
      +  "description": "Same entries as nitro_manage_template section_updates.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  5. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description adds genuinely new behavior by explaining that patch preserves omitted fields while replace requires campaign_id plus confirm, which is exactly the information an agent needs before a destructive call. It omits what replace actually destroys and never mentions dry_run/validate_only, but the mode semantics are a real contribution beyond the annotations.

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?

Six short sentences, purpose front-loaded, and every clause encodes routing or mode information rather than filler. The telegraphic style is occasionally cryptic ("Use intent to choose a layout first" relies on the reader mapping 'intent' to the composition_mode enum value), but nothing is redundant.

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

Completeness2/5

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

For a 38-parameter, deeply nested, destructive authoring tool with no output schema and no return-value documentation, this description is far too thin. It never explains validation flow (validate_only, dry_run, validate_only vs non-dry-run persistence), audience targeting, or scheduling, so an agent can execute the authoring path but not confidently configure the rest of a campaign.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 24% across 38 parameters, so the description carries most of the burden and only partially discharges it. It explains authoring.kind, goal, idempotency_key, layout selection, mode, campaign_id, and confirm, but leaves large clusters undocumented in both places: channel, audience, scheduled_at, facts, theme, sections, content_format, and composition_mode.

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?

"Draft email/SMS broadcasts" gives a specific verb and resource, and the closing "Automation: nitro_compose_flow" distinguishes this authoring tool from its automation sibling. It stops short of a single crisp statement of what a 'campaign' object is (draft persistence vs. send), leaving some ambiguity about the artifact produced.

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?

It routes between three concrete paths: guided email (authoring.kind=guided with goal/idempotency_key), finished email (authoring.kind=template, blocks, or html), and automation (nitro_compose_flow). Mode guidance is also present (patch preserves omissions, replace needs campaign_id+confirm). It does not cover edge cases like when to use validate_only/dry_run or when a template should go through nitro_manage_template instead.

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.