Skip to main content
Glama

style_slides_shape

Modify an existing shape's fill and outline properties in Google Slides: set fill color/opacity, outline color, thickness, and dash pattern.

Instructions

Style an existing shape's fill and outline on a Google Slide.

Use this to change the look of a shape that already exists — background fill color/opacity, outline color, outline thickness, dash pattern. For paragraph-level text formatting inside the shape (alignment, bullets), use format_slides_paragraph. For character styling of text (bold, font size), use format_slides_text. To create the shape in the first place, use create_slides_shape.

Requires OAuth scope: https://www.googleapis.com/auth/presentations (write). Only fields passed in will be updated — omitted args are left unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_google_emailYes
presentation_idYesGoogle Slides presentation ID (from the URL after `/d/`).
page_element_idYesObject ID of the target shape. Get it from `get_presentation.slides[].pageElements[].objectId` or `get_page`. Must be a shape element; table cells and images will error.
fill_colorNoHex color for the shape interior, e.g., `#FFCC00` or `FFCC00`. Omit to leave existing fill unchanged.
fill_alphaNoOpacity of the fill, 0.0 (transparent) to 1.0 (opaque). Default `1.0`. Only meaningful when `fill_color` is also set.
outline_colorNoHex color for the shape's outline/border, e.g., `#000000`. Omit to leave outline color unchanged.
outline_weightNoOutline thickness in points (e.g., `1.5`, `3`, `6`). Omit to leave outline weight unchanged.
outline_dash_styleNoLine style for the outline. One of `SOLID`, `DASH`, `DOT`, `DASH_DOT`, `LONG_DASH`, `LONG_DASH_DOT`. Omit to leave unchanged.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the OAuth write requirement, the partial-update behavior (only passed fields changed), and implicitly that it modifies the presentation. However, it does not mention the response structure (error handling, success status) or explicitly state that the shape must exist. The parameter-level note that table cells and images will error is helpful but in param description, not main. Overall, it's transparent but could add a note on return value.

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: two sentences for purpose and alternatives, plus a third for auth and update behavior. It front-loads the core action, wastes no words, and every sentence earns its place. Ideal length for an AI agent to parse quickly.

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?

Given 8 parameters (3 required), high schema coverage, and presence of an output schema, the description covers all essential aspects: purpose, differentiation from siblings, auth requirements, and update semantics. It leaves no major gaps for an AI agent to understand when and how to invoke the 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 88%, so the schema already provides detailed meaning for most parameters. The main description only summarizes the categories (fill color/opacity, outline color/thickness/dash). It does not add new semantics beyond the schema, hence baseline 3. No parameter semantics improvement from the description itself.

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 verb 'style' and the resource 'existing shape's fill and outline'. It explicitly distinguishes from sibling tools: format_slides_paragraph for paragraph text, format_slides_text for character styling, and create_slides_shape for creation. This leaves no ambiguity about the tool's core purpose.

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: use for styling existing shapes, not for text formatting or creation. It lists the specific alternatives and conditions, such as requiring write OAuth scope and that only passed fields are updated. This fully informs when to choose this tool over its siblings.

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