Skip to main content
Glama

Update email template

email_update_template
Idempotent

Update email template by name

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>",
      "explanation": "<explanation>",
      "account": "<account>"
    },
    "name": "email_update_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoBody in Markdown
nameYesTemplate name
layoutNoName of the email layout to render in; empty string for none: the body alone, as a plain email
accountYesAccount (app) UUID; call account_list to find it
enabledNoWhether the template is enabled and can be used to send emails. Only specify if you want to change the current value.
subjectNoSubject
spam_checkNoHave AI classify visitor-supplied email values for spam after sending. Requires Pro or higher; watch mode never holds delivery.
descriptionNoDescription
explanationYesWhy you are making this call, in one sentence for the user.
system_eventNoSystem event trigger
spam_instructionsNoApp owner guidance for the spam classifier, max 500 characters. Trimmed; empty clears guidance. Editing guidance does not require Pro.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/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 a closed-world scope, so the safety profile is covered. The description adds nothing beyond that: no statement of partial-update semantics (only supplied fields change), no mention that a mandatory one-sentence explanation is recorded for the user, and no note about the Pro-gated spam-check option.

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

Conciseness3/5

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

Five words with no padding, so nothing is wasted, but the brevity comes from omission rather than discipline and the single sentence carries no structure. It is short without being informative, which is a different failure than verbosity.

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 mutation tool with 11 parameters, three of them required, and no output schema to fall back on. The description says nothing about partial-update behavior, the required approval-style explanation field, or the account UUID prerequisite that the schema merely points at via account_list.

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 each of the 11 parameters, including the account-lookup hint and the conditional enablement note, is already documented. "By name" confirms name is the identifying key but adds no formatting, uniqueness, or collision-handling detail beyond the schema.

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 email template by name" essentially restates the tool name and title, adding only the word "by name" as a keying hint. It does not distinguish this from closely related siblings such as email_create_template, email_get_template, or email_update_layout, so an agent gets no real signal about what is uniquely modified here.

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 when-not-to-use condition, and no named alternative. The agent must infer on its own that this mutates an existing template rather than creating one, and nothing tells it how this differs from the layout-update sibling.

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