Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by akilja24

create_document_comment

Add a new comment to a Google Document by specifying the document ID, comment content, and user Google email.

Instructions

Create a new comment on a Google Document.

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": {
      "user_google_email": "<user_google_email>",
      "document_id": "<document_id>",
      "comment_content": "<comment_content>"
    },
    "name": "create_document_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_idYes
comment_contentYes
user_google_emailYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.13.1

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it does almost nothing with it. 'Create' signals a write operation, but the description is silent on who can comment, whether the author is derived from user_google_email, whether notifications are sent to the document owner, or whether the comment can later be edited or deleted. The presence of an output schema excuses it from describing return values, but not from the auth and side-effect context of a mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is efficient and front-loaded with the action, with no filler. However, its brevity here reflects under-specification rather than discipline, so it earns a middle score.

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?

The tool is simple (three flat required parameters, no nesting, and an output schema that covers the response shape), which lowers the bar. Even so, with zero annotation coverage and zero schema descriptions, a creating/mutating tool needs a note on auth and side effects that this description never provides.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across all three parameters, so the description is the only possible source of meaning and it supplies none. It does not explain the expected document_id format, which account user_google_email selects or what happens when they differ, or whether comment_content supports plain text, HTML, or @-mentions.

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 states a specific verb and resource: 'Create a new comment on a Google Document.' That is enough for an agent to know exactly what the tool produces, and the word 'Document' implicitly separates it from the presentation and spreadsheet comment siblings. It does not explicitly name or differentiate against reply_to_document_comment or resolve_document_comment, which keeps it short of a 5.

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 when-to-use guidance at all: nothing says to use this for a brand-new top-level comment rather than reply_to_document_comment, and no exclusions or prerequisites are given. The agent must infer the create-vs-reply distinction purely from the tool names.

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