Skip to main content
Glama

Set Placeholder Text

set_placeholder_text
DestructiveIdempotent

Fill PowerPoint layout placeholders with text while preserving layout styling. Supports paragraphs, heading levels, and live editing of locked files.

Instructions

Fill a layout placeholder (styling inherits from the layout). placeholder: "title", "subtitle", "body"/"content" (each matches both body and obj placeholders; exact type wins), a raw ph type, or an idx int (idx/paragraphs= file-mode only). text: newline = paragraph, leading tabs = levels; or paragraphs=[{"text": str, "level": 0..8}]. Free text boxes: graphics pack. Saves atomically with two-slot backup; backup=False skips rotation. live='auto' edits the open PowerPoint copy of a locked file. Batches: apply_edits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
liveNoauto
textNo
slideYes
backupNo
file_pathYes
paragraphsNo
placeholderYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.1
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / placeholder / title
      Removed value: -"Placeholder"
    • removedInput schema / properties / slide / title
      Removed value: -"Slide"
  2. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

With annotations already declaring readOnlyHint=false and destructiveHint=true, the description adds substantial beyond-annotation behavior: atomic saves, two-slot backup rotation with a backup=False escape hatch, and live='auto' editing of the open PowerPoint copy of a locked file. These are exactly the kind of side effects (file mutation, backup behavior) an agent needs to anticipate, and nothing in the text contradicts the annotations.

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?

Efficiently front-loads the core purpose and packs every sentence with new information — parameter semantics, routing, save behavior, live mode — with no filler. Some phrasing is cryptically compressed ('raw ph type', 'idx/paragraphs= file-mode only'), which slightly hurts readability despite the economical structure.

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?

Given the high complexity (7 params, 3 required) and 0% schema coverage, the description covers the essential semantics, save/backup behavior, and alternative-tool routing, and an output schema exists so return values need no explanation. The remaining gaps are the undocumented required slide parameter and no guidance on invalid placeholder/error behavior, which prevent a top score.

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 description coverage is 0%, so the description carries the full parameter burden, and it does so extensively: placeholder matching semantics ('exact type wins', body/content synonyms, raw ph type, idx int), text encoding (newlines = paragraphs, tabs = levels), paragraphs format with level range 0..8, backup=False semantics, and live='auto' semantics. However, the required slide parameter (schema type {}) and file_path receive no clarification, leaving ambiguity on how to specify a slide.

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?

Opens with a specific verb+resource statement, 'Fill a layout placeholder,' and immediately adds a distinguishing trait ('styling inherits from the layout'). It also separates itself from adjacent operations by naming free text boxes (graphics pack) and batches (apply_edits), so an agent can tell it apart from siblings without opening their schemas.

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?

Provides explicit routing for the main alternatives: free text boxes go to the graphics pack, and batched operations go to apply_edits. It also constrains when idx/paragraphs input is valid ('file-mode only'). It stops short of a full when-to-use versus the broader sibling set (e.g., fit_text, get_text), but the key adjacent cases are covered.

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