Skip to main content
Glama

Edit test case comment

update_comment
DestructiveIdempotent

Edit a test case comment. Requires project, case id, comment id and the new text. You can edit your own comments; editing someone else's requires elevated permission.

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": {
      "project": "<project>",
      "caseId": "<caseId>",
      "commentId": "<commentId>",
      "comment": "<comment>"
    },
    "name": "update_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseIdYesTest case id the comment is on.
commentYesNew comment text.
projectYesProject id the case belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted.
commentIdYesComment id to edit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project / description
      Previous value: -"Project id the case belongs to. Numeric id from get_projects (same as in the app URL); not the project name."New value: +"Project id the case belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so the agent knows this is a mutating but idempotent operation. The description adds valuable authorization context—editing your own comments versus needing elevated permission for others—which is not captured by annotations. It stops short of explaining that the existing comment text is overwritten, but that is the main remaining gap.

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 sentences with zero waste: the first states the operation and required inputs, the second delivers the permission rule. It is front-loaded and appropriately sized for a simple update tool.

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 four-parameter mutation with full schema coverage and annotations covering the safety profile, the definition is nearly complete. The only missing pieces are explicit sibling routing and a note that the edit replaces existing text, but neither is critical for correct invocation.

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%, so all four parameters are already documented in the schema, including the note that project must be a numeric id. The description merely restates the required inputs (project, case id, comment id, new text) without adding syntax or format meaning beyond the schema.

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 definition gives a specific verb and resource ("Edit a test case comment") and lists the identifying inputs, so the operation is unambiguous. It does not explicitly distinguish itself from siblings like add_comment or delete_comment, though the verb 'edit' implies the difference.

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

Usage Guidelines3/5

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

It states the permission context (own comments vs. others requiring elevated permission), which helps the agent decide whether the call will succeed. However, there is no explicit routing to alternatives (e.g., add_comment for new comments, delete_comment for removal) or guidance on when to prefer this tool over those siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.