Skip to main content
Glama
swsd-mcp

swsd-mcp

by mikimatsub

swsd_add_incident_comment

Add a comment to a SWSD incident. Set is_private: true to make the comment internal-only (default false = visible to the requester). To edit a comment after posting, use swsd_update_comment. WRITE — does not retry on transient failure.

Instructions

Add a comment to a SWSD incident. Set is_private: true to make the comment internal-only (default false = visible to the requester). To edit a comment after posting, use swsd_update_comment. WRITE — does not retry on transient failure.

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": {
      "incident_id": "<incident_id>",
      "body": "<body>"
    },
    "name": "swsd_add_incident_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesComment text. Plain text or HTML.
notifyNoRequest SWSD notification callbacks (add_callbacks=true). Default false. Set true only when the user explicitly asks to notify; delivery depends on SWSD settings.
is_privateNoIf true, the comment is internal-only (not visible to the requester). Default false.
incident_idYesSWSD incident reference. Accepts either the internal id (>=7 digits, e.g. 180457930) or the human-facing number (<=6 digits, e.g. 60310). The handler auto-detects via digit count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.5.0
    • addedInput schema / properties / notify
      Added value: +{
      +  "default": false,
      +  "description": "Request SWSD notification callbacks (add_callbacks=true). Default false. Set true only when the user explicitly asks to notify; delivery depends on SWSD settings.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv3.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. First observedv2.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and idempotentHint=false, so the write nature is known; the description adds genuinely new behavior: no retry on transient failure, which changes how an agent should handle errors. It also spells out the requester-visibility consequence of the default, which is the main risk of this operation. The missing piece is whether callbacks/notification actually fire, left partly to the schema.

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?

Three short sentences, zero preamble: action first, then the riskiest flag, then the edit escape hatch, then the failure-mode warning. Every clause earns its place.

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?

Covers the write semantics, privacy implication, and no-retry behavior, which is most of what an agent needs for a 4-param mutation. However, there is no output schema and the description never says what comes back (e.g. a new comment id needed to later call swsd_update_comment), leaving a real gap for a chained workflow.

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 incident_id's dual id/number format and notify's callback semantics are already documented in the schema. The description restates the is_private default rather than adding meaning beyond it, so the baseline 3 applies.

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?

States a specific verb and resource ('Add a comment to a SWSD incident') and immediately distinguishes itself from the closely-named sibling by routing edits to swsd_update_comment. An agent can tell add-vs-edit apart without opening either 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?

Gives clear conditional guidance on the privacy flag ('set is_private true for internal-only, default false = visible to requester') and names the alternative tool for post-hoc edits. It does not cover when to comment versus other incident mutations (state change, assignment), but the primary fork is explicit.

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