Skip to main content
Glama

Generate reply suggestions

generate_reply_suggestions

Asks the brand's AI for new reply suggestions for one comment, written in the brand's voice from its instructions, past replies and knowledge. New suggestions are added after the existing ones (at most 15 per comment) and are not sent. Counts as AI usage of the brand's plan. send_comment_reply sends one, as is or edited, with its index as basedOnSuggestionIndex.

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

Input Schema

NameRequiredDescriptionDefault
brandYes
commentIdYesComment id, a numeric string as returned by the list operations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive, closed-world call, but the description adds real behavioral context: suggestions are appended after existing ones, capped at 15 per comment, are never sent, and consume AI usage on the brand's plan. The only gap is what happens when the cap is already reached — error versus no-op is left unstated.

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

Conciseness5/5

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

Three tight sentences with no filler. The core action and scope come first, the append/cap/no-send behavior next, and the cross-reference to send_comment_reply last, which is the right priority order.

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 two-parameter side-effecting generation tool with no output schema, the description covers cost, mutation semantics, and the follow-up flow well. It is slightly thin on what the generated suggestions look like on return (that they carry indices, which is only implied via basedOnSuggestionIndex) and on the at-cap behavior.

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 50%: commentId is documented in the schema, but brand has no description anywhere. The description says 'one comment' and 'the brand's AI', which weakly implies both parameters, but adds no format, ID source, or defaulting information beyond what the schema supplies.

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 ('Asks the brand's AI for new reply suggestions') scoped to 'one comment', and immediately clarifies the source of the content (brand voice from instructions, past replies, knowledge). An agent can distinguish this from generate_dm_suggestions or send_comment_reply without opening the schema.

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?

Provides clear context for when to use it: for a single comment, to add more options alongside existing ones. It explicitly routes the agent to send_comment_reply for actually sending and even names the linking field (basedOnSuggestionIndex). It stops short of an explicit when-not-to-use statement or naming generate_dm_suggestions as the DM counterpart.

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