Skip to main content
Glama
A1-x-Tech

A1 Google Slides MCP

Set (replace) text

set_text
DestructiveIdempotent

Replace the entire text of a shape or table cell in Google Slides. Works on empty placeholders, clears with empty text, and accepts row and column indexes for table cells.

Instructions

Replaces the ENTIRE text of a shape or table cell: one atomic batch of deleteText(ALL) + insertText. If the target has no text yet the delete is skipped automatically, so it works on empty placeholders too. An empty text just clears the object. Replacing text drops per-character styling — restyle with update_text_style afterwards if needed. For a table cell pass row_index + column_index together.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe new full text; empty string clears the object. \n starts a new paragraph.
object_idYesThe shape or table object id (from list_slides).
row_indexNoTable cell row (0-based; requires column_index).
column_indexNoTable cell column (0-based; requires row_index).
presentation_idYesThe presentation id — the long id from the URL (docs.google.com/presentation/d/<presentationId>/edit) or from create_presentation output.
Behavior5/5

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

The description discloses meaningful behavioral traits beyond the annotations: the operation is one atomic deleteText(ALL)+insertText batch, the delete is skipped for empty targets, an empty text clears the object, and per-character styling is dropped. These are exactly the side effects an agent needs to anticipate.

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?

Every sentence has a purpose: core behavior, edge-case handling, clearing semantics, styling consequence, and table-cell parameter guidance. It is front-loaded with the most important fact and contains no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no output schema, the description covers target types, required table parameters, empty-input behavior, atomicity, and styling side effects. The idempotency hint and destructive hint are already in annotations, so no critical gap remains.

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 100%, so the baseline is 3, but the description adds value by clarifying that object_id refers to a shape or table cell, that row_index and column_index must be supplied together, and that an empty text string clears the object.

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 states a precise verb and resource: 'Replaces the ENTIRE text of a shape or table cell'. It distinguishes the tool from siblings like insert_text or replace_text by emphasizing whole-content replacement rather than partial insertion or search-based replacement.

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?

The description clearly implies when to use it — when the entire text must be replaced — and explicitly tells the agent to pass row_index plus column_index together for table cells. It also points to update_text_style as the follow-up for restyling, but does not explicitly contrast with insert_text or replace_text, so it lacks direct exclusions.

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/A1-x-Tech/mcp-google-slides'

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