Skip to main content
Glama

Get post comment

get_post_comment
Read-onlyIdempotent

Get one post comment or annotation by ID with its author, reply count and linked task. An annotation also carries its review status. An annotation pins feedback to one media item (attachmentId): x and y are percent of its width and height, timeMs and endTimeMs milliseconds, frame 0-based, page and lines 1-based, camera the 3D view, drawing the marks. reviewStatus is comment, needs_changes, approved, question or suggestion; resolved says whether it is addressed.

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

Input Schema

NameRequiredDescriptionDefault
postIdNoPost ID; defaults to the comment's post.
commentIdYesComment or annotation ID.
response_formatNoHow much to return. concise applies when omitted; detailed adds every field and the full text.

Output Schema

NameRequiredDescriptionDefault
idYesComment ID.
taskNoThe linked task: id, identifier, taskNumber and title. Absent when there is none.
authorNoWho wrote it: id and name.
postIdYesID of the post it is on.
parentIdNoParent comment ID when this is a reply.
createdAtNoWhen it was created, in epoch ms.
updatedAtNoWhen it last changed, in epoch ms.
annotationNoOn a media annotation: attachmentId, its position, reviewStatus and resolved. Absent on plain comments.
replyCountNoNumber of replies, counted up to 20. Absent on a reply.
contentTextNoComment as plain text. Long text is cut unless response_format is detailed.
reactionCountNoNumber of reactions on the comment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description goes further by explaining that annotations carry review status and a resolved flag and by decoding what each annotation payload represents (pinned media feedback, marks, 3D camera view). It stops short of describing not-found behavior or access requirements, which keeps it below a 5.

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?

The core action and returned fields are front-loaded in sentence one, and the follow-up sentences are dense but each earns its place by pinning down units (percent, milliseconds, 0-based frame, 1-based page/lines) and enum values. The unit-decoding run-on is heavy but not redundant.

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 an output schema, full parameter coverage, and rich annotations, the description only needs to supply semantics, which it largely does via the geometry units and reviewStatus values. The remaining gap is operational behavior, such as what happens when the commentId does not exist or does not belong to postId.

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 coverage is 100%, including the postId default and the response_format concise/detailed enum, so the schema already carries parameter meaning. The description adds nothing about postId or response_format, making this the baseline 3 case where structured fields do the work.

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 and resource ('Get one post comment or annotation by ID') and enumerates what comes back (author, reply count, linked task), which cleanly separates it from the list_post_comments sibling that returns many. The comment-vs-annotation distinction is also made explicit in the first two sentences.

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?

Usage is only implied: 'by ID' signals a single-item lookup, so an agent can infer this is for fetching a known commentId. There is no explicit when-to-use versus list_post_comments or list_post_client_feedback, and no stated preconditions or exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources