Skip to main content
Glama

Get a single comment thread

get_comment
Read-onlyIdempotent

Retrieve a specific Google Docs comment with its full reply thread, quoted text, and paragraph context. Use a document ID and comment ID to get the complete thread details.

Instructions

Fetch one comment of a Google Doc by ID with its full reply thread, quoted text and surrounding paragraph.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNomarkdown
documentYesGoogle Docs document ID or full URL (https://docs.google.com/document/d/<id>/edit).
comment_idYesComment ID as returned by list_comments.
include_contextNoAttach the paragraph where the quoted text appears.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the tool read-only, idempotent, and non-destructive. The description adds behavioral value by disclosing what is returned: the full reply thread, quoted text, and optional surrounding paragraph. No contradiction.

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?

One dense 19-word sentence that front-loads the verb and resource and then lists key output elements. There is no filler or repeated schema information.

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?

With no output schema, the description supplies enough return-value detail (reply thread, quoted text, surrounding paragraph) while annotations and schema cover safety and parameters. It could mention error/not-found behavior or explicitly distinguish alternatives, but these are minor gaps for this simple fetch.

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?

The input schema already documents document, comment_id, and include_context with descriptions, and format has an enum/default, so schema coverage is high. The description adds little parameter-level nuance beyond restating 'by ID' and the returned thread context.

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 names a specific action ('Fetch') and resource ('one comment of a Google Doc by ID') and lists what is included ('full reply thread, quoted text and surrounding paragraph'). This clearly distinguishes it from list_comments and get_comments_summary without needing the schema.

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 description's focus on a single ID implies targeted retrieval, and the schema clarifies the prerequisite by saying comment_id is 'as returned by list_comments.' It does not explicitly name sibling tools or state when not to use it, but the context is clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.