Skip to main content
Glama
yjiace

AlibabaCloud DevOps MCP Server

by yjiace

create_change_request_comment

Add comments to code change requests in Alibaba Cloud DevOps for review feedback, issue tracking, or inline code suggestions.

Instructions

[Code Management] Create a comment on a change request

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
organizationIdYesOrganization ID, can be found in the basic information page of the organization admin console
repositoryIdYesRepository ID or a combination of organization ID and repository name, for example: 2835387 or organizationId%2Frepo-name (Note: slashes need to be URL encoded as %2F)
localIdYesLocal ID, represents the nth merge request in the repository
comment_typeNoComment type. Possible values: GLOBAL_COMMENT, INLINE_COMMENTGLOBAL_COMMENT
contentYesComment content, length must be between 1 and 65535
draftNoWhether it is a draft comment
resolvedNoWhether to mark as resolved
patchset_biz_idYesAssociated version ID, if it's INLINE_COMMENT, choose one from from_patchset_biz_id or to_patchset_biz_id
file_pathNoFile name, only for inline comments
line_numberNoLine number, only for inline comments
from_patchset_biz_idNoStart version ID for comparison, required for INLINE_COMMENT type
to_patchset_biz_idNoTarget version ID for comparison, required for INLINE_COMMENT type
parent_comment_biz_idNoParent comment ID
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states it 'creates' (implying a write/mutation operation) but doesn't mention required permissions, whether comments are editable/deletable, rate limits, or what happens on success/failure. This is inadequate for a mutation tool with zero annotation coverage.

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 description is a single, efficient sentence with zero wasted words. It's appropriately sized and front-loaded with the essential information.

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

Completeness2/5

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

For a mutation tool with 13 parameters, no annotations, and no output schema, the description is insufficient. It doesn't explain what happens after creation (e.g., comment ID returned?), error conditions, or behavioral constraints. The 100% schema coverage helps with parameters but doesn't compensate for missing behavioral context.

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 the schema already documents all 13 parameters thoroughly. The description adds no additional parameter information beyond what's in the schema, meeting the baseline for high coverage.

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 description clearly states the action ('Create a comment') and resource ('on a change request') with a domain context ('[Code Management]'). It distinguishes from siblings like 'create_commit_comment' by specifying 'change request' rather than 'commit', but doesn't explicitly differentiate from 'create_work_item_comment' or other comment tools.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like 'create_commit_comment' or 'create_work_item_comment' is provided. The description only states what it does, not when it's appropriate or what prerequisites might be needed.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yjiace/alibabacloud-devops-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server