Skip to main content
Glama
aliyun

AlibabaCloud DevOps MCP Server

Official
by aliyun

review_change_request

Submit a code review decision (PASS/NOT_PASS) with an optional comment and pending draft comments in one operation, keeping merge request reviews on track.

Instructions

[Code Management] Review a change request (merge request): submit a PASS / NOT_PASS opinion, optionally with a comment, and optionally submit pending draft comments at the same time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localIdYes局部ID,表示代码库中第几个合并请求。示例:'1' 或 '42'
repositoryIdYes代码库ID或全路径(斜杠须编码为%2F),如 2835387 或 myorg%2FmyRepo
reviewCommentNo评论内容,随评审一起提交。示例:'代码逻辑没问题,但建议补一个单测'
reviewOpinionNo评审意见。PASS - 通过;NOT_PASS - 不通过。表达评审结论时必传,仅提交草稿评论时可省略
organizationIdYes组织ID
submitDraftCommentIdsNo要一并提交的草稿评论ID列表。示例:['4ff23jj62c795xxxb468af8']
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the core behavior (submitting an opinion, optional comment, and optional draft comment submission) but does not mention side effects like reversibility, permission requirements, or return values. It adds some context beyond schema (draft comment submission) but lacks deeper behavioral caveats.

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 sentence that front-loads the domain tag and immediately states the verb and resource. It is concise with no filler or redundant phrasing.

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 medium-complexity tool with 6 parameters and no output schema, the description adequately explains the core action and optional behaviors. It does not explain return values or error conditions, but the essential decision-making information is present.

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 parameters are already well-documented. The description does not add any additional meaning beyond what the schema provides; it only summarizes optionality that the schema already conveys.

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 description uses the specific verb 'review' with the resource 'change request (merge request)' and precisely outlines the action: submit a PASS/NOT_PASS opinion, optionally with a comment and draft comments. This clearly distinguishes it from siblings like get_change_request or merge_change_request.

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 description clearly establishes when to use this tool: to submit a review opinion on a change request. It does not explicitly mention alternative tools, but the context is unambiguous compared to related actions like creating a comment or merging.

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/aliyun/alibabacloud-devops-mcp-server'

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