Skip to main content
Glama

Build the .pptx

build_deck

Generates the final slide deck from an approved plan, filling each block with real content by type and returning slide images for review. Use it after note threads are closed and layouts approved.

Instructions

Build the real deck from the approved plan: a headline per slide and, by plan block id, the real content for that block's type (text paragraphs, bullet items, cards {header, sub, body}, stats {value, label}, chart {kind, categories, series}, diagram {kind, nodes, edges}, table {headers, rows}, quote, takeaway, image or placeholder label). Diagram rules: one idea per diagram; 3 to 7 nodes; every edge carries a verb; a flow or timeline reads left to right and a tree top to bottom; no decorative shapes; a timeline puts the date in each node label; a matrix takes exactly six nodes, the two axis labels then the four cells; where the style bans shape diagrams the builder draws a labelled placeholder instead. Positions and types come from the plan, not from this call, fidelity here overrides the plan's own setting for this one build, and it refuses while a thread is open or a layout is unapproved: when the deck check reports something, fix the plan with update_plan and call build_deck again, never hand-build the deck or replace the file, and look at the slide images this result carries so the next fix answers what a reader would notice.

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": "<project>",
      "slides": "<slides>"
    },
    "name": "build_deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
slidesYesOne entry per plan slide, in any order; the deck is built in plan order
projectYes
fidelityNoThis build only, leaving the plan's setting alone. strict keeps the approved geometry exactly. balanced lets the builder resize within two cells, balance whitespace and align edges. loose lets it re-pick the layout from the content.
fileNameNoFile name without extension. Default: project name
exportPdfNoAlso write a PDF beside the deck when LibreOffice is installed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A4.4/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 it does disclose a lot: the refusal gate, that fidelity here overrides the plan's setting for one build only, that positions and types come from the plan rather than this call, and that the result carries slide images the agent should inspect. What it leaves unsaid is write/overwrite semantics (does it rewrite the existing file at fileName?) and whether a rebuild is idempotent or costly — relevant for a mutation tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first clause, which is good, but the body is one long run-on held together by colons and semicolons, and the diagram-rules sentence is a dense rule dump that competes with the invocation guidance. The block-type enumeration largely duplicates schema text, so not every clause earns its place.

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?

This is a complex builder with 5 params and no output schema, and the description covers the failure modes, the retry loop, the fidelity override, and points at the returned slide images for verification. It stops short of describing what else the result contains (file path, PDF side effect) and overwrite behavior, which are the remaining gaps for a tool this consequential.

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

Parameters4/5

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

Schema coverage is 80%, so the baseline is 3, but the description adds genuine meaning: slides carry content keyed by plan blockId while geometry and type stay in the plan, and fidelity is a per-build override of the plan's own setting. The block-type content catalog (cards/stats/chart/diagram/table/quote/takeaway) partially restates schema descriptions, which caps it below 5.

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?

"Build the real deck from the approved plan" is a specific verb plus resource, and the following clause explains the input shape (headline per slide, real content per plan block id). It is clearly distinct from update_plan (fixes the plan), review_deck (checks it) and import_deck (brings one in), so an agent can route without opening a schema.

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 precondition (approved plan, no open thread), an explicit refusal condition ("it refuses while a thread is open or a layout is unapproved"), and an explicit recovery path: when the deck check reports something, fix the plan with update_plan and call build_deck again. It also states the negative case — never hand-build the deck or replace the file — which is exactly the wrong turn an agent would otherwise take.

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