Skip to main content
Glama
kapilcdave
by kapilcdave

Add text box

add_text_box

Add a styled text box to a Google Slides slide at specified inch coordinates, with optional formatting, alignment, and bullet lists.

Instructions

Add a styled text box to a slide. Coordinates are in inches. Set bulleted=true to render the lines as a bullet list.

Input Schema

NameRequiredDescriptionDefault
boldNo
textYesText content; use \n for new lines
colorNoText color as hex, e.g. #FFFFFF
italicNo
slideIdYesSlide (page) object ID from get_presentation or list_slides
bulletedNoRender lines as bullets
fontSizeNoFont size in pt
alignmentNoParagraph alignment
topInchesNoTop, inches
underlineNo
fontFamilyNoFont family, e.g. Arial
leftInchesNoLeft, inches
widthInchesNoWidth, inches
heightInchesNoHeight, inches
presentationIdYesPresentation ID. Found in the Google Slides URL: docs.google.com/presentation/d/<ID>/edit

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the mutation/safety profile is already covered. The description adds genuinely useful context that coordinates are in inches, but says nothing about placement origin, overflow/auto-fit behavior, or whether the box is appended alongside existing elements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and free of padding. The unit sentence is mildly redundant with the schema's 'Top, inches' descriptions, which costs it a point.

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?

For a 15-parameter mutation tool with no output schema and minimal annotations, the description is thin: it omits defaults behavior, coordinate origin, and what happens to overlapping/existing elements. It is adequate to call the tool but leaves real gaps for an agent reasoning about layout.

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 80% and the schema already documents units, defaults, and the bulleted flag, so the baseline of 3 applies. The description's 'Coordinates are in inches' and 'bulleted=true' merely restate schema text rather than clarifying the 15 parameters (styling defaults, alignment semantics) further.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ('Add a styled text box to a slide'), which is clearly separable from siblings like add_shape, add_image, and add_bullets. It does not explicitly contrast itself with add_bullets or add_shape, which is the only thing keeping it from a 5.

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 only usage cue is the conditional 'Set bulleted=true to render the lines as a bullet list,' which is really a parameter behavior note rather than tool selection guidance. It never says when to prefer add_text_box over add_bullets/add_shape, nor whether the slide must be empty or already exist.

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