Skip to main content
Glama

rename_email_template

Destructive

Rename an email template without changing its subject, content, scope or ID. Does not send email.

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": {
      "target": "<target>",
      "name": "<name>"
    },
    "name": "rename_email_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
targetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / target / properties / designId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / target / properties / kind / enum
      Previous value: -[
      -  "page",
      -  "email"
      -]New value: +[
      +  "page",
      +  "email",
      +  "wallet",
      +  "apple-wallet",
      +  "google-wallet"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / expectedRevision
      Removed value: -{
      -  "type": "integer"
      -}
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "target",
      -  "name",
      -  "expectedRevision"
      -]New value: +[
      +  "target",
      +  "name"
      +]
  3. First observed

TDQS

B3.3/5.0
Behavior4/5

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

The annotations already declare a mutating (readOnlyHint=false), non-idempotent, destructive operation, so the description's job is mainly to bound the blast radius — and it does: the rename leaves subject, content, scope and ID intact and does not trigger sending, which is meaningful for an email artifact that can be dispatched. It stops short of explaining reversibility (does the old name still resolve?), what the destructiveHint actually destroys, or any permission requirements.

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?

Two short sentences, verb and resource front-loaded, with the no-side-effect clause placed where it matters most. Nothing is redundant, though the enumeration of "subject, content, scope or ID" is slightly padded for the amount of information conveyed.

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 destructive, non-idempotent mutation over a required nested target object with zero field documentation and no output schema, the description leaves essential calling details unanswered: how to identify the template (emailId vs designId vs draftId) and whether non-email kinds are valid. The behavioral bounding is good, but the invocation surface is under-specified relative to the tool's complexity.

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 0% and the target parameter is a nested object offering seven sub-fields across five kind values (page, email, wallet, apple-wallet, google-wallet), yet the description mentions none of this and never clarifies that `name` is the new name. An agent reading only the description would not know that non-email targets are accepted or which identifier field to populate for a given kind.

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 gives a specific verb+resource ("Rename an email template") and bounds the operation by naming what it leaves untouched (subject, content, scope, ID). It is clear at a glance and distinguishable from send/create siblings by the resource, but it never explicitly routes against near-name siblings like rename_page or rename_wallet_design, which the target enum suggests overlap with.

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?

Usage context is only implied: the negations "without changing its subject, content, scope or ID" and "Does not send email" tell an agent this is a metadata-only edit rather than a send or content edit. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g., edit_email_document for content changes, rename_page for pages), and no prerequisites are stated.

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.