Skip to main content
Glama

delete_slides_element

Delete any object (slide, shape, text box, image, table, chart, video, or line) from a Google Slides presentation using its object ID.

Instructions

Delete any object from a Google Slides presentation by its object ID.

Works on any deletable object: an entire slide, a shape, a text box, an image, a table, a chart, a video, a line, etc. Passing a slide's object ID removes the whole slide (and everything on it). Passing a page element's object ID removes only that element. Deletion is permanent via API — use the Slides UI's undo if you need to recover.

Requires OAuth scope: https://www.googleapis.com/auth/presentations (write). Not idempotent: re-calling with the same ID after success returns an error because the object no longer exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_google_emailYes
presentation_idYesGoogle Slides presentation ID (from the URL after `/d/`).
object_idYesObject ID of the slide or page element to delete. Get slide IDs from `get_presentation.slides[].objectId`. Get element IDs from `get_presentation.slides[].pageElements[].objectId` or from the return value of creator tools (`create_slides_shape`, `insert_slides_image`, etc.). Cannot delete master/layout pages.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Discloses key behaviors: permanence of deletion, use of Slides UI undo for recovery, non-idempotent nature ('re-calling with the same ID after success returns an error'), and required OAuth scope. No annotations provided, so the description carries full burden and does so thoroughly.

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?

Description is concise (~100 words), front-loaded with the core action, followed by usage details, requirements, and warnings. Every sentence adds meaningful information without redundancy.

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?

Covers all essential aspects: what it does, what it works on, permanence, idempotency, recovery options, and scope requirement. Existence of an output schema (not shown) likely complements return value information, but description itself is self-sufficient.

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 covers 2 of 3 parameters with descriptions (presentation_id, object_id). The description adds value by explaining how to obtain object IDs from get_presentation or creator tools. However, user_google_email parameter is not described in either the schema or the description.

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?

Description explicitly states 'Delete any object from a Google Slides presentation by its object ID', clearly enumerating supported object types (slide, shape, text box, etc.). Distinct from sibling tools like duplicate_slide or batch_update_presentation.

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

Usage Guidelines4/5

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

Provides clear context on what can be deleted and the effect of different object IDs, and includes a limitation ('Cannot delete master/layout pages'). However, it does not explicitly discuss when to use this tool versus alternatives like batch_update_presentation.

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