Skip to main content
Glama

upsert_slide

DestructiveIdempotent

Create or update a slide of a presentation. Slides are shared across all variants. Required: presentation_id. Pass slide_id to update an existing slide, omit to create. Optional: slide_type (title|content|video|solution|questions), position, title, content (structured object; content.page_image_url = optional image of the WHOLE rendered slide page, used on cue cards), html (free HTML, exception), image_url, footer. When an existing slide's title/content/html changes, ALL its per-variant notes are marked stale (needs re-check/translation). Returns { slide_id, notes_marked_stale }.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "presentation_id": "<presentation_id>"
    },
    "name": "upsert_slide"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlNoFree HTML for the slide (exception, prefer content)
titleNoTitle of the slide
footerNoFooter text of the slide
contentNoStructured slide content; content.page_image_url = image of the whole rendered slide
positionNoPosition of the slide in the deck
slide_idNoID of the slide
image_urlNoImage URL
slide_typeNoKind of slide: title, content, video, solution or questions
presentation_idYesID of the presentation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / content / description
      Added value: +"Structured slide content; content.page_image_url = image of the whole rendered slide"
    • addedInput schema / properties / footer / description
      Added value: +"Footer text of the slide"
    • addedInput schema / properties / html / description
      Added value: +"Free HTML for the slide (exception, prefer content)"
    • addedInput schema / properties / image_url / description
      Added value: +"Image URL"
    • addedInput schema / properties / position / description
      Added value: +"Position of the slide in the deck"
    • addedInput schema / properties / presentation_id / description
      Added value: +"ID of the presentation"
    • addedInput schema / properties / slide_id / description
      Added value: +"ID of the slide"
    • addedInput schema / properties / slide_type / description
      Added value: +"Kind of slide: title, content, video, solution or questions"
    • addedInput schema / properties / title / description
      Added value: +"Title of the slide"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description names the concrete destructive side effect: changing title/content/html marks ALL per-variant notes stale for re-check and translation. It also discloses the return shape { slide_id, notes_marked_stale } even though no output schema exists, which is exactly the non-obvious consequence an agent needs before mutating.

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 purpose, create/update rule, then optional fields, then side effects and return value — a sensible order with no filler sentences. The telegraphic fragments and stacked parentheticals ('content (structured object; content.page_image_url = ...)') are dense but still readable.

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

Completeness5/5

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

For a 9-parameter, nested-object mutation tool with no output schema, the description covers the create-vs-update decision, field-level guidance, the stale-notes side effect, and the return payload. Nothing an agent needs in order to call it safely is missing.

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 baseline is 3, but the description adds real meaning: slide_id's omit-to-create semantics, the slide_type value set, and a clarification of content.page_image_url as the image of the WHOLE rendered slide page used on cue cards. The html-as-exception note also adds decision value beyond the schema's 'prefer content' wording.

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?

The first sentence gives a specific verb and resource ('Create or update a slide') and immediately disambiguates the two modes via slide_id. It also states a scope fact an agent could not infer ('Slides are shared across all variants'), so create vs. update is unambiguous before 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 Guidelines4/5

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

Explicit routing rule: 'Pass slide_id to update an existing slide, omit to create.' It also steers field choice ('html (free HTML, exception)', 'prefer content'). What is missing is guidance toward siblings such as set_slide_notes for note-only changes, so the agent must infer that boundary.

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.