Skip to main content
Glama
taylorwilsdon

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

Insert Doc Elements

insert_doc_elements

Insert tables, lists, or page breaks into Google Docs at a specified position. Specify element type, index, and optional details like rows, columns, or list type.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsNoNumber of rows for table (required for table)
textNoInitial text content for list items
indexYesPosition to insert element (0-based)
columnsNoNumber of columns for table (required for table)
list_typeNoType of list ("UNORDERED", "ORDERED") (required for list)
document_idYesID of the document to update
element_typeYesType of element to insert ("table", "list", "page_break")
user_google_emailYesUser's Google email address

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Annotations already indicate this is a mutation (readOnlyHint=false) and non-destructive (destructiveHint=false). The description adds no behavioral context beyond that, such as how insertion affects existing content, positional indexing behavior, or any side effects. It does not contradict the annotations, but fails to enrich them.

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 zero wasted words. It immediately states the action, target, and examples, making it easy to scan and understand.

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?

With a fully described schema, annotations, and an output schema, the one-sentence description is largely sufficient. However, the tool has 8 parameters with conditional dependencies, and while the schema covers these, a bit more contextual guidance (e.g., 'required parameters depend on element_type') would help. Still, the structured data compensates well.

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% coverage, describing each parameter including conditional requirements (e.g., rows/columns for table, list_type for list). The description only names example element types and does not add meaning beyond what the schema already provides. Baseline 3 is appropriate.

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') and resource ('structural elements like tables, lists, or page breaks into a Google Doc'), clearly distinguishing it from sibling tools like insert_doc_image (images) and modify_doc_text (text). It precisely communicates the tool's scope.

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 gives no guidance on when to use this tool versus alternatives such as batch_update_doc, create_table_with_data, or insert_doc_image. There is no mention of prerequisites, exclusions, or scenarios where another tool would be more appropriate.

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