Skip to main content
Glama

Keynote: add slide

keynote_add_slide
Destructive

Insert a new blank slide into an existing Keynote deck at a specified position or at the end. Preview changes on a throwaway copy with dry_run before editing the actual file.

Instructions

Insert a slide after slide number after (0 = first, omit = end). Every other slide is verified unchanged. dry_run=true previews the change on a copy without touching the file. Use for a new blank slide in an existing deck. To copy a slide use keynote_duplicate_slide; for a whole new deck use keynote_build_deck.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the .key deck (absolute, or starting with ~).
afterNoInsert after this slide number; 0 = make it the first slide; omit = at the end.
dry_runNotrue = make the change on a throwaway copy, run every check, and return what would change; the file itself is not touched. Use it before broad or risky edits and show the user.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.4.1
    • addedInput schema / properties / after / description
      Added value: +"Insert after this slide number; 0 = make it the first slide; omit = at the end."
    • addedInput schema / properties / dry_run / description
      Added value: +"true = make the change on a throwaway copy, run every check, and return what would change; the file itself is not touched. Use it before broad or risky edits and show the user."
    • addedInput schema / properties / path / description
      Added value: +"Path to the .key deck (absolute, or starting with ~)."
  2. First observedv2.4.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent and destructive, so the safety profile is covered. The description adds genuinely non-structured context: that every other slide is verified unchanged, and that dry_run operates on a throwaway copy and returns what would change. It stops short of describing failure modes or when the verification can fail.

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?

Three compact sentences, each earning its place: placement rule first, verification behavior second, dry_run semantics third, alternatives last. No filler and front-loaded with the action.

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 single-slide insertion with an output schema present, the description covers placement, preview mode, non-target-slide integrity, and sibling routing. Nothing an agent needs to invoke it correctly is missing.

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 description coverage is 100%, so the schema already documents `path`, `after`, and `dry_run` including defaults. The description restates the `after` and `dry_run` semantics rather than adding syntax or edge-case detail beyond them, so the baseline 3 applies.

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 and resource ('Insert a slide') plus the placement semantics ('after slide number `after`, 0 = first, omit = end'). It also explicitly distinguishes itself from `keynote_duplicate_slide` and `keynote_build_deck`, so an agent can pick the right tool without reading other schemas.

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

Usage Guidelines5/5

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

Gives an explicit use case ('Use for a new blank slide in an existing deck') and routes to named alternatives for adjacent cases (copy a slide, whole new deck). The dry_run guidance adds a concrete when-to-use rule for risky edits.

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