Skip to main content
Glama

Reply to comment

reply_comment

Publicly reply to a comment as this account; the reply appears on the platform. YouTube, Bluesky, Mastodon, and Tumblr are read-only and return 409. Instagram comment and direct message permissions are still awaiting Meta's second review; Instagram accounts newly connected on or after 2026-11-27 temporarily cannot read or send them (a platform permission error is returned). The reply goes through the anti-spam check; it cannot be sent while the workspace is suspended. (Required scope: cd.engagement.manage)

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": {
      "accountId": "<accountId>",
      "commentId": "<commentId>",
      "text": "<text>",
      "confirm": "<confirm>"
    },
    "name": "reply_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes1-1000 characters
confirmYestrue = the user has approved this specific action. Without it the request is rejected with 409 AGENT_USER_CONFIRMATION_REQUIRED.
accountIdYes
commentIdYes
workspaceIdNoOptional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the reply is public, the exact failure modes (409 on read-only platforms, platform permission error for pending Instagram scopes, rejection under suspension or anti-spam), and the required scope cd.engagement.manage. This is the kind of behavioral context an agent cannot infer from readOnlyHint=false / openWorldHint=true / idempotentHint=false.

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?

Front-loads the core action and visibility in the first clause, then groups caveats and the required scope at the end. Dense but every clause carries a distinct operational fact; the parenthetical asides make it slightly harder to scan than a clean bulleted structure.

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 5-parameter, open-world mutation with no output schema, the description covers the important risks (public exposure, per-platform failures, suspension, confirmation). Its main omission is what a successful call returns or how the created reply is identified, which matters since there is no output schema to fall back on.

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 60%, and the description adds only an implicit hint about accountId ('as this account'); it says nothing about text length, commentId format, or workspaceId scoping. The confirm gate is already fully documented in the schema, so repeating it would add nothing.

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?

States a specific verb and resource ('Publicly reply to a comment as this account') plus the observable effect ('the reply appears on the platform'), which is enough for an agent to distinguish this from moderation siblings like hide_comment. It does not explicitly name an alternative sibling, so it stops short of the top band.

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?

Gives concrete eligibility conditions rather than generic advice: which platforms are read-only and return 409, the Instagram permission-review state, the anti-spam gate, and the suspended-workspace restriction. It never contrasts with a sibling tool (e.g. posting a top-level comment vs replying), so it is context-rich but not a full when/when-not guide.

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.