Skip to main content
Glama
mikimatsub

swsd-mcp

by mikimatsub

swsd_update_task_state

DestructiveIdempotent

Pass completed true to mark a SolarWinds Service Desk incident sub-task Completed; pass false to revert it to New.

Instructions

Mark a SWSD incident sub-task as complete or incomplete. Pass completed: true to set the task to "Completed", or completed: false to revert to "New". For finer state control (e.g., "In Progress"), use the SWSD UI directly — this tool is the safer wrapper for the common done/not-done transition. WRITE — idempotent: re-applying the same value is a no-op on SWSD.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesSWSD task id (from swsd_list_incident_tasks).
completedYesTrue to mark the task complete ("Completed"); false to mark it incomplete ("New").
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.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv2.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already carry write/idempotent/destructive/openWorld hints; the description adds real context beyond them by stating that re-applying the same value is a no-op and by naming the exact state transitions (Completed vs. New). It stops short of covering permission requirements, error behavior, or side effects on related task fields, so it is strong but not exhaustive.

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?

Front-loaded with the purpose and the key parameter mapping, then a routing note, then a terse write/idempotency tag. Four short units with no padding, though the trailing 'WRITE — idempotent' fragment is slightly clipped in style.

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?

For a 3-param mutation tool with no output schema, the description covers what changes, the idempotency contract, and the scope boundary against alternate state handling. Missing only peripheral detail such as auth prerequisites or failure modes.

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 completed boolean-to-state mapping and the incident_id auto-detection rule, so the schema does the heavy lifting. The description restates the completed semantics ('revert to "New"') but adds no syntax or format detail the schema lacks; 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: 'Mark a SWSD incident sub-task as complete or incomplete.' The phrase 'incident sub-task' scopes it precisely and separates it from the incident-level sibling swsd_update_incident_state without the agent needing to open 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 Guidelines5/5

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

Explicitly defines the when ('the common done/not-done transition') and the when-not with a routing instruction ('For finer state control (e.g., "In Progress"), use the SWSD UI directly'). The alternative for out-of-scope cases is named, so nothing is left to inference.

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