Skip to main content
Glama

init_presentation

Initialize a new Slidev presentation project by creating its directory, installing dependencies, and generating slides.md; use dry_run to preview create/overwrite plans without writing.

Instructions

Initialize a new Slidev presentation project. Creates the project directory, installs dependencies, and generates a slides.md file. The agent-dark preset includes clean Slidev/Shiki-friendly code styling without code borders. Set dry_run=true to preview create/attach/overwrite plans without writing, deleting, setting project state, or running pnpm install.

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": {
      "project_name": "<project_name>",
      "title": "<title>"
    },
    "name": "init_presentation"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNo
titleYes
presetNoagent-dark
dry_runNoPreview init without creating, deleting, writing, setting the active project path, or running pnpm install. Especially useful with overwrite=true.
overwriteNo
project_nameYes
install_dependenciesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that initializing creates directories, runs dependency installation, and writes slides.md, and the dry_run sentence explicitly lists what is skipped (writing, deleting, setting project state, running pnpm install). The remaining gap is overwrite behavior — the word "overwrite" appears in the preview plan list but the description never says what overwrite=true destroys or whether existing slides are lost.

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 sentences, front-loaded with the core action and side effects before the dry_run caveat. The preset styling sentence is mildly tangential but earns its place by helping an agent pick a preset value; no filler otherwise.

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

Completeness3/5

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

Given a seven-parameter mutating tool with no annotations and no output schema, the definition covers the essential risk surface (side effects, dry-run escape hatch) but leaves the destructive semantics of overwrite and the meaning of theme/install_dependencies unexplained. An agent could invoke it correctly for the happy path but would be guessing on overwrite and theme.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 14%, so the description must compensate, and it only partly does. It adds genuine meaning for preset (agent-dark's code styling) and repeats dry_run's semantics, but theme, install_dependencies, overwrite, project_name, and title are left entirely to an under-described schema — notably theme is an unconstrained string with no hint that it is a Slidev theme package name.

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 names a specific verb and resource ("Initialize a new Slidev presentation project") and the following sentences enumerate exactly what initialization produces: directory, dependencies, and slides.md. That clearly separates it from siblings like export_presentation, repair_presentation, or add_slide, which operate on an existing project.

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 is implied rather than stated: the tool creates a project, so an agent can infer it belongs at project bootstrap time, and the dry_run sentence hints at a preview-then-commit workflow. However, there is no explicit when-to-use/when-not guidance, no mention of prerequisites (e.g. whether a project already exists), and no pointer to repair_presentation or import_markdown as follow-ups.

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