Skip to main content
Glama

reply_to_comment

Reply, in public and at once, to a comment on a published post, as the account that posted it; or hide or unhide a comment.

Only after the user approved this exact text. Comment ids come from get_post(post_id, include_comments=True); without comment_id it is a comment on the post itself, e.g. a link under the user's own post. On Mastodon start the text with the comment's mention so its author is notified. Held to the network's character limit. X, Mastodon, Bluesky, Instagram and LinkedIn company pages take replies; other networks answer comments_unsupported with the reason.

With account_id, post_id is one of that account's own posts on its network, published through Antwork or not, as get_post(post_id, account_id=...) read it: the id fetch_platform_posts gave it.

With hide (and comment_id, no text), hides the comment (true) or shows it again (false), only when the user asked. Where get_post's commentModeration.allowed is true; each comment's canHide says which.

Args: post_id: The published post the comment is on. text: The reply, exactly as the user approved it. Omit with hide. comment_id: The comment to answer or hide. Omit to reply to the post. hide: True hides the comment, false unhides it, instead of replying. workspace_id: Workspace ID or name. Optional if user has only one workspace. account_id: The connected account whose own post post_id is, when it is not an Antwork post 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": {
      "post_id": "<post_id>"
    },
    "name": "reply_to_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
hideNo
textNo
contextNoThe user's underlying goal for this call, in one sentence without personal details. Used for product analytics only.
post_idYes
llm_modelNoThe model identifier of the calling assistant, or "unknown". Used for product analytics only.
account_idNo
comment_idNo
workspace_idNo
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Output Schema

NameRequiredDescriptionDefault
_mcp_instructionsNoServer-issued metadata for this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / account_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Account Id"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / hide
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Hide"
      +}
    • addedInput schema / properties / text / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / text / default
      Added value: +null
    • removedInput schema / properties / text / type
      Removed value: -"string"
    • changedInput schema / required
      Previous value: -[
      -  "post_id",
      -  "text"
      -]New value: +[
      +  "post_id"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
  4. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, openWorldHint=true; the description adds the real behavior: the reply is public and immediate, the author is notified via an @mention on Mastodon, output is bound by each network's character limit, unsupported networks fail with comments_unsupported, and hide is a reversible toggle (true hides, false unhides). That is substantive side-effect and failure-mode disclosure beyond the structured fields.

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

Conciseness3/5

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

Information-dense but poorly front-loaded: the two distinct modes are crammed into one opening sentence, and hide behavior is explained twice (prose and Args). The broken line wrapping and mid-sentence clauses ('e.g. a link under the user's own post') make it slower to parse than it needs to be.

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 need no explanation, and the description covers network support, error codes, moderation gating, and approval prerequisites for a 9-parameter multi-network tool. The remaining hole is conflict handling between text and hide and whether hide requires the same approval phrasing.

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?

With only 33% schema description coverage, the description carries most of the burden and does so well: it defines comment_id's omission semantics ('omit to reply to the post'), the required text-vs-hide pairing, and the non-obvious meaning of account_id changing what post_id refers to (an external platform post id from fetch_platform_posts vs an Antwork post id). It leaves the analytics-only params (context, llm_model, conversation_id) unmentioned, and does not say what happens if both text and hide are supplied.

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?

Opens with a specific verb+resource ('Reply ... to a comment on a published post') and immediately names the second mode ('or hide or unhide a comment'). It also scopes the action ('as the account that posted it', 'in public') so it is unmistakable against siblings like create_post or get_post.

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

Usage Guidelines5/5

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

Explicit preconditions and routing: 'Only after the user approved this exact text', comment ids come from get_post(post_id, include_comments=True), hide mode 'only when the user asked', and gating on get_post's commentModeration.allowed/canHide. It also names which networks accept replies and which return comments_unsupported, so when-to-use and when-not-to-use are both covered.

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.