Skip to main content
Glama
tom275275

Google Workspace MCP Server

by tom275275

insert_doc_elements

Insert tables, lists, or page breaks into a Google Doc at a chosen index to organize your document content.

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
rowsNo
textNo
indexYes
columnsNo
list_typeNo
document_idYes
element_typeYes
user_google_emailYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.14.3

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral disclosure burden. It states the insert action and mentions the document is updated, but it does not disclose that this is a mutating operation requiring edit permissions, whether changes are reversible, or how insertion interacts with existing content beyond the index parameter. The return type is provided, but behavioral risk is under-communicated.

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 compact and well-structured: one introductory sentence followed by a clear Args list and a Returns line. Every line adds useful information; there is no filler or repetition.

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?

The description covers all parameters and the return type, and an output schema exists, so this is adequate for invoking the tool. However, given the large sibling set and lack of annotations, it omits guidance on when to use this tool instead of alternatives and does not address behavioral effects/permissions. It is functional but not fully 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 description coverage is 0%, so the description must compensate, and it does: every parameter is explained, including enum-like values for element_type and list_type, conditional requirements for rows/columns and list_type, and the meaning of index. Minor ambiguity remains around how multiple list items should be represented in the 'text' parameter, but overall the parameter semantics are well covered.

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 uses a specific verb and resource: 'Inserts structural elements like tables, lists, or page breaks into a Google Doc.' The allowed element_type values further clarify the scope. It does not explicitly differentiate from related siblings such as create_table_with_data or insert_doc_image, but the structural-element focus is reasonably distinctive.

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 conditional parameter guidance for tables and lists ('required for table', 'required for list'), but it provides no guidance on when to choose this tool over sibling tools like create_table_with_data, batch_update_doc, or insert_doc_image. There is no explicit when-to-use or when-not-to-use statement.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools