Skip to main content
Glama

Answer one comment (Instagram, Threads, YouTube)

reply_to_comment

Use this when the person wants to answer a comment. An id from list_comments with network (it begins with threads:, youtube: or instagram:) is answered publicly on the network it was left on, in the account's name, with text (Threads up to 500 characters, YouTube and Instagram up to 1,000). A bare Instagram comment id works as before, publicly or in a private message: answers one comment in the account's name: a public reply (text), the one private message Instagram allows per comment within 7 days of it (privateMessage, where the account is connected with direct messages), or both. A comment is answered once: one a rule, the catch-up or an earlier reply has answered is refused (already_answered). It goes to a real person under the person's name, so it needs an autopilot credential (the person's delegation), counts against the profile's daily ceiling of answers, and is in the journal under this credential; a review-mode credential reads with list_comments and a person answers. Requires posts:write and posts:publish.

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

Input Schema

NameRequiredDescriptionDefault
textNoThe public reply, up to 1,000 characters (500 on Threads).
accountNo
commentIdYesFrom list_comments: a comment's `id` (threads:…, youtube:…, instagram:…) or an Instagram `commentId`.
privateMessageNoThe private message, up to 1,000 bytes of UTF-8 as Instagram counts it (about 500 Cyrillic characters).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / commentId / description
      Previous value: -"From list_comments."New value: +"From list_comments: a comment's `id` (threads:…, youtube:…, instagram:…) or an Instagram `commentId`."
    • changedInput schema / properties / text / description
      Previous value: -"The public reply, up to 1,000 characters."New value: +"The public reply, up to 1,000 characters (500 on Threads)."
  2. Changed1 schema field changed
    • changedInput schema / properties / privateMessage / description
      Previous value: -"The private message, up to 1,000 characters."New value: +"The private message, up to 1,000 bytes of UTF-8 as Instagram counts it (about 500 Cyrillic characters)."
  3. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations it discloses a lot: public reply vs. the single Instagram private message allowed within 7 days, per-network character/byte limits, single-answer enforcement with the already_answered error, autopilot (delegation) credential requirement, consumption of the profile's daily answer ceiling, journal logging, and the posts:write / posts:publish scopes.

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?

The when-to-use lead is front-loaded, but the body is rambling and repetitive: 'answers one comment in the account's name' is restated, and the 500/1,000 character limits appear twice (and again in the schema descriptions). A tidier version could cut a third of the text without losing 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?

For a mutating, open-world tool with no output schema, it covers credentials, permissions, quotas, refusal conditions, and side effects well. The one functional gap is that it never says what `account` selects, which matters when an operator manages several accounts.

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?

It explains that `id` comes from list_comments and is prefixed threads:/youtube:/instagram:, that a bare Instagram commentId is accepted publicly or privately, and that `privateMessage` is limited to one per comment within 7 days and requires a DM-connected account — real meaning beyond the schema. The `account` parameter is never explained, which holds it back from a 5.

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 first sentence states a specific verb and resource ('answer a comment'), and the title narrows it to Instagram, Threads and YouTube. It is clearly a write operation distinct from list_comments, though it never explicitly names reply_to_message as the alternative for DMs/other messages.

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 says when to use it ('when the person wants to answer a comment'), where the `id` must come from (list_comments), and gives an explicit when-not case: 'a review-mode credential reads with list_comments and a person answers.' It also flags that an already-answered comment is refused with already_answered, which guides retry behaviour.

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.