Skip to main content
Glama

render_speaker_script

Destructive

Render the speaker script of a variant to a PDF (per slide: text, planned time, start time in talk order), stored as a document on the presentation. Required: presentation_id and variant_id or language. Returns { document_id }. Needs a browser service.

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_speaker_script"
  }
}

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

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the external browser-service dependency, that the output is persisted as a document attached to the presentation, and the return shape { document_id } — all of which explain why destructiveHint=true and non-idempotent behavior apply. It stops short of saying whether re-rendering replaces an existing document, which would have completed the mutation picture.

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?

Three short, front-loaded segments: output description, required inputs, return value. Nothing is redundant, though the telegraphic phrasing ("Needs a browser service.") is clipped enough that it reads as a fragment rather than a statement of consequence.

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 three-parameter mutation tool with no output schema, the definition covers purpose, contents of the PDF, storage location, input requirements, external dependency, and return shape — enough for correct invocation. The remaining gap is what happens to a previously rendered document on repeat calls.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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. The description does add one genuinely new fact — that variant_id and language are alternatives satisfied by either one, which the schema alone (only presentation_id is required) does not convey. It adds little else, such as what language does when a variant is also given.

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?

"Render the speaker script of a variant to a PDF" gives a specific verb and resource, and the parenthetical explains exactly what the PDF contains (per-slide text, planned time, start time in talk order) plus where it is stored. It does not explicitly distinguish itself from nearby siblings such as render_document_pdf or check_speaker_timing, which keeps it below 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?

The description supplies prerequisite facts ("Required: presentation_id and variant_id or language", "Needs a browser service") that tell an agent whether it can call the tool at all, but it never states when to prefer this over render_document_pdf or check_speaker_timing. Usage is implied by the purpose rather than guided.

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.