Skip to main content
Glama

notion_create_comment

Add a comment to a Notion page, selected text, or discussion reply by specifying the account, page, and markdown; optionally target a discussion or comment to reply to.

Instructions

Comment on a page, on a piece of its text (selection_with_ellipsis), or reply in a discussion (discussion_id).

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

Input Schema

NameRequiredDescriptionDefault
accountYesWhich connected account (alias) to act as, e.g. "business".
page_idYesPage ID (with or without dashes) or Notion URL.
markdownYesThe comment.
discussion_idNoDiscussion to reply in.
reply_to_comment_idNoComment to reply to.
selection_with_ellipsisNo~10 characters from each end of the text to comment on, joined by "...".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.7/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden. It implies a write operation by saying 'Comment,' but does not disclose permission requirements, notification effects, failure behavior for ambiguous selections, or what is returned after creation.

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?

The definition is a single efficient sentence that front-loads the action and then lists the three modes with their associated parameters. There is no redundant or filler language.

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

Completeness3/5

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

The description covers the three invocation modes well enough for a simple comment-creation tool. However, with no annotations and no output schema, it omits behavioral context such as side effects, permissions, and return behavior, so it is only minimally complete for a mutation tool.

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 the schema already documents all six parameters well. The description reinforces the meaning of selection_with_ellipsis and discussion_id by tying them to usage modes, but does not add syntax or constraints beyond the schema's own descriptions, making the baseline 3 appropriate.

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 states a specific verb and resource: 'Comment on a page,' and then enumerates the three supported commenting modes: page-level, text-selection, and discussion reply. It maps the distinguishing parameters directly to those modes, so an agent can understand what the tool does 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?

The description gives clear mode-selection guidance by naming selection_with_ellipsis for commenting on a piece of text and discussion_id for replying in a discussion. It does not explicitly exclude alternatives like notion_get_comments for reading, or state when not to use this tool, so it falls just short of a 5.

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