Skip to main content
Glama
chntif
by chntif

workflow_issue_to_delivery

Delivers an existing GitLab issue end-to-end by creating a branch, commit, merge request, issue comment, local sync, and issue log.

Instructions

Use when an existing issue_iid should be delivered end-to-end: branch, commit, MR, issue comment, local sync, and issue log. Before composing commit_actions, first call workflow_prepare_delivery_workspace and use its preparation_key here. Then inspect the issue text and any screenshots. If the issue may contain image references, call gitlab_get_issue_images(project_id, issue_iid, include_base64=true) first and review the returned image blocks. Do not call this twice for the same issue or same user request. If the issue and MR may already exist, inspect GitLab first before retrying.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
preparation_keyYesRequired key returned by workflow_prepare_delivery_workspace. Delivery is rejected if the prepared base branch is no longer current.
delivery_methodNoDelivery implementation mode. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_DELIVERY_METHOD overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value.
issue_project_idNoIssue project ID. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_ISSUE_PROJECT_ID overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value.
issue_project_pathNoIssue project path. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_ISSUE_PROJECT_PATH overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value.
issue_iidYesIssue IID.
issue_images_reviewedNoSet to true only after you have inspected issue images with gitlab_get_issue_images(..., include_base64=true). Required when the target issue contains screenshots or image references.
code_project_idNoCode project ID. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_CODE_PROJECT_ID overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value.
code_project_pathNoCode project path. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_CODE_PROJECT_PATH overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value.
target_branchNoMR target branch. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_TARGET_BRANCH overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value.
branch_nameNoOptional branch name override.
english_slugNoOptional English slug used when generating branch name.
work_typeNoOptional git/conventional work type override like feat, fix, docs, refactor, hotfix, feature.
summaryNoOptional summary used for branch/commit/MR title.
commit_messageNoOptional commit message.
commit_actionsNoCommit actions list. Required when delivery_method=remote_api.
change_summaryYesChange summary used in MR description and issue log.
test_planYesTest/acceptance plan used in MR description.
labelNoOptional MR label. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_LABEL overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value.
assignee_usernameNoOptional assignee username for MR. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_ASSIGNEE_USERNAME overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value.
checkout_local_branchNoWhether to fetch/pull and switch local repo to target branch. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_CHECKOUT_LOCAL_BRANCH overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value.
issue_comment_bodyNoDirect issue comment body.
implementation_summaryNoImplementation summary for generated issue comment.
acceptance_stepsNoAcceptance steps for generated issue comment.
update_logNoWhether to update local issue log. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_UPDATE_ISSUE_LOG overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value.
log_pathNoIssue log path. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_ISSUE_LOG_PATH overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. This field matters only when update_log=true.
log_statusNoIssue log status text.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesWhether the tool call succeeded.
toolYesTool name.
dataNoIssue to MR full-chain workflow result.
error_typeNoError type when ok=false.
messageNoError message when ok=false.
Behavior5/5

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

With no annotations provided, the description fully discloses the tool's behavioral scope: it creates a branch, commits, MR, issue comment, performs local sync, and updates the issue log. It warns about the preparation_key rejection if base branch is outdated. No contradictions; the tool's actions are clearly described.

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 well-structured paragraph that front-loads the primary purpose. Every sentence adds value: prerequisites, image inspection, idempotency warning, and parameter usage. No redundant or missing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (26 parameters, 4 required) and the presence of an output schema, the description covers the full workflow: prerequisite call, image review, parameter usage rules, and warnings. The agent has all necessary context to invoke the tool correctly.

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

Parameters5/5

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

Schema coverage is 100%, and the description adds significant context beyond the schema. For example, it explains when to omit fields (if not explicitly provided by user), that runtime config overrides apply, and for 'issue_images_reviewed' it specifies the prerequisite action. The commit_actions parameter description ties it to delivery_method.

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 explicitly states the tool's purpose: delivering an issue end-to-end (branch, commit, MR, issue comment, local sync, issue log). It uses a specific verb 'delivered' and resource 'issue_iid', clearly distinguishing it from sibling tools like gitlab_create_merge_request or workflow_requirement_to_delivery.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use the tool (for existing issue_iid), prerequisites (call workflow_prepare_delivery_workspace first), when to inspect images (if issue may contain image references), and prohibitions ('Do not call this twice for the same issue or same user request'). It also advises checking GitLab first if issue/MR may already exist.

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

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