Skip to main content
Glama

bulk_publish_draft_notes

Publish all draft notes on a merge request, optionally set reviewer review state, and post a summary note (GitLab 19.2+).

Instructions

Publish all draft notes for a merge request. Optionally sets reviewer_state and posts a summary note (GitLab 19.2+). Can set reviewer_state even with no drafts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoSummary note body to post on the merge request (GitLab 19.2+)
internalNoIf true, the summary note is internal (GitLab 19.2+, default false)
project_idYesProject ID or complete URL-encoded path to project
reviewer_stateNoSet reviewer review state after publishing (GitLab 19.2+). Does not record a formal approval. Works even with no draft notes.
merge_request_iidYesThe IID of a merge request
Behavior3/5

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

The description covers the main action and optional behaviors but does not disclose additional traits such as irreversibility, permissions, or side effects. The 'openWorldHint' annotation warns of unknown side effects, but the description adds little beyond the schema.

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?

Two concise sentences efficiently convey the core functionality and optional features. No redundant information; structure is front-loaded.

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 covers the main purpose and optional parameters but lacks information about return values or what happens after publishing. Given no output schema, this is a gap. Version constraints are mentioned, which is helpful.

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

Parameters4/5

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

All parameters are fully described in the schema (100% coverage). The description adds valuable context that 'reviewer_state' can be set even with no drafts, improving understanding beyond schema alone.

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 primary action: 'Publish all draft notes for a merge request.' It distinguishes from the sibling 'publish_draft_note' by specifying bulk operation. Additional optional behaviors are mentioned.

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

Usage Guidelines3/5

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

The description implies the tool is for bulk publishing but does not explicitly differentiate from singular 'publish_draft_note' or provide when-not-to-use guidance. The optional features are listed but no context on when to use them.

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

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