Skip to main content
Glama
c0webster

Hardened Google Workspace MCP

by c0webster

insert_doc_elements

Add tables, lists, or page breaks to Google Docs at specified positions to organize document structure and 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
user_google_emailYes
document_idYes
element_typeYes
indexYes
rowsNo
columnsNo
list_typeNo
textNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states the tool 'inserts' elements, implying a write operation, but doesn't disclose behavioral traits like required permissions, whether changes are reversible, error handling, or rate limits. The return value is mentioned but without details on success/failure cases. For a mutation tool with zero annotation coverage, this is insufficient.

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 and appropriately sized. It starts with a clear purpose statement, followed by organized sections for Args and Returns. Each sentence earns its place by conveying essential information. Minor verbosity in parameter explanations keeps it from a perfect score, but overall it's efficient and front-loaded.

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?

Given the tool's complexity (8 parameters, mutation operation) and lack of annotations, the description is moderately complete. It explains parameters well and mentions a return value, but lacks behavioral context (e.g., side effects, error cases). The output schema exists, so return details aren't needed, but for a write tool with no annotations, more operational guidance would improve completeness.

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. It provides clear semantics for all 8 parameters in the 'Args' section, explaining what each represents (e.g., 'user_google_email: User's Google email address') and conditional requirements (e.g., 'rows: Number of rows for table (required for table)'). This adds significant value beyond the bare schema, though it doesn't cover validation rules or examples.

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 tool's purpose: 'Inserts structural elements like tables, lists, or page breaks into a Google Doc.' It specifies the verb ('inserts') and resource ('Google Doc'), and lists the types of elements. However, it doesn't explicitly differentiate from sibling tools like 'insert_doc_image' or 'modify_doc_text', which would be needed for a perfect score.

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. It doesn't mention prerequisites (e.g., document access), compare to similar tools (e.g., 'batch_update_doc' for bulk operations), or specify scenarios where it's appropriate. Usage is implied through parameter descriptions but not explicitly stated.

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/c0webster/hardened-google-workspace-mcp'

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