Skip to main content
Glama
ZatesloFL

Google Workspace MCP Server

by ZatesloFL

insert_doc_elements

Add tables, lists, or page breaks to a Google Doc by specifying the element type, position, and required parameters for structured document updates.

Instructions

Inserts structural elements like tables, lists, or page breaks into a Google Doc.

Args: user_google_email: User's Google email address document_id: ID of the document to update element_type: Type of element to insert ("table", "list", "page_break") index: Position to insert element (0-based) rows: Number of rows for table (required for table) columns: Number of columns for table (required for table) list_type: Type of list ("UNORDERED", "ORDERED") (required for list) text: Initial text content for list items

Returns: str: Confirmation message with insertion details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
columnsNo
document_idYes
element_typeYes
indexYes
list_typeNo
rowsNo
textNo
user_google_emailYes

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. While it implies a write/mutation operation ('inserts'), it doesn't address important behavioral aspects like required permissions, whether the operation is idempotent, error conditions, or rate limits. The description mentions what the tool does but not how it behaves.

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 sections for Args and Returns. Each sentence serves a specific purpose without redundancy. The only minor improvement would be integrating the parameter explanations more seamlessly rather than as a separate bulleted list.

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 and return values. However, it lacks important contextual information about authentication requirements (though user_google_email suggests Google auth), error handling, or behavioral constraints. The presence of an output schema helps, but more behavioral context would be beneficial.

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 conditional requirements (rows/columns 'required for table', list_type 'required for list'), clarifies the index as '0-based', and provides enum values for element_type and list_type. This significantly compensates for the schema's lack of 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 the action ('inserts') and target resources ('structural elements like tables, lists, or page breaks into a Google Doc'), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'insert_doc_image' or 'modify_doc_text', which handle different types of document modifications.

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. With many sibling tools for document manipulation (e.g., 'insert_doc_image', 'modify_doc_text', 'find_and_replace_doc'), there's no indication of when this specific insertion tool is appropriate versus other document editing tools.

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