Skip to main content
Glama

Import an existing deck

import_deck

Scans an existing .pptx into a reviewable slide plan, detects block roles and snaps geometry so users fix mislabeled elements before rebuilding.

Instructions

Scan an existing .pptx into a plan: one outline row per slide, blocks detected by role (cards, stat, chart, table, image, quote, takeaway, placeholder, bullets, text), each geometry snapped to the 32x18 slide grid with a confidence. The headline and kicker come off each slide as furniture, dividers become sections, page numbers and the logo are dropped. Opens the layout canvas with Detected badges; nothing is approved, so the user fixes mislabelled blocks before anything is rebuilt.

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": {
      "path": "<path>"
    },
    "name": "import_deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoProject name; default: the file name
pathYesAbsolute path to the .pptx

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and does a good job: it discloses that geometry is snapped to the 32x18 grid with a confidence value, that headlines/kickers are treated as furniture, dividers become sections, and page numbers and logos are dropped. Crucially it states that nothing is approved yet. Missing are failure modes (non-.pptx input, corrupt files) and whether re-importing overwrites an existing plan.

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 output shape, followed by the extraction rules and the approval state. The role enumeration and grid detail are dense but each clause conveys real behaviour; a stale term or two aside, 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?

For a complex ingestion tool with no output schema and no annotations, the description covers the transformation pipeline and the post-state (canvas with Detected badges, nothing approved) well enough to act on. It leaves error handling and the fate of an existing plan unspecified, but the essential shape is there.

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% with only two parameters, so the schema already documents both path and the optional name default. The description adds no meaning beyond that: it never mentions naming the project or how path resolution works. Baseline 3 is appropriate.

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 description names a specific verb (scan/import) and resource (an existing .pptx) and states the output artifact precisely: a plan with one outline row per slide. The sibling import_workbook and build_deck are implicitly differentiated by the .pptx-to-plan framing, and the enumerated block roles make the behaviour unmistakable.

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?

It clearly establishes the context of use: an existing deck must be brought in before anything is rebuilt, and the result lands on the layout canvas with Detected badges for the user to fix. It stops short of explicit when-not guidance or naming a concrete alternative (e.g. build_deck for a from-scratch deck), so it is clear but not exhaustive.

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