Skip to main content
Glama

createPostComment

Comment on a feed post. Returns the created comment. The comment is posted as the administrator who connected, never on behalf of a member. Set comment.type to "comment". To reply to a comment, set comment.parentCommentRef to the id of a comment from getPostComments on the same post. A repeated call posts a second comment, so after a failure or timeout check getPostComments before calling again. Get comment.postRef from getPosts. Never invent UUIDs; only use values from prior tool responses.

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": "<comment>"
    },
    "name": "createPostComment"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentYesFeed post comment to create.

Output Schema

NameRequiredDescriptionDefault
commentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / comment / properties / membership / properties / user / properties / type
      Added value: +{
      +  "description": "Whether the user is a person or an AI agent.",
      +  "enum": [
      +    "user",
      +    "agent"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / comment / properties / membership / properties / user / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "type"
      +]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare it is a non-destructive, non-open-world write; the description adds real behavioral context beyond that: the comment is authored by the connecting administrator rather than a member, and the operation is not idempotent, so retries create duplicates. The UUID-provenance rule ('never invent UUIDs; only use values from prior tool responses') further constrains correct invocation.

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-loaded with the action and the return, then ordered by guidance importance (type, reply wiring, retry hazard, ID provenance). Slightly redundant where it re-states the schema's constant ('Set comment.type to "comment"'), but no sentence is filler-level padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and the description confirms the returned comment, so return shape needn't be explained. For a nested-object write with a single required parameter, the description covers authorship, reply wiring, ID sourcing, and duplicate-call risk — everything an agent needs to call it correctly.

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 100%, so the baseline is 3, and the description adds meaning on top: it pins comment.type to "comment" for this feed item and frames parentCommentRef as the reply switch, plus tells where postRef values must come from (getPosts). Some of that restates the schema's const and field descriptions, so it lands just above baseline rather than at 5.

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 ('Comment on a feed post') and immediately clarifies the return ('Returns the created comment') and the acting identity ('posted as the administrator who connected, never on behalf of a member'). That scope statement cleanly separates it from createSupportTicketComment and from read siblings like getPostComments.

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 routing: reply to a comment by setting comment.parentCommentRef to an id from getPostComments on the same post; obtain comment.postRef from getPosts. It also gives when-not-to-retry guidance — a repeated call posts a second comment, so re-check getPostComments after a failure or timeout before calling again.

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