Skip to main content
Glama

Add test case comment

add_comment

Add a comment to a test case (e.g. analysis or notes from an AI agent). Requires project and case id.

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

Input Schema

NameRequiredDescriptionDefault
caseIdYesTest case id to comment on.
commentYesComment 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.

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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the write semantics are covered structurally. The description adds only the flavor of the comment content; it does not explain the consequence of the non-idempotent behavior (duplicate comments on retry) or what a successful call returns, which matters for a mutation tool.

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?

Two short clauses, front-loaded with the action and immediately followed by the intent example and prerequisites. No filler, though the prerequisite clause is somewhat redundant with the required list in the schema.

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 a three-parameter, fully documented, non-destructive write tool this is adequate, and annotations cover the safety profile. The remaining gap is the absence of an output schema combined with no statement of what is returned (e.g. new comment id), which an agent may need for follow-up calls.

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 coverage is 100%, and the project parameter description already spells out the numeric-id-only constraint and points to get_projects. The description's 'Requires project and case id' merely restates the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Add a comment to a test case') and even gives the content intent ('analysis or notes from an AI agent'), which separates it from update_comment and delete_comment by verb alone. It does not explicitly name those siblings, so it stops short of a 5.

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?

The parenthetical example implies a usage context (posting agent analysis or notes), and 'Requires project and case id' signals a prerequisite. However, there is no explicit when-not guidance or routing to update_comment/delete_comment for modifying existing comments, leaving the agent to infer the choice.

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.