Skip to main content
Glama

Add text to the end of a Google Doc

append_to_google_doc

Add paragraphs at the end of a Google Doc — a note, a log entry, a new item. Plain text: each line becomes a paragraph. Nothing already in the document changes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mailbox": "<mailbox>",
      "documentId": "<documentId>",
      "text": "<text>"
    },
    "name": "append_to_google_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
mailboxYesEmail address of the connected Gmail/Google Workspace mailbox to act on. Call list_authorized_mailboxes to see available options.
documentIdYesThe Google Doc's id, from search_gdrive_items or list_gdrive_items

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=false and readOnlyHint=false; the description reinforces this with 'Nothing already in the document changes' and adds real behavioral detail: input is treated as plain text and each line becomes a separate paragraph, so formatting/markdown is not interpreted. It stops short of stating permission requirements or what the call returns.

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?

Three short sentences, front-loaded with the core action and scope, followed by input format and a non-destructiveness guarantee. No filler or restatement of the title.

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?

For a simple append operation with three required params, full annotation coverage, and no output schema, the description covers action, scope, input format, and side effects. The only gap is the return value (e.g., whether a link or revision is returned), which is not addressed.

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 coverage is 67%, with mailbox and documentId already documented in the schema (including discovery-tool pointers). The description compensates for the undocumented 'text' parameter by explaining that it is plain text and that line boundaries map to paragraph boundaries, which is meaning the schema's minLength/maxLength cannot convey.

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?

States a specific verb and resource with an explicit location constraint: 'Add paragraphs at the end of a Google Doc'. The closing clause 'Nothing already in the document changes' implicitly separates it from the sibling replace_text_in_google_doc / replace_google_doc_content tools without needing to name them.

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 examples ('a note, a log entry, a new item') sketch the intended use cases, which is useful implied guidance. However, there is no explicit when-to-use versus when-not, and no statement that the agent should prefer replace_google_doc_content or replace_text_in_google_doc when existing text must be altered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources