Skip to main content
Glama

Suggest a first comment

suggest_first_comment

Write the first comment to go under a post: the right place for links, an engagement question or extra hashtags. Costs 2 AI credits per call (from the monthly pool; nothing with the organization's own AI key). SPENDS AI CREDITS ONLY WITH confirm: true. Call it first without confirm: nothing runs and nothing is charged, you get the quote (what it will do and the credits). Tell the user, in your own words, exactly that — including the options you chose, so they can change them — and wait for a clear yes before calling again with the same arguments and confirm: true. One yes covers the plan they approved (e.g. every line of an approved voice-over with the chosen voice); anything new or different needs a new yes.

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": {
      "text": "<text>"
    },
    "name": "suggest_first_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
confirmNotrue ONLY after the user said yes to the quote (what it does and the credits). Without it nothing runs and nothing is charged.
languageNo
workspaceIdNoWorkspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used.
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

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?

Far beyond what the annotations convey: the exact cost (2 AI credits from the monthly pool, nothing on the organization's own key), the two-phase quote/confirm protocol, the fact that an unconfirmed call charges nothing, the scope of a single approval, and how repeating an idempotencyKey returns the original result without double execution. The mutation implied by readOnlyHint=false is fully accounted for, and nothing conflicts with the annotations (idempotentHint=false is consistent with idempotency being opt-in via the key).

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 is front-loaded in the first clause, followed by cost and the confirm protocol in priority order. It runs long and repeats the same idea twice ('nothing runs and nothing is charged'), but nearly every sentence carries actionable constraint 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 credit-spending, non-destructive tool with no output schema, the definition covers cost, consent workflow, retry safety, and workspace scoping, and it describes the quote payload well enough. It stops short of saying what the successful, confirmed response actually contains (the suggested comment text and any options), and leaves the required `text` parameter's meaning implicit.

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?

At 60% schema description coverage the description must partially compensate. It reinforces the semantics of confirm and idempotencyKey, but those are already documented in the schema, while the required `text` and the optional `language` are never explained — an agent must infer that `text` is the post content the comment sits under. That leaves a real gap on the most important parameter.

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 description names a concrete verb and resource — writing the first comment under a post — and even enumerates typical content (links, engagement question, extra hashtags). It implicitly separates itself from reply_to_comment and create_comment_to_dm by scoping to the first comment on a post, but never explicitly contrasts with siblings such as suggest_hashtags, which also produce comment-adjacent copy.

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?

The when-to-use procedure is unusually explicit: call once without confirm to get the quote, relay it to the user, then call again with identical arguments plus confirm: true after a clear yes, and one yes covers only the approved plan. What is missing is guidance on choosing this tool over sibling generators like suggest_hashtags or suggest_post_idea, and there are no when-not-to-use conditions.

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