Skip to main content
Glama
nabheet

google-services-mcp

by nabheet

Insert table

google_docs_insert_table

Insert an empty table into a Google Doc at a specific index, adding a newline before it. Specify rows and columns to structure content programmatically.

Instructions

Insert an empty table at a model index (a newline is added before it).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYesNumber of rows.
indexYes0-based index where the table is inserted.
accountNoAccount nickname to use.
columnsYesNumber of columns.
documentIdYesDocument ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.60

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full disclosure burden. It does surface one genuine side effect ('a newline is added before it'), which is useful for reasoning about index shifts, but a mutation tool of this kind should also say whether the table is styleable afterward, whether existing content indices shift, and what the response contains. The parenthetical is the only behavioral detail offered.

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?

A single tight sentence with the action and the insertion point front-loaded, and the side-effect caveat folded into a parenthetical. No filler, nothing that could be cut without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter write tool with no annotations and no output schema, the description leaves real gaps: permission/auth requirements, behavior on an out-of-range index, whether the newline affects the caller's index arithmetic, and what the result looks like. The newline note is a good start but the surrounding context is thin.

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?

Schema description coverage is 100%, so rows, columns, index, documentId and account are all documented in the schema, making 3 the baseline. The description's phrase 'model index' loosely restates the schema's '0-based index' rather than clarifying or adding constraint, and it says nothing about the optional account nickname.

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?

Names a specific verb and resource ('Insert an empty table') and adds the insertion-point semantics ('at a model index'), which lets an agent distinguish it from google_docs_insert_text, google_docs_replace_text and google_docs_insert_inline_image. It stops short of explicitly naming those siblings or stating the broader 'in a Google Doc' context, so it's clear but not maximally differentiated.

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?

There is no guidance on when to reach for this tool versus the other Docs mutation tools (insert_text, replace_text, insert_inline_image, batch_update), no mention of prerequisites such as document write access, and no note on when a batch_update would be preferable for multiple insertions.

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