Skip to main content
Glama

Publish Draft Note

gitlab_publish_draft_note

Publishes a draft note on a GitLab merge request, converting it into a visible comment for collaborators.

Instructions

Publish one merge-request draft note.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNo
draft_note_idYes
merge_request_iidYes
Behavior3/5

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

Annotations already indicate non-readOnly (write operation) and non-destructive. The description adds the term 'publish', implying a specific mutation, but does not elaborate on side effects like notification triggering or note becoming visible. It meets a baseline but adds limited context beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, focused sentence that front-loads the core purpose. It is efficient, but the brevity sacrifices necessary detail on parameters and usage, which prevents a perfect score.

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?

For a simple mutation with 3 parameters and no output schema, the description covers the basic operation but lacks context about parameter usage, side effects, and differentiation from sibling tools. It is adequate but incomplete.

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 0%, so the description must explain parameters. However, it does not describe project_id, draft_note_id, or merge_request_iid at all. The agent gets no help understanding what these parameters mean or how they relate.

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 clearly states the verb 'publish', the resource 'draft note', and the context 'merge-request'. It also uses 'one' to distinguish from the sibling tool 'gitlab_bulk_publish_draft_notes', providing precise purpose.

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 is given on when to use this tool versus alternatives. For example, it does not contrast with gitlab_bulk_publish_draft_notes for multiple notes, nor does it provide context about prerequisites or when not to publish.

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

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