Skip to main content
Glama

Responder comentario

reply_to_comment
DestructiveIdempotent

Publica una respuesta pública a un comentario (comment_ref de list_comments) desde la cuenta de la marca, como el botón Responder de la Bandeja. Úsala solo cuando el usuario pidió responder. Si nombró el comentario y lo que quiere decir, o te pidió que la escribas tú, responde sin volver a preguntar. Si pidió responder varios o todos, muéstrale primero la lista de respuestas propuestas y espera un solo sí. Escribe en el idioma y tono del comentario, corto y sin despedidas. ALREADY_REPLIED significa que la marca ya respondió: no insistas. REPLY_PACE_WARNING significa que esa cuenta ya contestó muchos comentarios en la última hora: muéstrale el aviso al usuario y no sigas salvo que él pida seguir igual; recién ahí reintenta con acknowledge_pace_warning true (queda registrado que aceptó). Una operation_id nueva por respuesta.

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": {
      "comment_ref": "<comment_ref>",
      "message": "<message>",
      "operation_id": "<operation_id>"
    },
    "name": "reply_to_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYes
comment_refYescomment_ref de list_comments, tal cual
reply_to_idNoreply_id de una respuesta del hilo, si se contesta a esa persona y no al comentario original
operation_idYesIdentificador nuevo por cada respuesta; repítelo solo al reintentar la misma
acknowledge_pace_warningNotrue solo si, después de mostrarle el aviso REPLY_PACE_WARNING, el usuario pidió seguir respondiendo igual

Output Schema

NameRequiredDescriptionDefault
sentYes
comment_refYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint, idempotentHint, openWorldHint) it discloses two named error codes, ALREADY_REPLIED and REPLY_PACE_WARNING, and the exact escalation path for the pace warning via acknowledge_pace_warning. It also explains the idempotency contract (one new operation_id per reply, reuse only on retry). It stops short of saying the published reply is irreversible/visible to everyone or how to undo it, which is the main remaining gap for a destructive write.

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?

Purpose and scope come first, then the operating rules, then the error handling, so it is well front-loaded and every sentence carries a rule. It is dense and long for a tool description, with some conversational-flow instructions that could be trimmed, but nothing is redundant filler.

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 preconditions, retry semantics and both known error codes. The only uncovered area is the reply_to_id thread-reply scenario, which an agent must infer from the schema alone.

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?

Schema coverage is already 80%, so the baseline is 3; the description adds genuine meaning for message (write in the comment's language and tone, short, no sign-offs) and for acknowledge_pace_warning (only true after the user has seen the warning and asked to continue). It says nothing about reply_to_id, the thread-level reply target, which is left entirely to the schema.

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 concrete verb and resource ("Publica una respuesta pública a un comentario") plus the source of the identifier (comment_ref de list_comments) and the acting identity (cuenta de la marca). The qualifier "pública" and the analogy to the Bandeja Responder button separate it from private-reply and DM siblings without needing to name them.

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 about when to use it (only when the user asked to reply), when not to ask again (comment already named and message intent given), and what to do for multi-comment requests (show the proposed list and wait for a single yes). It also gives handling rules for the two named error states, which is exactly the when/when-not guidance the dimension asks for.

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