Skip to main content
Glama

resolveComment

Marks a Google Docs comment as resolved by posting a reply with the resolve action, then verifies the comment's status and errors if it remains unresolved.

Instructions

Marks a comment as resolved by posting a reply with the resolve action (the only Drive API mechanism that actually flips resolved status — comments.update cannot write it). Verifies the result and throws if the comment is still unresolved afterward.

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": {
      "documentId": "<documentId>",
      "commentId": "<commentId>"
    },
    "name": "resolveComment"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional text for the resolution reply (e.g. explaining how the comment was addressed).
commentIdYesThe ID of the comment to resolve
documentIdYesThe document ID — the long string between /d/ and /edit in a Google Docs URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does well on side effects and failure behavior: it reveals that resolution creates a visible reply in the thread and that it verifies the outcome and throws when the comment remains unresolved. It says nothing about required permissions/scopes, rate limits, or what a successful return value contains.

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?

Two sentences, front-loaded with the action, then rationale and verification behavior. The parenthetical about `comments.update` is the one arguably extraneous clause, but it earns its place by preventing a predictable wrong tool choice.

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?

There is no output schema, and the description compensates by stating that the result is verified and an error is thrown on failure, so an agent knows how to interpret outcomes. The only gap is what is returned on success (e.g., the created reply) and any auth requirements.

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

Parameters3/5

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

Schema description coverage is 100% for all three parameters, so the schema already explains `documentId` (URL substring), `commentId`, and the optional `note`. The description adds no parameter-level detail beyond implying that a reply body may be supplied; baseline 3 applies.

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 names a specific verb and resource: 'Marks a comment as resolved', plus the mechanism used ('posting a reply with the resolve action'). It partially differentiates from the closest sibling by noting that `comments.update` cannot write resolved status, though it never distinguishes itself from `replyToComment`, which also posts a reply.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It effectively steers the agent away from the obvious wrong path by stating this is 'the only Drive API mechanism that actually flips resolved status — `comments.update` cannot write it'. That is a clear context cue, but there is no explicit precondition, permission requirement, or when-not-to-use note.

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