Skip to main content
Glama

add_bug_comment

Add a free-text or HTML remark to a ZenTao bug and verify it in the action history without changing bug fields, status, or assignment.

Instructions

Add an ordinary free-text/HTML Bug remark and verify it in action history. Does not resolve, reassign or edit Bug fields.

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>",
      "comment": "<comment>"
    },
    "name": "add_bug_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
commentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the whole burden and does add real value: it discloses the field-level side-effect boundary (no status/assignee/field mutation) and a verifiable post-condition (the remark appears in action history). It says nothing about required permissions, whether HTML is sanitized or rendered, rate limits, or duplicate-comment behavior, which are the remaining unknowns for a write operation.

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?

Two tight sentences, front-loaded with the action and immediately followed by the scope limits. No filler, no restatement of the tool name, and the constraint sentence earns its place by preventing misuse.

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 simple two-parameter write tool with no annotations and no output schema, the definition covers purpose, boundaries, and a post-condition. The gap is the identity of the `id` parameter and any note on return value or permissions, which keeps it just short of fully self-sufficient.

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 is the only source of parameter meaning. It usefully clarifies that `comment` accepts free text or HTML, which the schema's bare string type does not convey, but it never explains that `id` identifies the target Bug, leaving the primary key undocumented in both schema and description.

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 ... Bug remark') plus a post-condition ('verify it in action history'), and explicitly carves out what it does NOT do (resolve, reassign, edit fields). That negation lets an agent distinguish it from resolve_bug, close_bug, and edit_bug_comment without opening any 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?

The exclusions give clear when-not guidance: if the goal is resolving, reassigning, or editing fields, this is the wrong tool. The positive case (attach a free-text/HTML remark) is implied rather than stated as a trigger condition, and no alternative is named by name, so it stops short of full routing guidance.

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