Skip to main content
Glama

optimize_slide_text

Improve slide text readability by auto-resizing fonts, wrapping overflow text, and adjusting spacing to fit container boundaries.

Instructions

Optimize text elements on a slide for better readability and fit.

Args: slide_index: Index of the slide to optimize auto_resize: Whether to automatically resize fonts to fit containers auto_wrap: Whether to apply intelligent text wrapping optimize_spacing: Whether to optimize line spacing min_font_size: Minimum allowed font size max_font_size: Maximum allowed font size presentation_id: Presentation ID (uses current if None)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
auto_wrapNo
auto_resizeNo
slide_indexYes
max_font_sizeNo
min_font_sizeNo
presentation_idNo
optimize_spacingNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.6.0

TDQS

A3.7/5.0
Behavior2/5

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

Annotations provide no behavioral hints beyond a title, so the description must carry this burden. It does not disclose that this is a mutating operation, what side effects may occur (e.g., overwriting original text formatting), whether changes are reversible, or what exactly gets modified beyond vague references to resizing, wrapping, and spacing.

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?

The description is compact and well-structured: a one-sentence purpose followed by a clean parameter list. No redundant filler; every line adds value.

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?

The parameter semantics and purpose are covered, and an output schema exists, so the return format need not be explained. However, for a mutating tool with no readOnly/destructive annotations, the lack of side-effect disclosure and usage context leaves meaningful gaps.

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%, but the description compensates with an Args block explaining each of the seven parameters. Each parameter gets a concise semantic phrase (e.g., 'Minimum allowed font size') that goes beyond the bare type/default information in the schema.

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 opens with a specific verb ('Optimize') and resource ('text elements on a slide') plus a clear goal ('for better readability and fit'). This clearly distinguishes it from sibling text tools like extract_slide_text or manage_text.

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?

The intended use case is implied by the purpose statement—optimizing readability and fit—and the parameter names make the settings obvious. However, there is no explicit guidance on when to choose this over related siblings such as manage_text, manage_fonts, or apply_professional_design.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/photonn/dial-pptx-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server