Skip to main content
Glama

Ranla

Get template

get_template
Read-only

Get a template by id or alias.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoTemplate id
aliasNoPublished alias (alternative to id)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • 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