Skip to main content
Glama

createSlidesShape

Creates a shape on a Google Slides slide with specified type, EMU position and size, and optional fill color.

Instructions

Create a shape on a slide in Google Slides. Position and size are in EMU (914400 EMU = 1 inch).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "presentationId": "<presentationId>",
      "pageObjectId": "<pageObjectId>",
      "shapeType": "<shapeType>",
      "x": "<x>",
      "y": "<y>",
      "width": "<width>",
      "height": "<height>"
    },
    "name": "createSlidesShape"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYesX position in EMU
yYesY position in EMU
widthYesWidth in EMU
heightYesHeight in EMU
shapeTypeYesShape type
pageObjectIdYesSlide page object ID
presentationIdYesPresentation ID
backgroundColorNoFill color (RGBA 0-1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose one genuinely non-obvious trait, the EMU unit convention, but omits what the call returns (e.g. the new shape's object ID, needed for follow-up styling), whether the presentation/slide must already exist, and any permission requirements. It is a mutation tool whose side effects are only implied by the verb 'Create'.

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?

Two short sentences, zero waste, and the unit convention is front-loaded right after the purpose statement. Nothing is buried or repeated.

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?

With 8 parameters, a nested color object, no annotations, and no output schema, the definition covers the mechanics adequately because the schema is fully documented. It falls short on what an agent gets back and on how this tool relates to the styling and text-creation siblings, leaving real gaps for a mutating tool with no structured safety hints.

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, and the description earns an extra point by adding the unit conversion (914400 EMU = 1 inch) that the schema's per-field 'in EMU' notes do not supply. It adds nothing about backgroundColor or shapeType beyond the schema, which is acceptable given how complete the schema is.

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?

States a specific verb and resource: 'Create a shape on a slide in Google Slides.' An agent knows exactly what the tool produces, but the description never distinguishes it from siblings like styleSlidesShape or createSlidesTextBox, which are the nearest alternatives for shape-adjacent work.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no mention of any alternative. An agent must infer on its own that styleSlidesShape handles styling of an existing shape and createSlidesTextBox handles text, rather than getting that routing from the description.

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

Deploy Server

Other Tools