Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

promote_template_version

Idempotent

Activates a chosen template version for a campaign so the intended email content is used in sends.

Instructions

Promote a template version to active.

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": {
      "campaign_id": "<campaign_id>",
      "version_id": "<version_id>"
    },
    "name": "promote_template_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
version_idYesTemplate version ID.
campaign_idYesCampaign ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond them: it does not say whether a currently active version is displaced, whether the campaign must be in a particular state, or what happens on failure.

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?

One short sentence with zero padding and the action front-loaded. It is efficient, though the terseness leaves the definition carrying little information.

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?

This is a state-changing mutation with no output schema, so the description should explain the resulting state transition and any side effects. It covers only the nominal outcome and omits return values, failure behavior, and interaction with the existing active version.

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 both campaign_id and version_id are already documented in the schema. The description does not add format, relationship, or constraint detail (e.g. that version_id must belong to campaign_id), so baseline 3 applies.

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?

The description states a specific verb (promote) and resource (template version) plus the resulting state (active), so the agent knows exactly what the call accomplishes. It does not, however, distinguish this from sibling operations like canary_template_version or rollback_template_version, which also change a version's state.

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?

The word 'promote' combined with 'to active' implies the usage context of moving a non-active version into production, but there is no explicit when-to-use, no prerequisites, and no mention of when to choose canary or rollback instead.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools