Skip to main content
Glama

resolve_doc_comment

Destructive

Marks a Google Doc comment as resolved by posting a resolve reply via the Drive comments resource. Use it to close out reviewed comments, optionally attaching reply text.

Instructions

Mark a comment on a Google Doc as resolved, by posting a reply with a "resolve" action via the Drive comments resource.

Args: doc_id: The Google Doc file ID. comment_id: The ID of the comment to resolve (from list_doc_comments). reply_content: Optional text to attach to the resolving reply.

Returns: Dictionary with doc_id, comment_id, reply id, and action ("resolve").

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": {
      "doc_id": "<doc_id>",
      "comment_id": "<comment_id>"
    },
    "name": "resolve_doc_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
doc_idYes
comment_idYes
reply_contentNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A4.1/5.0
Behavior4/5

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

Description discloses the underlying mechanism (reply with resolve action) and the return fields, adding context beyond annotations. The destructiveHint=true annotation is complemented by describing that a reply is posted, though it doesn't explain irreversibility or auth requirements.

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

Conciseness4/5

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

Front-loaded purpose sentence followed by an Args/Returns block; efficient, though the Args block largely restates names with modest added detail.

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?

An output schema exists so return values needn't be explained, and the description does state return keys anyway; covers the mechanism and parameters. Missing permissions/irreversibility notes for a mutation tool.

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 0%, so the description must compensate; it documents all three parameters including that comment_id comes from list_doc_comments and that reply_content is optional text attached to the reply. Lacks format examples but covers meaning well.

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 (mark as resolved) and resource (a comment on a Google Doc), and explains the mechanism (posting a reply with a resolve action via the Drive comments resource). It is distinguishable from list_doc_comments and add_doc_comment.

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?

Implied usage is resolving a comment after listing comments (comment_id sourced from list_doc_comments), but there are no explicit when-to-use vs alternatives guidance or prerequisites (permissions) stated.

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