Skip to main content
Glama

Assign a review comment

assign_comment
Idempotent

Assign a review thread to one person using the name Aldine shows or "me"; set to null to clear it. Replaces the current assignee and can email the new assignee.

Instructions

Assign a review thread (comment_id from list_comments) to one person who can open the project, by the name Aldine shows for them, or "me" for the user you work for; to:null clears it. One assignee per thread: assigning replaces the previous one. The new assignee gets an email if the server sends them. An unknown or shared name is an error listing the names to choose from. Changes no file.

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": {
      "comment_id": "<comment_id>",
      "to": "<to>"
    },
    "name": "assign_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesThe person's name as Aldine shows it, "me", or null to clear the assignee.
projectNoProject id. Optional when the access token is scoped to exactly one project.
comment_idYesThe thread, as list_comments names it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.22.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the generic mutation and idempotence annotations, it discloses single-assignee replacement, conditional email notifications, errors for unknown or shared names with valid choices, and the absence of file changes. These details clarify state changes, side effects, and failure behavior without conflicting with the annotations.

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?

The action and identifier/assignee semantics are front-loaded, while subsequent sentences each add distinct information about replacement, notification, errors, or file scope. The opening sentence is dense, but the overall wording is compact and contains no filler.

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

Completeness5/5

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

For a three-parameter metadata mutation, the description and schema together supply required values, optional project scoping, assignment and clearing semantics, eligibility, side effects, and failure behavior. Although there is no output schema and the success response is not described, that omission does not impede correct selection or invocation.

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

Parameters4/5

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

Schema coverage is 100%, and the description repeats much of the `to` and `comment_id` documentation. It still adds useful meaning: "me" identifies the user the agent works for, assignees must be able to open the project, and invalid or shared names produce a choice-listing error; optional project scoping remains documented in the schema.

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 opening clause gives a specific verb and resource: assigning a review thread to one eligible person, with `to:null` also defining unassignment. Sourcing `comment_id` from list_comments and stating "Changes no file" help distinguish it from comment-listing and file-editing siblings.

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 tells the agent to obtain `comment_id` from list_comments, choose someone who can open the project, and use `to:null` to clear an assignment. These are concrete invocation conditions, but there is no explicit when-not-to-use guidance or routing to an alternative for related comment operations.

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