Skip to main content
Glama

Create Wiki comment

wiki_comments_create

Add a comment (or a threaded reply) to a wiki page.

Instructions

Add a comment (or a threaded reply) to a wiki page.

Pass body.parent_id to reply to an existing comment — find ids with comments_list. Returns the created comment with its numeric 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": {
      "page_id": "<page_id>",
      "body": "<body>"
    },
    "name": "wiki_comments_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe comment: required ``body`` text plus optional placement — ``inline_text`` (pin to a page fragment), ``parent_id`` (reply), ``thread_id``.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
page_idYesNumeric id of the page to comment on.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. First observedv0.67.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds the return behavior ("returns the created comment with its numeric id"), which is useful given there is no output schema, but says nothing about permissions, side effects on the page, or rate limits.

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 sentences with no filler; the primary action is front-loaded and the reply path plus return value follow in order of likely need. Nothing could be cut without losing 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?

It covers the core action, the threaded-reply path, and the return value, which is appropriate for a nested-schema write tool with no output schema. It leaves the inline-comment and thread_id modes unaddressed, a modest gap given those are fully described in the schema.

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%, including the nested body object and dry_run, so the schema already carries the parameter burden and the baseline is 3. The description adds only a small amount of extra meaning by pointing to comments_list as the source of parent_id values.

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 opens with a specific verb and resource: "Add a comment (or a threaded reply) to a wiki page," which scopes it to the wiki surface and distinguishes it from the tracker comment creators by resource. It does not explicitly contrast with siblings like tracker_comments_create, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives one concrete routing rule: pass body.parent_id to reply and find ids with comments_list. That is real guidance, but there is no direction on when to use thread_id versus parent_id versus inline_text, and no mention of prerequisites such as the page or fragment needing to exist.

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

Deploy Server

Other Tools