Skip to main content
Glama

export_presentation

Export the current Slidev presentation to PDF, PNG, or a static site. Set output paths, slide ranges, and timeouts, or preview the export command with a dry run before running it.

Instructions

Export the current presentation to PDF, PNG, or SPA. Supports custom output paths inside the project, dry-run, timeout, slide range, and syntax verification.

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": {
      "format": "<format>"
    },
    "name": "export_presentation"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYes
outputNo
slidesNo
dry_runNoPreview the Slidev export command and arguments without running it. Does not return a file diff.
timeout_msNo
skip_verifyNo
with_clicksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and falls short: it doesn't say where output files land, whether existing files are overwritten, what is returned, or how failures/timeouts are surfaced. It mentions dry-run and timeout, but the dry-run explanation in the schema already covers that behavior.

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?

A single front-loaded sentence with the formats up front and features trailing. Efficient, though the feature list is a flat enumeration that could be slightly more informative per word.

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

Completeness2/5

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

For a 7-parameter mutation/export tool with no annotations, no output schema, and low schema description coverage, the description leaves important behavior unstated: return value, file placement/overwrite semantics, and the role of with_clicks and skip_verify.

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?

At 14% schema coverage, the description compensates partially by naming output paths, dry-run, timeout, slide range, and syntax verification, and adds the useful constraint that output paths must be inside the project. However it says nothing about the format enum tradeoffs, with_clicks, slide-range syntax, or default timeout.

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?

The description opens with a specific verb and resource ('Export the current presentation') and names the output formats (PDF, PNG, SPA). This distinguishes it clearly from verification/repair siblings, though it doesn't explicitly contrast with verify_presentation.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus verify_presentation or repair_presentation, nor any prerequisites (e.g., dev server, built slides). The feature list hints at capabilities but never states selection conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.