Skip to main content
Glama

Manage Document Comment

manage_document_comment

Create, reply to, and resolve comments on Google Docs. Manage document comment threads directly from your AI assistant.

Instructions

Manage comments on a Google Document.

Actions:

  • create: Create a new document-level comment. Requires comment_content. Note: The Drive API cannot anchor comments to specific text; only the Google Docs UI can do that.

  • reply: Reply to a comment. Requires comment_id and comment_content.

  • resolve: Resolve a comment. Requires comment_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
comment_idNo
document_idYes
comment_contentNo
user_google_emailYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.2/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond the annotations: comments are document-level, and the Drive API cannot anchor comments to specific text, only the Google Docs UI can. This limitation is important and helps set expectations. The annotations already signal mutation (readOnlyHint false), so the description does not need to restate that.

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 compact and well structured: a one-line overview, then a bulleted action list, then a single note that prevents a common misuse. Every sentence contributes information, and the most important scoping/limitation information is front-loaded near its relevant action.

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 composite mutation tool, the description covers the action-dependent parameter requirements and the key API limitation, while the output schema covers return values. It could be slightly more explicit about not using comment_id when creating and about using list_document_comments to fetch comment IDs, but overall it gives an agent enough to invoke the tool correctly.

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?

With 0% schema description coverage, the description carries the load by mapping each action to its required parameters: create needs comment_content, reply needs comment_id and comment_content, and resolve needs comment_id. This is essential because the schema only lists the parameters without relationships. It does not elaborate on user_google_email or document_id, but those are self-explanatory from their names and the required list.

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 opens with 'Manage comments on a Google Document' and then enumerates three specific operations (create, reply, resolve), so an agent knows exactly what the tool does. The resource scope (Google Document comments) distinguishes it from sibling tools managing spreadsheet or presentation comments.

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 makes the intended use fairly clear and each bullet states which parameters the action requires. However, it does not explicitly state when to prefer list_document_comments for reading comments or mention that comment_id should be obtained beforehand, so the guidance is implied rather than explicit.

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