Skip to main content
Glama

edit_bug_comment

Updates an existing ZenTao Bug comment action using its actionId, retrieved from bug actions first. Resolve, close, and assign actions are not editable; server permissions still apply.

Instructions

Edit an existing comment action belonging to this Bug. Get actionId from get_bug_actions first; cannot edit resolve/close/assign actions. Server permissions still apply.

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": {
      "id": "<id>",
      "actionId": "<actionId>",
      "comment": "<comment>"
    },
    "name": "edit_bug_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
commentYes
actionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the actionId prerequisite, the action-type restriction, and that server permissions still apply, but it never says whether the supplied comment overwrites the existing body, whether the edit is reversible, or what a failure returns.

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?

Three short, front-loaded sentences with no filler; the resource and the prerequisite come first. 'Server permissions still apply' is the only slightly vague clause, but it still conveys information.

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?

For an unannotated mutation tool with no output schema and 0% parameter documentation, this is minimum viable: prerequisites and action-type limits are covered, but replacement semantics, failure behavior, and the meaning of 'id' are 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 description coverage is 0%, so the description must compensate for three undocumented parameters and does so only partially: it explains the origin of actionId, but says nothing about 'id' (bug identifier) and leaves ambiguous whether 'comment' replaces or appends to the existing text.

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?

The description pairs a specific verb with a specific resource ('Edit an existing comment action') and narrows scope by excluding resolve/close/assign actions, so an agent can distinguish it from siblings like add_bug_comment or close_bug without opening a 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?

It gives a concrete prerequisite ('Get actionId from get_bug_actions first') and an explicit exclusion ('cannot edit resolve/close/assign actions'), which is real when-to-use guidance. It stops short of naming the tool to use instead for new comments, so it is not a full when/when-not/alternatives treatment.

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