Skip to main content
Glama
ZatesloFL

Google Workspace MCP Server

by ZatesloFL

insert_doc_image

Insert images into Google Docs from Drive or a URL using specified position, width, and height. Requires document ID, image source, and user email. Returns confirmation with insertion details.

Instructions

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

Args: user_google_email: User's Google email address document_id: ID of the document to update image_source: Drive file ID or public image URL index: Position to insert image (0-based) width: Image width in points (optional) height: Image height in points (optional)

Returns: str: Confirmation message with insertion details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docs_serviceYes
document_idYes
drive_serviceYes
heightNo
image_sourceYes
indexYes
user_google_emailYes
widthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states this is an insertion operation but doesn't mention whether this requires specific permissions, if it's destructive to existing content, what happens if the index is invalid, or any rate limits. The return value is mentioned but not detailed.

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?

The description is well-structured with a clear purpose statement followed by organized Args and Returns sections. Every sentence serves a purpose, though the Args section could be slightly more concise by integrating some details into the main description.

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 mutation tool with 8 parameters and no annotations, the description does a good job explaining parameters but lacks important behavioral context. The presence of an output schema helps with return values, but critical information about permissions, error conditions, and operational constraints is missing.

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?

With 0% schema description coverage, the description provides excellent parameter clarification beyond the bare schema. It explains what each parameter represents (e.g., 'Position to insert image (0-based)', 'Drive file ID or public image URL', 'Image width in points'), giving meaningful context that the schema titles lack.

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 clearly states the specific action ('Inserts an image') and target resource ('into a Google Doc'), with explicit sources ('from Drive or a URL'). It distinguishes itself from sibling tools like 'insert_doc_elements' or 'modify_doc_text' by focusing specifically on image insertion.

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 provides no guidance on when to use this tool versus alternatives like 'insert_doc_elements' or 'batch_update_doc'. It mentions the image sources but doesn't explain when to choose Drive vs URL, or prerequisites like authentication or permissions needed.

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

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