Skip to main content
Glama

Send Store Template to Display

send_store_template_to_display
DestructiveIdempotent

Installs a published store template onto a display: materializes the HTML, auto-creates required data slots (reusing prior installs) and publishes within seconds. Call get_store_template_install_options first for valid targets and slots; customize per-slot JSON inline via data_slot_overrides (raw JSON string or inline object per key, max 64 KiB each). Requires content scope and control access to the display.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesTemplate slug to install, e.g. 'bistro-warm-door'. Must be a currently published template.
display_idYesDisplay profile ID (8-char alphanumeric) from list_displays or get_store_template_install_options.
access_tokenNoOptional bearer token; prefer session_request_id.
idempotency_keyNoOptional opaque key (max 128 chars) to make this install retry-safe. If a previous successful install for the same (user, display, idempotency_key) tuple exists within 24 hours, the cached result is returned without re-publishing. Use this when an MCP client may retry the call after a network timeout (e.g. ChatGPT and other LLM hosts retry tool calls automatically) so the user doesn't see the display flicker through two near-identical installs. Recommended format: a UUID generated client-side per user request.
session_request_idNoSession handle from create_auth_session; pass it on every authenticated call.
data_slot_overridesNoOptional { key: value } map keyed by data-slot key (see requiredDataSlots). Each value is JSON payload to install into that slot — either a string of raw JSON or an inline object/array. Unknown keys are silently dropped; malformed JSON fails with invalid_slot_override. Per-slot payload capped at 64 KiB, max 64 overrides per call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNameNo
displayIdNo
versionIdNo
templateSlugNo
overrideCountNo
installedSlotsNo
contentVersionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / access_token / description
      Previous value: -"Optional JWT access token."New value: +"Optional bearer token; prefer session_request_id."
    • changedInput schema / properties / session_request_id / description
      Previous value: -"Optional session request ID from create_auth_session. Preferred over access_token."New value: +"Session handle from create_auth_session; pass it on every authenticated call."
  2. Changed14 schema fields changed
    • changedOutput schema / properties / contentVersionId / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / displayId / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / fileName / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / installedSlots / items / properties / groupId / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / installedSlots / items / properties / key / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / installedSlots / items / properties / placeholderName / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / installedSlots / items / properties / readUrl / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / installedSlots / items / properties / slug / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / installedSlots / items / properties / type / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / installedSlots / items / type
      Previous value: -"object"New value: +[
      +  "object",
      +  "null"
      +]
    • changedOutput schema / properties / installedSlots / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / overrideCount / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / templateSlug / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / versionId / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  3. Changed13 schema fields changed
    • removedInput schema / properties / access_token / default
      Removed value: -null
    • changedInput schema / properties / access_token / description
      Previous value: -"Optional JWT access token (use session_request_id instead when possible)."New value: +"Optional JWT access token."
    • changedInput schema / properties / access_token / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • addedInput schema / properties / data_slot_overrides / additionalProperties
      Added value: +true
    • removedInput schema / properties / data_slot_overrides / default
      Removed value: -null
    • changedInput schema / properties / data_slot_overrides / description
      Previous value: -"Optional object keyed by data slot key (see requiredDataSlots from get_store_template_install_options). Each value is the JSON payload to install into that slot, either as a string containing raw JSON or as an inline object/array. Unknown keys are silently dropped; malformed JSON fails with invalid_slot_override. Per-slot payloads are capped at 64 KiB. Example: {\"greeting\": {\"title\":\"Willkommen!\",\"subtitle\":\"Heute geöffnet bis 22 Uhr\"}, \"menu\": \"{\\\"items\\\":[...]}\"}."New value: +"Optional { key: value } map keyed by data-slot key (see requiredDataSlots). Each value is JSON payload to install into that slot — either a string of raw JSON or an inline object/array. Unknown keys are silently dropped; malformed JSON fails with invalid_slot_override. Per-slot payload capped at 64 KiB, max 64 overrides per call."
    • addedInput schema / properties / data_slot_overrides / type
      Added value: +"object"
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Optional opaque key (max 128 chars) to make this install retry-safe. If a previous successful install for the same (user, display, idempotency_key) tuple exists within 24 hours, the cached result is returned without re-publishing. Use this when an MCP client may retry the call after a network timeout (e.g. ChatGPT and other LLM hosts retry tool calls automatically) so the user doesn't see the display flicker through two near-identical installs. Recommended format: a UUID generated client-side per user request.",
      +  "maxLength": 128,
      +  "type": "string"
      +}
    • removedInput schema / properties / session_request_id / default
      Removed value: -null
    • changedInput schema / properties / session_request_id / description
      Previous value: -"Optional session request ID returned by create_auth_session. Preferred."New value: +"Optional session request ID from create_auth_session. Preferred over access_token."
    • changedInput schema / properties / session_request_id / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedInput schema / properties / slug / description
      Previous value: -"The template slug to install, e.g. 'bistro-warm-door'. Must be a currently published template."New value: +"Template slug to install, e.g. 'bistro-warm-door'. Must be a currently published template."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "contentVersionId": {
      +      "type": "string"
      +    },
      +    "displayId": {
      +      "type": "string"
      +    },
      +    "fileName": {
      +      "type": "string"
      +    },
      +    "installedSlots": {
      +      "items": {
      +        "properties": {
      +          "groupId": {
      +            "type": "string"
      +          },
      +          "key": {
      +            "type": "string"
      +          },
      +          "placeholderName": {
      +            "type": "string"
      +          },
      +          "readUrl": {
      +            "type": "string"
      +          },
      +          "slug": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "overrideCount": {
      +      "type": "integer"
      +    },
      +    "templateSlug": {
      +      "type": "string"
      +    },
      +    "versionId": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Description discloses important behaviors: auto-creates data slots reusing prior installs, publishes within seconds, idempotency key behavior (24-hour cache, retry-safety). Annotations indicate destructive and idempotent, and description aligns without contradiction. Adds substantial context beyond annotations.

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

Conciseness5/5

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

Single paragraph, front-loaded with purpose. Every sentence serves a purpose (purpose, prerequisite, parameter details, access). No redundant or missing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers prerequisites, idempotency, overrides, and access requirements. Output schema exists so return values are handled elsewhere. For a complex tool with 6 params and nested objects, the description is sufficiently complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, baseline 3. Description adds meaningful details: for data_slot_overrides (unknown keys dropped, malformed JSON fails, size/quantity limits), for idempotency_key (usage with retry scenarios, format recommendation). Adds value beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description starts with a specific verb+resource: 'Installs a published store template onto a display' and further details materializing HTML, auto-creating data slots, and publishing within seconds. Clearly distinguishes from siblings like send_html or get_store_template_install_options.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states to call get_store_template_install_options first for valid targets and slots, and mentions required access (content scope and control access). Provides clear context but does not explicitly mention when not to use this tool versus alternatives.

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