Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

update_template_version

Idempotent

Update a campaign's email template version by changing its subject, HTML or plain-text body, or version notes using the campaign and version IDs.

Instructions

Update a template version.

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": "update_template_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoVersion notes or changelog.
subjectNoEmail subject line.
html_bodyNoHTML body content.
text_bodyNoPlain text body content.
version_idYesTemplate version ID.
campaign_idYesCampaign ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.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 that — no mention of which fields are editable after publishing, whether updates affect live traffic, or what happens to omitted fields. It does not contradict the annotations, but it contributes no behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no wasted words, but that brevity comes from under-specification rather than efficiency. There is nothing front-loaded because there is essentially no content.

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

Completeness1/5

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

For a six-parameter mutation tool with no output schema, the description provides no information about which fields are updatable, whether partial updates are supported, or how version state interacts with the update. Annotations cover mutability but not the operational details an agent needs to call this correctly.

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%, with all six parameters (campaign_id, version_id, subject, html_body, text_body, notes) documented in the schema itself. The description adds no meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Update a template version" restates the tool name with no added specificity. It does not say what aspects of the version are mutable or how it differs from siblings such as create_template_version, promote_template_version, or rollback_template_version, all of which also act on template versions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of prerequisites (e.g., that a draft/unpublished version is required), and no routing to the promote/rollback/canary siblings. The agent must infer usage entirely from the name and schema.

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