Skip to main content
Glama

skein_comment

Add a comment to an existing issue. The comment is recorded with authorType="agent" so the timeline distinguishes agent-authored notes from human ones. body must be non-empty after trim and at most 100k characters.

The kind parameter (REQUIRED for agent callers) determines the resulting comment's authorKind: kind="directed" → authorKind="agent_directed" (the human user told the agent to post this comment, e.g. "reply to demo-42 with my answer below"); kind="autonomous" → authorKind="agent_autonomous" (the agent posted on its own initiative — handoff note, progress update, side-quest finding). The Humans/Agents filter chips on the comment thread fold human + agent_directed into "Humans" and surface agent_autonomous separately as "Agents". authorType (transport) stays agent regardless of kind.

The response is the created comment MINUS body, plus bodyOmitted:true — every other field of the comment is returned untouched, so this is an omission of one key, not an allowlist. You just supplied the text, and an echoed copy would sit in your context for the rest of the session and be re-sent on every later turn. What that leaves you includes id (for a follow-up skein_comment_update / skein_comment_delete) and version (the expectedVersion token). To read a body back — yours or anyone's — use skein_comment_get (by id) or skein_show (the thread). A write that lost a database serialization race (nothing written) returns serialization_retry — retry the call verbatim.

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": {
      "issueId": "<issueId>",
      "body": "<body>"
    },
    "name": "skein_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesComment body (markdown). Non-empty after trim.
kindNoComment origin classification (REQUIRED for agent callers): "directed" = the human user told the agent to post this comment; "autonomous" = the agent posted on its own initiative (handoff note, progress, side-quest finding). Cookie-session callers ignore this parameter and force authorKind=human; MCP agent callers must specify it.
issueIdYesFull hierarchical issue id (e.g. "demo-42").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only tell the agent this is a non-readonly, non-idempotent, non-destructive local write. The description goes well past that: it discloses the authorType/authorKind stamping and how the UI folds those into filter chips, the body-less response shape with `bodyOmitted:true`, why the echo is suppressed, and the serialization_retry failure mode where nothing was written and a verbatim retry is safe.

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 sentence and the three paragraphs map to distinct concerns (action, kind semantics, response/retry). The rationale for suppressing the body echo ("would sit in your context for the rest of the session and be re-sent on every later turn") is a touch verbose and could be one clause shorter without losing the point.

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?

With only three flat parameters and no output schema, the description carries the return-shape burden itself and does so precisely: it names `id` and `version`, explains the body omission is a single-key omission rather than an allowlist, and points to the tools for reading bodies. Nothing an agent needs to call this correctly is missing.

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 coverage is 100%, so the baseline is 3. The description does add real value — the kind→authorKind mapping, the filter-chip consequence, and a 100k character ceiling that the schema does not state — but the bulk of the `kind` and `issueId` explanation already lives in the schema, so the added meaning is incremental rather than transformative.

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?

"Add a comment to an existing issue" gives a specific verb (add) and resource (comment on an issue), which cleanly separates it from the sibling mutators skein_comment_update/delete and the reader skein_comment_get. An agent can pick this tool without opening any schema.

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?

The description resolves the only real ambiguity for a write like this — the required `kind` choice — with concrete examples for both "directed" and "autonomous", and it explicitly routes read-back needs to skein_comment_get (by id) or skein_show (thread). It also names the one retry case (serialization_retry) with the exact action to take.

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.