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

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

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
database_charsNoA part or the words only were read: how long each database script is (the whole presentation without "texts_only" gives them).
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
    • changedOutput schema / properties / slides / items / properties / objects / items / properties / type / description
      Previous value: -"text, shape, button, line, image or code."New value: +"text, shape, button, line, image, code or table."
  2. Changed3 schema fields changed
    • addedOutput schema / properties / missing_translations / items / properties / outdated
      Added value: +{
      +  "description": "There is a translation, written for an earlier text.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / slides / items / properties / layout_warnings / items / properties / lang
      Added value: +{
      +  "description": "Only the text in this language has the problem.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / slides / items / properties / missing_translations / items / properties / outdated
      Added value: +{
      +  "description": "There is a translation, written for an earlier text.",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changed
    • addedOutput schema / properties / database_chars
      Added value: +{
      +  "description": "A part or the words only were read: how long each database script is (the whole presentation without \"texts_only\" gives them).",
      +  "type": "object"
      +}
    • addedOutput schema / properties / slides / items / properties / notes
      Added value: +{
      +  "description": "The speaker notes (for those who may edit; only when there are some).",
      +  "type": "string"
      +}
  4. 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)."
  5. 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"
      +}
  6. 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"
      +}
  7. 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"
      +}
  8. 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"
      +}
  9. 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"
      +}
  10. 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"
      +  ]
      +}
  11. 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"
      +]
  12. 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"
      +}
  13. 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"
      +}
  14. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, openWorld=false. The description adds substantial context beyond that: that every presentation exists in all site languages simultaneously, that translations must be supplied via *_tr fields and "tr" props, and that the response reports "missing_translations". It omits permission/auth prerequisites but the access enum in the schema covers visibility.

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 action, then the slides/blocks format, then the translation rule, then the return shape — a sensible ordering. It is dense and uses compact code-like notation mid-sentence, which slightly hurts readability but wastes little.

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 slide objects and an output schema, the description covers the parts that are hardest to infer: the block/slide payload shape, slide-link syntax, the multi-language obligation, and what the response contains. Database scripts and theme defaults are left to the schema, which is acceptable given 100% coverage.

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 description coverage is 100%, so the baseline is 3; the description earns above that by explaining the cross-slide linking convention ({"kind": "slide", "slide_number": N} is 1-based within the submitted list) and the response="full" behavior of returning every prop — semantics not fully conveyed by the schema alone.

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

Purpose4/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") plus meaningful scope: it can be created empty or fully populated with slides and blocks in one call. The phrase "in one call" implicitly contrasts with the create-then-add_slides path, though no sibling is named explicitly, keeping it short of a 5.

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?

Usage context is implied rather than stated — batching slides into creation, and writing all site languages up front. There is no explicit guidance on when to prefer this over import_presentation, copy_slides, or create-then-add_slides, and no stated prerequisites (e.g. upload_image first for backgrounds).

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