Skip to main content
Glama

render_presentation

Destructive

Render a presentation variant to a PDF (one slide per 16:9 page) via the tenant's browser service, store it as a document on the presentation, and check each slide for overflow (too much text / too many bullets). Required: presentation_id and either variant_id or language. Returns { document_id, slide_count, warnings, overflow:[{position, ok, befund?}] }. Needs a browser service under Integrations (provider 'browser'). View with get_document_link, share with share_presentation.

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": "render_presentation"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoLanguage code (e.g. de, en)
variant_idNoID of the variant
presentation_idYesID of the presentation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / language / description
      Added value: +"Language code (e.g. de, en)"
    • addedInput schema / properties / presentation_id / description
      Added value: +"ID of the presentation"
    • addedInput schema / properties / variant_id / description
      Added value: +"ID of the variant"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=false; the description adds real context on top: rendering goes through the tenant's browser service, a document is persisted onto the presentation, and each slide is validated for overflow. The prerequisite ('Needs a browser service under Integrations, provider browser') is a genuinely useful failure-mode warning. It does not explain why destructiveHint is true (overwrite of an existing document?) or whether re-renders duplicate content.

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?

Front-loads the action and its effects, then inputs, then return shape, then prerequisites, then next steps. Dense multi-clause sentences but every clause carries information an agent needs; nothing is padding.

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?

No output schema exists, and the description compensates by inlining the return shape ({ document_id, slide_count, warnings, overflow[...] }) including the nested overflow item fields. Combined with the integration prerequisite and sibling routing, an agent has enough to invoke it correctly; the only gap is behavior on repeated renders or existing documents.

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 baseline is 3, but the description adds a meaningful constraint absent from the schema: variant_id and language are alternatives rather than independent inputs, a distinction the schema's flat required list obscures. It still doesn't say what happens if both are supplied or what language defaults to.

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 (render) plus resource (presentation variant to PDF), and enumerates the three concrete effects: page format (16:9, one slide per page), document storage on the presentation, and per-slide overflow checking. This clearly separates it from render_document_pdf and create_presentation_variant, which touch different resources or don't produce PDFs.

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?

Gives the selection rule for its own inputs ('presentation_id and either variant_id or language') and explicit follow-up routing ('View with get_document_link, share with share_presentation'). It does not state when to use this rather than render_document_pdf or create_presentation_variant, so it stops short of full alternative coverage.

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.