Skip to main content
Glama
testit-mcp-server

testit-mcp-server

by iampopovich

update_work_item_comment

DestructiveIdempotent

Replace the text of an existing work item comment using its UUID to keep TestIT discussions accurate and current.

Instructions

Replace the text of a work item comment.

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>",
      "text": "<text>"
    },
    "name": "update_work_item_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
commentIdYesComment UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so safety is covered structurally. The description adds one genuinely useful behavioral nuance by saying "Replace the text" — implying full overwrite of the existing body rather than a partial edit or append. It says nothing about permissions, reversibility, or what happens to a comment's metadata (author, timestamps).

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?

One front-loaded sentence with no filler or redundancy. It is efficient, though it is arguably too sparse to earn a top score — the single sentence carries no routing or constraint information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive mutation with no output schema, and the description does not say what is returned on success, whether the call fails for non-authors, or whether the replacement is recoverable. For a destructive tool operating on user-generated content, more context is warranted.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: commentId is documented as a "Comment UUID" but the required `text` parameter has no description anywhere. The description does not state whether text is markdown, plain text, length-limited, or how an empty string is handled, so it fails to compensate for the coverage gap.

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 pairs a specific verb ("Replace") with a specific resource ("the text of a work item comment"), making it clear this mutates an existing comment's body rather than creating or deleting one. Siblings like create_work_item_comment and delete_work_item_comment are implicitly differentiated by the verb, though none are named.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g., must be the comment author or have edit permission), and no mention of alternatives such as delete+recreate. The agent must infer the usage context entirely from the verb.

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