Skip to main content
Glama

create_comment

Adds page-level comments to Docmost wiki pages in Markdown and enables replies to existing comments; inline selection comments are not supported.

Instructions

Add a page-level comment. Inline selection comments are not supported.

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": {
      "page_id": "<page_id>",
      "markdown": "<markdown>"
    },
    "name": "create_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYesUUID or slugId
markdownYesComment body as Markdown
parent_comment_idNoReply to this comment

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.1
    • addedInput schema / properties / parent_comment_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. Changed2 schema fields changedv1.1.0
    • changedInput schema / properties / page_id / description
      Previous value: -"Page UUID or slugId"New value: +"UUID or slugId"
    • changedInput schema / properties / parent_comment_id / description
      Previous value: -"Parent comment UUID to reply"New value: +"Reply to this comment"
  3. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations supply only destructiveHint=false, so the description carries most of the burden for a create operation. It adds a useful non-obvious constraint about scope, but says nothing about permission requirements, whether the author is the authenticated user, notification effects, or what happens when parent_comment_id is supplied.

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?

Two short sentences, front-loaded with the action and followed by the one constraint that matters. Nothing is wasted and nothing essential is buried.

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 simple three-parameter create tool with full schema coverage and no output schema, this is nearly sufficient. The remaining gap is that it does not mention return behavior (e.g., the created comment identifier) or threading behavior when a parent is given.

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 100%, so page_id, markdown, and parent_comment_id are already documented, including the reply semantics of parent_comment_id. The description adds only the page-level scoping notion, so baseline 3 applies.

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?

States a specific verb and resource ('Add a page-level comment') and immediately bounds scope by excluding inline selection comments. An agent can tell this creates a page-level comment rather than a reply thread or other creation action, though no sibling (e.g., create_page, update_comment) is named.

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 description gives a clear condition for use (page-level comments) and an explicit exclusion (inline selection comments not supported), which is real routing guidance. It stops short of naming what to do instead when the content is an inline selection, or pointing at get_comments/update_comment as complements.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.