Skip to main content
Glama

Edit comment

gitlab_update_note

Update existing comments on GitLab issues or merge requests. Specify the target type, IID, note ID, and new body to replace the note.

Instructions

Edits an existing comment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
iidYes
bodyYes
note_idYes
project_idNoProject id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID.
target_typeYes
Behavior1/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, and the description adds no behavioral context beyond that. It does not mention permissions, error handling, idempotency, or effects on related resources, providing no extra transparency.

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 with no wasted words. It is appropriately front-loaded and concise, earning its place by stating the core function without fluff.

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?

With 5 parameters, no output schema, and minimal annotations, the description is too sparse to provide complete context. It lacks details on how parameters interact, what the update actually changes, or any edge cases, making it insufficient for an agent to invoke correctly in all scenarios.

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

Parameters1/5

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

Schema description coverage is only 20% (only project_id has a description), and the description does not compensate by explaining any parameters. It fails to clarify the roles of iid, note_id, target_type, or body, leaving the agent without sufficient semantic information.

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 'Edits an existing comment.' uses a specific verb and resource, clearly indicating the tool modifies an existing comment rather than creating or deleting one. This distinguishes it from sibling tools like gitlab_create_note and gitlab_delete_issue, making the purpose unambiguous.

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?

The description provides no guidance on when to use this tool versus alternatives, no prerequisites, and no exclusions. It simply restates the function implied by the tool name and title, offering no additional context for selection.

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/amalychev/gitlab-mcp'

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