Skip to main content
Glama

Ranla

Publish template

publish_template

Publish a template, snapshotting an immutable version for sends.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoTemplate id
aliasNoTemplate alias (alternative to id)
labelNoOptional name for this version in the template history

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / alias / description
      Added value: +"Template alias (alternative to id)"
    • addedInput schema / properties / id / description
      Added value: +"Template id"
    • 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