Skip to main content
Glama

append_doc_text_tool

Add text to the end of a Google Doc using the Apps Script MCP server. Specify user email, document ID, and content to append.

Instructions

Append text to the end of a Google Doc.

Args: user_google_email: The user's Google email address document_id: The document ID text: Text to append to the end of the document

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_google_emailYes
document_idYes
textYes

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. It states the tool appends text, implying a write/mutation operation, but does not disclose behavioral traits such as required permissions, authentication needs (though 'user_google_email' hints at this), rate limits, or what happens if the document doesn't exist. The description adds minimal context beyond the basic action.

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 front-loaded with the core purpose in the first sentence, followed by a structured 'Args:' section that efficiently lists parameters. Every sentence earns its place with no wasted words, making it easy to scan and understand quickly.

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 (a mutation operation with 3 parameters), no annotations, and an output schema (which reduces need to describe return values), the description is moderately complete. It covers the basic action and parameters but lacks details on authentication, error handling, or behavioral constraints, leaving gaps for safe and effective use.

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 three parameters: 'user_google_email' (identifies the user), 'document_id' (identifies the document), and 'text' (content to append). This adds meaningful context beyond the bare schema types, though it doesn't specify formats (e.g., email validation, document ID structure).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Append text'), target resource ('to the end of a Google Doc'), and distinguishes it from sibling tools like 'modify_doc_text_tool' (which likely edits rather than appends) and 'get_doc_content_tool' (which reads rather than writes). It uses a precise verb and identifies the exact resource type.

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 description implies usage when text needs to be added to the end of a Google Doc, but does not explicitly state when to use this tool versus alternatives like 'modify_doc_text_tool' or 'create_doc_tool'. It provides basic context but lacks explicit exclusions or named alternatives.

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/sam-ent/appscript-mcp'

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