Skip to main content
Glama
A1-x-Tech

A1 Google Slides MCP

Insert an image

create_image

Add an image to a slide in Google Slides using a public image URL or a local file, with optional position and size controls.

Instructions

Inserts an image on a slide (batchUpdate createImage) from EITHER image_url — a public https URL Google's servers can fetch (validated: https-only, no private/local hosts, ≤2 kB; the image itself must be PNG/JPEG/GIF, ≤50 MB, ≤25 megapixels) — OR image_path, a local file that is checked by magic bytes, uploaded to Drive, shared by link for the fetch and DELETED from Drive right after (Slides stores its own copy, so the temp file is disposable; the result reports the cleanup). Omitted size keeps the image's native proportions fitted to the page; position/size are in points. Returns the image objectId in the reply.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x_ptNoLeft edge in points (requires y_pt).
y_ptNoTop edge in points (requires x_pt).
width_ptNoWidth in points (requires height_pt).
height_ptNoHeight in points (requires width_pt).
image_urlNoPublic https URL of a PNG/JPEG/GIF (exactly one of image_url / image_path).
object_idNoOptional custom object id for the new image.
image_pathNoAbsolute local path of a PNG/JPEG/GIF file (exactly one of image_url / image_path).
page_object_idYesThe slide's object id to place the image on (from list_slides).
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 richly discloses behaviors beyond the annotations: URL validation constraints, local file upload and subsequent Drive deletion, native proportion handling, point-based positioning, and the returned objectId. This is especially valuable because the annotations are sparse (readOnlyHint=false, destructiveHint=false). No contradiction with annotations exists.

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 dense but front-loaded with the core purpose, followed by essential constraints and side effects. Every sentence and parenthetical carries needed operational information; nothing is 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 9-parameter tool with no output schema and minimal annotations, the description is thorough: it covers input validation, cleanup behavior, sizing defaults, coordinate units, and the return value. An agent has enough context to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100%, the description adds significant meaning by specifying validation limits (https-only, no private hosts, ≤2 kB URL; PNG/JPEG/GIF ≤50 MB, ≤25 megapixels), the disposable temp-file lifecycle, and how omitted size parameters behave. This goes well beyond the schema's basic field descriptions.

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?

The description clearly states a specific action ('Inserts an image on a slide') and identifies the underlying operation (batchUpdate createImage). It does not explicitly distinguish this from the sibling replace_image tool, so it lacks the full sibling-differentiation that would earn 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 Guidelines2/5

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

The description explains the two mutually exclusive input modes (image_url or image_path) but gives no guidance about when to prefer this tool over alternatives such as replace_image or batch_update. There is no explicit when-to-use or when-not-to-use context.

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