Skip to main content
Glama

Manage Doc Tab

manage_doc_tab
Destructive

Create, rename, delete, or populate Google Docs tabs from Markdown. Target specific tabs by ID and nest new ones under parent tabs for precise document structure.

Instructions

Manage document tabs: create, rename, delete, or populate from Markdown.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexNoPosition index for new tab, 0-based among siblings (required for create)
titleNoTab title (required for create; used by rename)
actionYesAction to perform - "create", "rename", "delete", or "populate_from_markdown"
tab_idNoTab ID (required for rename, delete, populate_from_markdown; use inspect_doc_structure to find IDs)
document_idYesID of the document
markdown_textNoMarkdown source to render (populate_from_markdown only)
parent_tab_idNoOptional parent tab ID to nest under (create only)
replace_existingNoClear tab body before inserting markdown (default True)
user_google_emailYesUser's Google email address

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description is consistent with them. The description adds that deletion is one of the operations, which helps identify a destructive path, but it does not disclose effects such as tab-content replacement or the irreversibility of deletion beyond what the schema's replace_existing parameter already says. This is moderate disclosure beyond annotations but not rich.

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 sentence that front-loads the resource and then lists all supported operations with zero filler. Every word contributes to understanding the tool's scope.

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 rich schema covering 100% of parameters, an output schema, and annotations signaling destructive behavior, the tool is adequately specified for invocation. The description could still add a sentence about when to choose this tool over other document-manipulation siblings, which prevents a perfect score.

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 the baseline of 3 applies; all nine parameters have descriptions, including per-action requirements and the action enum. The description adds only the high-level 'populate from Markdown' concept, which maps to markdown_text but adds little beyond the schema.

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 identifies document tabs as the resource and enumerates the four supported operations: create, rename, delete, and populate from Markdown. This is more specific than the generic title. It does not explicitly differentiate from sibling doc-editing tools, but the tab-specific resource and 'populate from Markdown' make the purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The action list implies the tool is for document-tab lifecycle operations, and the schema directs agents to use inspect_doc_structure for tab IDs. However, the description itself provides no explicit when-to-use or when-not-to-use guidance and names no alternative tools. The intended scope is inferable rather than stated.

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

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/WorldCentralKitchen/google_workspace_mcp'

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