Skip to main content
Glama

Edit Merge Request

patch_merge_request

Update a merge request's title or description. Omit a field to leave unchanged, or pass empty description to clear it.

Instructions

Edit an existing merge request's title and/or description.

Omit a field to leave it unchanged; pass "" for description to clear it. At least one of title/description is required.

Args: title: New title, or omit to leave unchanged. description: New description ("" clears it), or omit to leave unchanged.

Returns: YAML with the updated merge request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
projectYes
review_idYes
descriptionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the burden and discloses key behaviors: omit-to-leave-unchanged, empty-string-to-clear, at least one field required, and returns YAML. This goes beyond the schema, though it does not cover permissions or side effects.

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 well-structured and front-loaded: a one-sentence purpose, then concise semantic rules, Args, and Returns. Every sentence earns its place with no redundancy.

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?

The description adequately covers update behavior and return format, but omits explanations for the required identifier parameters and does not clarify how to obtain them. Given the presence of an output schema and sibling lookup tools, this is a moderate gap.

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?

The description explains title and description semantics clearly, but schema coverage is 0% and the required parameters `project` and `review_id` are not described at all. This leaves a gap for agents trying to identify these parameters.

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 states 'Edit an existing merge request's title and/or description,' which is a specific verb+resource+fields. It clearly distinguishes from siblings like put_merge_request (full update) and get_merge_request (read) by emphasizing partial update semantics.

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 provides clear usage context: use when updating title/description, with explicit instructions on omitting fields and clearing the description. It does not name alternatives or exclusions, but the context is sufficient to guide selection among siblings.

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/bindreams/space-mcp'

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