Skip to main content
Glama

Ranla

Create template

create_template

Create a draft email template (html or blocks format). Publish it before sending with it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlNoHTML body (html format). Variables like {{name}} are allowed
nameYesTemplate name shown in the dashboard
textNoPlain-text body
aliasNoStable name to send with (template_alias), e.g. password-reset
formatNohtml for a raw HTML body, or blocks for the dashboard block editor
subjectNoDefault subject line. Variables like {{name}} are allowed

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / alias / description
      Added value: +"Stable name to send with (template_alias), e.g. password-reset"
    • addedInput schema / properties / format / description
      Added value: +"html for a raw HTML body, or blocks for the dashboard block editor"
    • addedInput schema / properties / html / description
      Added value: +"HTML body (html format). Variables like {{name}} are allowed"
    • addedInput schema / properties / name / description
      Added value: +"Template name shown in the dashboard"
    • addedInput schema / properties / subject / description
      Added value: +"Default subject line. Variables like {{name}} are allowed"
    • addedInput schema / properties / text / description
      Added value: +"Plain-text body"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "template": {
      +      "properties": {
      +        "alias": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "category": {
      +          "description": "transactional, product, or newsletter",
      +          "type": "string"
      +        },
      +        "created_at": {
      +          "description": "ISO 8601",
      +          "type": "string"
      +        },
      +        "design": {
      +          "description": "Block design, for blocks templates",
      +          "type": [
      +            "object",
      +            "null"
      +          ]
      +        },
      +        "format": {
      +          "description": "html or blocks",
      +          "type": "string"
      +        },
      +        "html": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "description": "Template id",
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "preheader": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "published_at": {
      +          "description": "ISO 8601",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "published_version_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "description": "draft or published",
      +          "type": "string"
      +        },
      +        "subject": {
      +          "description": "Default subject; empty for a layout-only template",
      +          "type": "string"
      +        },
      +        "text": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "unsubscribe_enabled": {
      +          "type": "boolean"
      +        },
      +        "updated_at": {
      +          "description": "ISO 8601",
      +          "type": "string"
      +        },
      +        "variables": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        },
      +        "warnings": {
      +          "description": "Content problems found in the template",
      +          "items": {
      +            "properties": {
      +              "code": {
      +                "type": "string"
      +              },
      +              "detail": {
      +                "type": "string"
      +              },
      +              "message": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "id"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "template"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources