Skip to main content
Glama

insert_doc_tab

Add a new tab to a Google Doc at a specified position, optionally nesting it under an existing tab to organize document structure.

Instructions

Inserts a new tab into a Google Doc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_google_emailYesUser's Google email address
document_idYesID of the document to update
titleYesTitle of the new tab
indexYesPosition index for the new tab (0-based among sibling tabs)
parent_tab_idNoOptional ID of a parent tab to nest the new tab under

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 full burden for behavioral disclosure. While 'Inserts' implies a write/mutation operation, the description doesn't mention permissions needed, whether the operation is idempotent, what happens on failure, or any rate limits. For a tool that modifies documents, this leaves significant behavioral questions unanswered.

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, clear sentence that states exactly what the tool does without unnecessary words. It's front-loaded with the core functionality and contains no redundant information. This is an excellent example of concise technical documentation.

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 that there's an output schema (though not shown), the description doesn't need to explain return values. However, for a mutation tool with no annotations, the description should provide more behavioral context about what 'inserting a tab' entails operationally. The combination of good schema coverage and output schema existence raises the baseline, but the lack of behavioral guidance for a write operation leaves gaps.

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 schema already documents all 5 parameters thoroughly. The description adds no additional parameter information beyond what's in the schema. This meets the baseline expectation when schema coverage is complete, but doesn't provide extra context about parameter relationships or usage patterns.

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 action ('Inserts') and resource ('a new tab into a Google Doc'), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'insert_doc_elements' or 'update_doc_tab', which could cause confusion about when to use this specific tool versus similar ones.

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. With sibling tools like 'update_doc_tab' and 'list_doc_tabs' available, there's no indication of whether this is for initial creation versus modification, or how it relates to other document manipulation tools. The agent must infer usage from context alone.

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/HuntsDesk/ve-gws'

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