# update_text_style

Styles the text of a shape or table cell (batchUpdate updateTextStyle): bold, italic, underline, strikethrough, font_family (e.g. "Roboto"), font_size_pt, foreground_color (#RRGGBB) and link_url. Only the provided fields change (the field mask is computed automatically); at least one is required. By default the whole text is styled; pass start_index + end_index (0-based character offsets, end exclusive) to style a range — get the offsets from get_page's textElements. For a table cell add row_index + column_index.

Agent View of the PolicyLayer registry record for `update_text_style`. HTML page: https://policylayer.com/tools/a1-x-tech-mcp-google-slides/update-text-style

## Facts

- Tool: `update_text_style`
- Server: Mcp Google Slides (`@a1-x-tech/mcp-google-slides`) — https://policylayer.com/tools/a1-x-tech-mcp-google-slides.md
- Install: `npx -y @a1-x-tech/mcp-google-slides`
- Homepage: https://github.com/A1-x-Tech/mcp-google-slides
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 12 (1 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `bold` | boolean | no | Bold on/off. |
| `italic` | boolean | no | Italic on/off. |
| `link_url` | string | no | Turns the styled range into a hyperlink. |
| `end_index` | integer | no | Range end, exclusive (requires start_index). |
| `object_id` | string | yes | The shape or table object id whose text to style. |
| `row_index` | integer | no | Table cell row (0-based; requires column_index). |
| `underline` | boolean | no | Underline on/off. |
| `font_family` | string | no | Font family, e.g. "Roboto" or "Playfair Display". |
| `start_index` | integer | no | Range start, 0-based character offset (requires end_index). |
| `column_index` | integer | no | Table cell column (0-based; requires row_index). |
| `font_size_pt` | number | no | Font size in points. |
| `strikethrough` | boolean | no | Strikethrough on/off. |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_text_style",
    "arguments": {
      "object_id": "<object_id>"
    }
  }
}
```

## Why update_text_style is rated Medium

Modifies presentation content reversibly without destroying data or executing code.

From the tool's own definition: "Styles text: bold, italic, underline, font_family, font_size, color, link_url"

Risk signals: High parameter count (14 properties)

## Use case

AI agents use update_text_style to create or update resources in Mcp Google Slides, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp Google Slides environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Mcp Google Slides:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "update_text_style": {
      "limits": [
        {
          "counter": "update_text_style_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Mcp Google Slides (25)

- `delete_object` — Destructive — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/delete-object.md
- `edit_table` — Destructive — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/edit-table.md
- `manage_comments` — Destructive — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/manage-comments.md
- `batch_update` — Execute — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/batch-update.md
- `raw_request` — Execute — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/raw-request.md
- `get_page` — Read — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/get-page.md
- `get_presentation` — Read — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/get-presentation.md
- `get_speaker_notes` — Read — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/get-speaker-notes.md
- `get_thumbnail` — Read — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/get-thumbnail.md
- `list_layouts` — Read — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/list-layouts.md
- `list_slides` — Read — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/list-slides.md
- `add_slide` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/add-slide.md
- `create_image` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/create-image.md
- `create_presentation` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/create-presentation.md
- `create_shape` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/create-shape.md
- `create_table` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/create-table.md
- `duplicate_slide` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/duplicate-slide.md
- `export_presentation` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/export-presentation.md
- `insert_text` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/insert-text.md
- `move_slides` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/move-slides.md
- `replace_image` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/replace-image.md
- `replace_text` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/replace-text.md
- `set_speaker_notes` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/set-speaker-notes.md
- `set_text` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/set-text.md
- `update_transform` — Write — https://policylayer.com/tools/a1-x-tech-mcp-google-slides/update-transform.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=a1-x-tech-mcp-google-slides · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/a1-x-tech-mcp-google-slides
