Skip to main content
Glama

EaseWeb

Create a presentation

create_presentation

Create a new presentation of yours, empty or complete in one call. "slides" is a list of {"name", "w", "h", "bg", "fit", "background", "objects": [blocks]}; blocks may link to each other's slides with {"kind": "slide", "slide_number": N} (1-based, in this list). Returns the new presentation with the ids of its slides and blocks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
themeNoDefault colours of the slides and of new blocks.
titleYesTitle (at most 100 characters).
slidesNoSlides with their blocks (optional).
databaseNoSetup scripts of the databases the runnable code blocks work in, by language. Every viewer runs the blocks in a private database made from the script (up to 50000 characters each; an empty string removes a script).
descriptionNoDescription shown on the presentation page (optional).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
urlNoThe address people open in a browser.
slugYesThe address of the presentation: /movie/<slug>/.
ownerNoUser name of the author.
themeNo
titleYes
accessNoopen, public or private.
slidesYes
can_editNoWhether you may change it.
databaseNoSetup scripts of the databases of runnable code blocks (shown to the author only).
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / database
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Setup scripts of the databases the runnable code blocks work in, by language. Every viewer runs the blocks in a private database made from the script (up to 50000 characters each; an empty string removes a script).",
      +  "properties": {
      +    "mongodb": {
      +      "description": "MongoDB shell (mongosh JavaScript) that creates and fills the database.",
      +      "type": "string"
      +    },
      +    "redis": {
      +      "description": "Redis commands that creates and fills the database.",
      +      "type": "string"
      +    },
      +    "sql": {
      +      "description": "PostgreSQL SQL that creates and fills the database.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / database
      Added value: +{
      +  "description": "Setup scripts of the databases of runnable code blocks (shown to the author only).",
      +  "properties": {
      +    "mongodb": {
      +      "type": "string"
      +    },
      +    "redis": {
      +      "type": "string"
      +    },
      +    "sql": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / description / description
      Added value: +"Description shown on the presentation page (optional)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "access": {
      +      "description": "open, public or private.",
      +      "type": "string"
      +    },
      +    "can_edit": {
      +      "description": "Whether you may change it.",
      +      "type": "boolean"
      +    },
      +    "description": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "integer"
      +    },
      +    "owner": {
      +      "description": "User name of the author.",
      +      "type": "string"
      +    },
      +    "slides": {
      +      "items": {
      +        "properties": {
      +          "background": {
      +            "description": "The \"src\" of the background picture, or null.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "bg": {
      +            "type": "string"
      +          },
      +          "fit": {
      +            "type": "string"
      +          },
      +          "h": {
      +            "type": "integer"
      +          },
      +          "id": {
      +            "description": "Stable id of the slide.",
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "number": {
      +            "description": "1-based position; changes when slides are reordered.",
      +            "type": "integer"
      +          },
      +          "objects": {
      +            "description": "Blocks, bottom to top.",
      +            "items": {
      +              "properties": {
      +                "id": {
      +                  "type": "integer"
      +                },
      +                "props": {
      +                  "description": "Every prop of the block (see the block format reference).",
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "description": "text, shape, button, line, image or code.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "type",
      +                "props"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "url": {
      +            "description": "The address people open in a browser.",
      +            "type": "string"
      +          },
      +          "w": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "number",
      +          "objects"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "slug": {
      +      "description": "The address of the presentation: /movie/<slug>/.",
      +      "type": "string"
      +    },
      +    "theme": {
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "The address people open in a browser.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "slug",
      +    "title",
      +    "slides"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources