Skip to main content
Glama
taylorwilsdon

Google Workspace MCP Server - Control Gmail, Calendar, Docs, Sheets, Slides, Chat, Forms & Drive

Insert Doc Image

insert_doc_image

Insert an image into a Google Doc using a Drive file ID or public URL. Specify the position and optional dimensions for precise placement.

Instructions

Inserts an image into a Google Doc from Drive or a URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYesPosition to insert image (0-based)
widthNoImage width in points (optional)
heightNoImage height in points (optional)
document_idYesID of the document to update
image_sourceYesDrive file ID or public image URL
user_google_emailYesUser's Google email address

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, establishing a safe mutation profile. The description adds context about supported source types (Drive/URL) but does not disclose other behavioral details such as effects on existing content or permission requirements. With annotations present, the bar is lower, so this is acceptable.

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 a single, front-loaded sentence with no redundant words. It clearly states the action and source in minimal space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the rich schema and annotations, the description covers the essential context adequately. It clearly states the core operation, and the schema handles parameter details, while annotations handle safety. Minor additional context (e.g., prerequisites or error scenarios) would have pushed it higher, but the tool is well-specified already.

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?

The input schema has 100% parameter description coverage, so the schema already documents each parameter and its purpose. The description's mention of 'from Drive or a URL' loosely corresponds to the image_source parameter but adds no additional semantic detail beyond what the schema provides.

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 uses a specific verb ('Inserts') with a specific resource ('image into a Google Doc') and specifies the source ('from Drive or a URL'). This clearly distinguishes it from broader sibling tools like insert_doc_elements, making the purpose unambiguous.

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 description implies the primary use case (inserting an image into a Google Doc) but does not explicitly state when to use this tool over alternatives or any exclusions. With many sibling tools like insert_doc_elements, explicit guidance would have been helpful, but the specificity of the action makes the intended context clear.

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/taylorwilsdon/google_workspace_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server