Skip to main content
Glama

getComment

Retrieve a specific Google Docs comment and its full reply thread by document and comment ID; use listComments first to find the comment ID.

Instructions

Gets a specific comment and its full reply thread. Use listComments first to find the comment ID.

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": "getComment"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentIdYesThe ID of the comment to retrieve
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?

No annotations are supplied, so the description carries the full behavioral burden; it does establish that this is a read operation and that the response includes the entire reply thread rather than just the top-level comment, which is meaningful beyond the schema. It says nothing about permissions/access requirements for the comment, error behavior when the comment is deleted or the ID is stale, or whether all replies are returned or truncated for large threads.

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, both front-loaded: the purpose and its output scope come first, the prerequisite workflow second. Nothing is wasted and no sentence merely restates the tool name.

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 two-parameter read tool with full schema coverage and no output schema, the description covers what it does, what it returns at a high level, and how to obtain the required ID. It is nearly complete; only return-shape specifics (ordering, truncation of long threads) and access caveats are absent, which are minor for this complexity.

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%, so both commentId and documentId are already documented in the schema (documentId even explains where to find the ID in a Google Docs URL). The description adds only the operational hint that commentId should come from a prior listComments call, which is useful but marginal; baseline 3 applies when the schema does the heavy lifting.

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?

"Gets a specific comment and its full reply thread" names a concrete verb (Gets), a specific resource (a comment, singular), and states the return scope (the full reply thread), which separates it from the listComments sibling that enumerates comments. It stops short of a 5 because it never clarifies how it differs from other single-item getters in the catalog (e.g. getThread), leaving an agent to infer that this one is comment-scoped.

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?

The second sentence gives an explicit prerequisite workflow: call listComments first to obtain the commentId, which resolves the main 'how do I get the required ID' question. There is no 'when not to use' guidance — for instance, whether this is appropriate for a comment with thousands of replies or whether replyToComment is the better follow-up — so it is clear context without exclusions.

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