Skip to main content
Glama
chntif
by chntif

workflow_prepare_delivery_workspace

Prepare a local workspace for delivery by verifying a clean repo, refreshing the base branch, and returning a preparation_key. For local_git, it also creates and checks out a working branch.

Instructions

Use before delivery workflows. Pass the explicit local repo_path for the target project. This tool verifies a clean local repo, refreshes the latest base branch, and returns a preparation_key that workflow_issue_to_delivery/workflow_requirement_to_delivery must provide. When delivery_method=local_git, it also creates and checks out the local working branch where code changes should be made.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYesLocal repository path.
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.
remote_nameNoGit remote name. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_LOCAL_REMOTE_NAME 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.
base_branchNoBase branch to refresh before code generation. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_BASE_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. Required for local_git when no summary/requirement_text is provided.
english_slugNoOptional English slug used when generating a local working branch.
work_typeNoOptional git/conventional work type override when generating a local working branch.
summaryNoOptional summary used to help generate a local working branch.
requirement_textNoOptional requirement text used to help generate a local working branch.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesWhether the tool call succeeded.
toolYesTool name.
dataNoPrepared local workspace state used to generate delivery commit_actions.
error_typeNoError type when ok=false.
messageNoError message when ok=false.
Behavior3/5

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

With no annotations, the description carries full burden. It discloses core behaviors: verification of clean repo, base branch refresh, preparation_key return, and optional branch creation. Missing details include error handling (e.g., what if repo is not clean) and auth/permissions. The output schema likely covers return structure, but description doesn't reference it.

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?

Three sentences, each serving a distinct purpose: set context, state main function and key output, add conditional behavior. No redundant or extraneous information. Efficiency and clarity are excellent.

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

Completeness4/5

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

Given the presence of an output schema (references preparation_key) and sibling tools, the description covers essential aspects. It could mention error scenarios or prerequisites (e.g., git installed), but overall it provides enough context for an agent to understand when and how to invoke the tool.

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?

Schema coverage is 100% with detailed parameter descriptions (e.g., omitting fields unless user provided). The description adds minimal value by contextualizing repo_path as explicit and delivery_method behavior, but it largely summarizes what's already in the schema. Baseline 3 is appropriate.

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 tool's purpose: preparation before delivery workflows. It specifies actions (verify clean repo, refresh base branch, return preparation_key) and distinguishes itself from sibling tools by naming the exact tools that require its output (workflow_issue_to_delivery/workflow_requirement_to_delivery). The verb 'prepare' and resource 'delivery workspace' are specific.

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 explicitly says 'Use before delivery workflows' and names the sibling tools that require the preparation_key, providing clear context for when to use. It also notes the conditional behavior for local_git. However, it does not explicitly state when not to use or mention alternatives beyond the 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/chntif/mcp-gitlab-workflow'

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