Skip to main content
Glama

Generate DM reply suggestions

generate_dm_suggestions

Asks the brand's AI for reply suggestions to the newest message of the contact in a DM conversation, in the brand's voice. Consumes AI credits of the brand's plan on every call. New suggestions are added to the existing ones (at most 6 per message) and nothing is sent; send_dm sends one.

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>",
      "conversationId": "<conversationId>"
    },
    "name": "generate_dm_suggestions"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false; the description adds genuinely useful behavior beyond them: credits are spent per call, results are appended rather than replaced, and there is a cap of 6 per message. That explains why the call is non-idempotent, which is the key risk an agent needs to know. It does not cover auth/permission requirements or failure modes, keeping it at a solid but not exceptional 3.

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 dense sentences with zero filler: purpose first, then cost, then mutation semantics and the handoff to send_dm. Every clause carries information an agent needs.

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, non-destructive generation tool with no output schema, the description covers purpose, cost, accumulation behavior and the send handoff. The main remaining gap is how the generated suggestions are read back, which the description only hints at via 'added to the existing ones.'

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 coverage is 50%: conversationId is documented in the schema, while 'brand' is not. The description implicitly gives 'brand' meaning by tying it to 'the brand's AI,' 'the brand's voice' and 'the brand's plan' credits, which is real added semantics, but it never states the accepted format of the brand value, so half the parameters remain underspecified.

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?

The description names a specific verb and resource ('Asks the brand's AI for reply suggestions') and pins the scope to 'the newest message of the contact in a DM conversation, in the brand's voice.' That scope word 'DM' plus the explicit contrast with send_dm lets an agent separate this from send/comment-reply siblings without opening a 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?

It gives clear routing context: this only generates, 'nothing is sent; send_dm sends one,' and warns that AI credits are consumed on every call. It stops short of explicit when-not-to-use guidance (e.g., the difference from generate_reply_suggestions for non-DM surfaces), so it is clear context rather than a full decision rule.

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