Skip to main content
Glama

Create a presentation

create_presentation

Create a new presentation of yours, empty or complete in one call. "slides" is a list of {"name", "name_tr", "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 (every prop too with "response": "full"). Every presentation is in all the languages of the site (ru, en) at once: write the texts in "lang" and give the other languages right away -- "title_tr", "name_tr" of every slide and "tr" in the props of every text, shape and button block ({"en": ""}); the layout is shared. The answer lists what is still "missing_translations".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoThe language "title", slide names and blocks' "html" are written in (default: the one most of the words of the title, the slide names and the texts are in).
themeNoDefault colours of the slides and of new blocks.
titleYesTitle (at most 100 characters).
accessNoWho sees it (default "private": only you, until you publish it; "public": everybody reads it; "open": every signed-in person edits it too).
slidesNoSlides with their blocks (optional).
projectNoSlug of one of your projects to create the presentation in (at its end); its blocks may then lead to the slides of the other presentations of that project.
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).
responseNo"brief" (default): only the ids, numbers and types of the slides and blocks; "full": every prop of every block too.
title_trNoThe title in the other languages of the site: {"en": "..."}.
descriptionNoDescription shown on the presentation page (optional).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
urlNoThe address people open in a browser.
langNoThe language its texts are written in; "tr" holds the others.
slugYesThe address of the presentation: /movie/<slug>/.
ownerNoUser name of the author.
themeNo
titleYes
accessNoopen, public or private.
slidesYes
projectNoThe project it belongs to, or null.
versionNoStamp of the content as it is now: give it back as "base_version" to change it only if nobody else did meanwhile.
can_editNoWhether you may change it.
databaseNoSetup scripts of the databases of runnable code blocks (shown to the author only).
title_trNoThe same text in the other languages of the site: {"en": "..."}.
languagesNoThe languages of the site.
cover_slideNoId of the slide shown as its cover in the lists (null: an uploaded picture, or no slides).
descriptionNo
missing_translationsNoWhat is not translated yet into the other languages of the site (add it): the first ones; "missing_translations_count" says how many there are.
missing_translations_countNoHow many texts are not translated yet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / lang / description
      Previous value: -"The language \"title\", slide names and blocks' \"html\" are written in (default: Russian when they have Cyrillic letters, otherwise English)."New value: +"The language \"title\", slide names and blocks' \"html\" are written in (default: the one most of the words of the title, the slide names and the texts are in)."
  2. Changed1 schema field changed
    • addedInput schema / properties / access
      Added value: +{
      +  "description": "Who sees it (default \"private\": only you, until you publish it; \"public\": everybody reads it; \"open\": every signed-in person edits it too).",
      +  "enum": [
      +    "open",
      +    "public",
      +    "private"
      +  ],
      +  "type": "string"
      +}
  3. Changed7 schema fields changed
    • changedOutput schema / properties / missing_translations / description
      Previous value: -"What is not translated yet into the other languages of the site (add it)."New value: +"What is not translated yet into the other languages of the site (add it): the first ones; \"missing_translations_count\" says how many there are."
    • addedOutput schema / properties / missing_translations_count
      Added value: +{
      +  "description": "How many texts are not translated yet.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / slides / items / properties / layout_warnings
      Added value: +{
      +  "description": "How the changed slides will probably look: texts too long for their blocks, blocks outside the slide, texts over each other (estimated -- look at them).",
      +  "items": {
      +    "properties": {
      +      "block_id": {
      +        "type": "integer"
      +      },
      +      "detail": {
      +        "type": "string"
      +      },
      +      "problem": {
      +        "description": "overflow, cut, outside or overlap.",
      +        "type": "string"
      +      },
      +      "slide_id": {
      +        "type": "integer"
      +      },
      +      "slide_number": {
      +        "type": "integer"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / slides / items / properties / missing_translations / description
      Previous value: -"What is not translated yet into the other languages of the site (add it)."New value: +"What is not translated yet into the other languages of the site (add it): the first ones; \"missing_translations_count\" says how many there are."
    • addedOutput schema / properties / slides / items / properties / missing_translations_count
      Added value: +{
      +  "description": "How many texts are not translated yet.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / slides / items / properties / version
      Added value: +{
      +  "description": "Stamp of the content as it is now: give it back as \"base_version\" to change it only if nobody else did meanwhile.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / version
      Added value: +{
      +  "description": "Stamp of the content as it is now: give it back as \"base_version\" to change it only if nobody else did meanwhile.",
      +  "type": "string"
      +}
  4. Changed3 schema fields changed
    • addedInput schema / properties / database / properties / clickhouse
      Added value: +{
      +  "description": "ClickHouse SQL (statements separated by \";\") that creates and fills the database.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / cover_slide
      Added value: +{
      +  "description": "Id of the slide shown as its cover in the lists (null: an uploaded picture, or no slides).",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / database / properties / clickhouse
      Added value: +{
      +  "type": "string"
      +}
  5. Changed3 schema fields changed
    • addedInput schema / properties / slides / items / properties
      Added value: +{
      +  "background": {
      +    "description": "Background picture: the \"src\" of an uploaded picture; null removes it.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "bg": {
      +    "description": "Background colour, #rrggbb.",
      +    "type": "string"
      +  },
      +  "fit": {
      +    "description": "How the background picture fits.",
      +    "enum": [
      +      "contain",
      +      "cover",
      +      "stretch"
      +    ],
      +    "type": "string"
      +  },
      +  "h": {
      +    "description": "Canvas height in px (default 720).",
      +    "type": "integer"
      +  },
      +  "name": {
      +    "description": "Slide name (at most 100 characters), in the language of the presentation.",
      +    "maxLength": 100,
      +    "type": "string"
      +  },
      +  "name_tr": {
      +    "additionalProperties": {
      +      "type": "string"
      +    },
      +    "description": "The slide name in the other languages of the site: {\"en\": \"...\"}.",
      +    "type": "object"
      +  },
      +  "objects": {
      +    "description": "Blocks of the slide, bottom to top: [{\"type\": \"text\"|\"shape\"|\"button\"|\"line\"|\"image\"|\"code\", \"props\": {...}}]. Missing props take the presentation theme's defaults (every prop is described in the block format reference). A link to a slide of the same presentation may be given as {\"kind\": \"slide\", \"slide_number\": N}.",
      +    "items": {
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "transition": {
      +    "default": "none",
      +    "description": "Entrance effect of this incoming slide (default: none).",
      +    "enum": [
      +      "none",
      +      "fade",
      +      "slide-left",
      +      "slide-right",
      +      "zoom"
      +    ],
      +    "type": "string"
      +  },
      +  "transition_duration": {
      +    "default": 500,
      +    "description": "Animation duration in milliseconds (100-3000, default 500); not auto advance. Values outside the range are clamped.",
      +    "type": "integer"
      +  },
      +  "w": {
      +    "description": "Canvas width in px (200-4000, default 1280).",
      +    "type": "integer"
      +  }
      +}
    • addedOutput schema / properties / slides / items / properties / transition
      Added value: +{
      +  "description": "Entrance effect of this incoming slide.",
      +  "enum": [
      +    "none",
      +    "fade",
      +    "slide-left",
      +    "slide-right",
      +    "zoom"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / slides / items / properties / transition_duration
      Added value: +{
      +  "description": "Animation milliseconds, not auto advance.",
      +  "maximum": 3000,
      +  "minimum": 100,
      +  "type": "integer"
      +}
  6. Changed8 schema fields changed
    • addedInput schema / properties / lang
      Added value: +{
      +  "description": "The language \"title\", slide names and blocks' \"html\" are written in (default: Russian when they have Cyrillic letters, otherwise English).",
      +  "enum": [
      +    "ru",
      +    "en"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / title_tr
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "description": "The title in the other languages of the site: {\"en\": \"...\"}.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / lang
      Added value: +{
      +  "description": "The language its texts are written in; \"tr\" holds the others.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / languages
      Added value: +{
      +  "description": "The languages of the site.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / missing_translations
      Added value: +{
      +  "description": "What is not translated yet into the other languages of the site (add it).",
      +  "items": {
      +    "properties": {
      +      "block_id": {
      +        "type": "integer"
      +      },
      +      "lang": {
      +        "type": "string"
      +      },
      +      "slide_id": {
      +        "type": "integer"
      +      },
      +      "slide_number": {
      +        "type": "integer"
      +      },
      +      "what": {
      +        "description": "title, slide name or block.",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / slides / items / properties / missing_translations
      Added value: +{
      +  "description": "What is not translated yet into the other languages of the site (add it).",
      +  "items": {
      +    "properties": {
      +      "block_id": {
      +        "type": "integer"
      +      },
      +      "lang": {
      +        "type": "string"
      +      },
      +      "slide_id": {
      +        "type": "integer"
      +      },
      +      "slide_number": {
      +        "type": "integer"
      +      },
      +      "what": {
      +        "description": "title, slide name or block.",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / slides / items / properties / name_tr
      Added value: +{
      +  "description": "The same text in the other languages of the site: {\"en\": \"...\"}.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / title_tr
      Added value: +{
      +  "description": "The same text in the other languages of the site: {\"en\": \"...\"}.",
      +  "type": "object"
      +}
  7. Changed2 schema fields changed
    • addedInput schema / properties / project
      Added value: +{
      +  "description": "Slug of one of your projects to create the presentation in (at its end); its blocks may then lead to the slides of the other presentations of that project.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / project
      Added value: +{
      +  "description": "The project it belongs to, or null.",
      +  "properties": {
      +    "slug": {
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  8. Changed5 schema fields changed
    • addedInput schema / properties / response
      Added value: +{
      +  "description": "\"brief\" (default): only the ids, numbers and types of the slides and blocks; \"full\": every prop of every block too.",
      +  "enum": [
      +    "brief",
      +    "full"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / title / maxLength
      Added value: +100
    • addedOutput schema / properties / slides / items / description
      Added value: +"A slide; the brief form (the default of the tools that change slides) has only id, number, name, url and the id and type of every block."
    • changedOutput schema / properties / slides / items / properties / objects / description
      Previous value: -"Blocks, bottom to top."New value: +"Blocks, bottom to top (\"props\" only in the full form)."
    • changedOutput schema / properties / slides / items / properties / objects / items / required
      Previous value: -[
      -  "id",
      -  "type",
      -  "props"
      -]New value: +[
      +  "id",
      +  "type"
      +]
  9. 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"
      +}
  10. 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"
      +}
  11. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare a non-destructive, non-idempotent, closed-world write. The description goes well beyond that by disclosing return behavior (new presentation with slide/block ids, full props with 'response': 'full'), the eager multi-language sync model, and that the answer reports 'missing_translations'. It lacks permission/auth context, hence not a 5.

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

Conciseness4/5

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

Front-loaded with the core purpose, then structured detail on the slides list, multilingual requirement, and return format. Information-dense with little waste, though several sentences are run-ons that slow parsing.

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?

For a 10-parameter tool with nested objects and an output schema, the description covers the essential mental model: structure of slides/blocks, the multilingual obligation, and what the response contains. It is complete enough to call correctly, though explicit 'when to prefer over add_slide' routing is absent.

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%, so the per-parameter baseline is 3, but the description adds cross-parameter semantics the schema does not: how slide objects link via {"kind": "slide", "slide_number": N}, and how lang, title_tr, name_tr, and per-block 'tr' must all be supplied together. This relational guidance is genuinely value-adding.

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?

States a specific verb and resource ('Create a new presentation') and clarifies the scope with 'empty or complete in one call', which distinguishes it from the incremental siblings add_slide/add_slides and from update_presentation. An agent can identify the creation path without opening the schema.

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

Usage Guidelines3/5

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

The phrase 'empty or complete in one call' implies this tool subsumes slide creation, but it never explicitly states when to use it versus add_slide, add_slides, or import_presentation. Usage is implied rather than spelled out, and no exclusions or prerequisites are given.

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