Skip to main content
Glama

skein_comment_delete

DestructiveIdempotent

Soft-delete a comment. The comment author may always delete their own comment; otherwise the caller must be an owner/admin of the comment's project (a plain member who is not the author gets forbidden). The comment body is retained server-side for audit but blanked on read — the row stays in the thread as a tombstone ("comment deleted"). Idempotent: deleting an already-deleted comment is a no-op success. Optional reason is recorded on the comment.deleted event. 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": {
      "commentId": "<commentId>"
    },
    "name": "skein_comment_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoOptional free-form reason recorded on the comment.deleted event.
commentIdYesUUID of the comment to delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: explains that data is retained server-side but blanked on read, that the row remains as a tombstone, that a repeat call is an idempotent no-op success, and that a lost serialization race returns `serialization_retry` with instruction to retry verbatim. These are exactly the non-obvious traits an agent needs beyond destructiveHint/idempotentHint.

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 two words, and each following sentence carries distinct, actionable information (permissions, tombstone, idempotency, error retry). The parentheticals and em-dash asides make sentences dense, but nothing is filler.

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?

For a two-parameter mutation with no output schema, the definition covers what is destroyed vs retained, who may perform it, the failure modes (`forbidden`, `serialization_retry`), and repeat-call behavior. An agent can call this correctly without further exploration.

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 both parameters are already documented. The description restates that `reason` is recorded on the comment.deleted event, matching rather than extending the schema's own wording, and adds nothing new about `commentId` beyond the UUID requirement.

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?

Opens with a specific verb+resource and immediately qualifies it as a soft-delete, then defines the resulting state (body retained for audit, blanked on read, tombstone in the thread). That distinguishes it from a hard delete and from skein_comment_update, which would be the edit path.

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?

Gives explicit authorization conditions — author may always delete, otherwise must be owner/admin, plain member gets `forbidden` — plus retry guidance for `serialization_retry`. It does not name a sibling to use instead when the intent is editing rather than removing, so it stops short of a full when/when-not routing statement.

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.