Skip to main content
Glama

format_slides_text

Apply character formatting (bold, italic, font, color) to selected text within a slide element. Specify start and end indices for precise inline styling.

Instructions

Apply character-level formatting to text inside a slide element.

Use this for inline styling (bold, italic, font, color); use format_slides_paragraph for alignment/spacing/bullets, and style_slides_shape for the shape outline/fill/shadow. For bulk re-style across every text element use format_all_slides_text. Requires the presentations OAuth scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_google_emailYesThe user's Google email address (authenticated account).
presentation_idYesParent presentation ID (from the URL after /d/).
page_element_idYesobjectId of the text-bearing element (text box, shape, or placeholder) — get from get_presentation or get_page.
boldNoTrue to bold, False to unbold, None to leave unchanged.
italicNoSame semantics as bold for italic.
underlineNoSame semantics as bold for underline.
strikethroughNoSame semantics as bold for strikethrough.
font_familyNoFont family name, e.g. "Arial", "Roboto", "Helvetica Neue".
font_sizeNoFont size in points, e.g. 14 or 24.5.
text_colorNoHex color like "#FF0000" or "#333333".
start_indexNo0-based character offset where formatting begins. Omit both indices to format ALL text in the element.
end_indexNo0-based character offset (exclusive) where formatting ends.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries full burden. It states the type of formatting applied but does not disclose potential side effects (e.g., whether formatting overwrites or merges with existing styles, behavior for invalid indices, or scope of changes). The parameter semantics in the schema are detailed, but the description could add more context on idempotency and error handling.

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 concise (two sentences plus targeted alternatives), front-loaded with the core purpose, and every sentence earns its place. No redundant or filler content.

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?

The description covers purpose, usage guidelines, and parameter intent. It does not mention the return value, but an output schema exists (as per context), reducing the need. It could briefly note behavior for start/end indices (e.g., omitting indices formats all text). Overall, sufficiently complete for a straightforward formatting tool.

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 baseline is 3. The description does not add additional meaning beyond listing the formatting attributes (bold, italic, etc.), which are already detailed in the schema. No extra semantics beyond what the schema provides.

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 clearly states the tool applies character-level formatting to text inside a slide element, with specific examples (bold, italic, font, color). It explicitly distinguishes from sibling tools format_slides_paragraph, style_slides_shape, and format_all_slides_text, leaving no ambiguity about its scope.

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?

The description provides explicit guidance on when to use this tool versus alternatives ('use format_slides_paragraph for alignment/spacing/bullets, and style_slides_shape for the shape outline/fill/shadow. For bulk re-style across every text element use format_all_slides_text'). It also mentions the required OAuth scope, helping the agent assess prerequisites.

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

Install Server

Other Tools

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/HuntsDesk/ve-gws'

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