Skip to main content
Glama
devops-mcp-server-extension

devops-mcp-server-extension

by hakunova

create_pipeline_run

Run CI/CD pipelines with specified branches, tags, multiple branches, repository branch/tag overrides, and environment variables; the system auto-fetches repository URLs from pipeline config.

Instructions

[Pipeline Management] Run a pipeline with flexible parameters.

⚠️ IMPORTANT: DO NOT provide 'params' parameter unless user explicitly provides a JSON string. Use simplified parameters instead!

🎯 Most Common Use Cases:

  1. 🌿 Run with specific branch: Use 'branch' parameter

    • User: 'Run pipeline with dev branch' β†’ { branch: 'dev' }

    • User: '用masterεˆ†ζ”―θΏθ‘Œζ΅ζ°΄ηΊΏ' β†’ { branch: 'master' }

    • System will automatically fetch repository URLs from pipeline config

  2. 🏷️ Run with specific tag: Use 'tag' parameter

    • User: 'Run pipeline with v1.0 tag' β†’ { tag: 'v1.0' }

    • User: '用v2.0ζ ‡η­ΎθΏθ‘Œζ΅ζ°΄ηΊΏ' β†’ { tag: 'v2.0' }

    • System will automatically fetch repository URLs from pipeline config

  3. πŸ”„ Run with multiple branches: Use 'branches' parameter

    • User: 'Run pipeline with main and dev branches' β†’ { branches: ['main', 'dev'] }

  4. πŸ›οΈ Run with specific repo branch/tag: Use 'repositories' parameter

  5. πŸ“¦ Run with environment variables: Use 'environmentVariables' parameter

    • { environmentVariables: { 'ENV': 'production', 'VERSION': '1.0.0' } }

πŸ“ Parameter Guide:

  • 🌿 branch: Single branch name (most common)

  • 🏷️ tag: Single tag name (for release versions)

  • πŸ”„ branches: Multiple branches for branch mode

  • πŸ›οΈ repositories: Specific branch/tag per repository

  • πŸ“¦ environmentVariables: Key-value pairs for pipeline variables

  • πŸ“ comment: Add a note for this run

  • πŸ”§ params: [Advanced] ONLY use if user provides raw JSON string

⚑ Smart Behavior:

  • If only 'branch' or 'tag' is provided β†’ automatically fetches repo URLs from pipeline and generates runningBranchs/runningTags

  • If 'branches' is provided β†’ automatically enables branch mode

  • If 'params' is provided β†’ all other parameters are ignored

❌ DO NOT:

  • Generate 'params' parameter yourself

  • Convert simplified parameters to 'params' JSON

  • The system will handle param generation automatically

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "organizationId": "<organizationId>",
      "pipelineId": "<pipelineId>"
    },
    "name": "create_pipeline_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo[Simple] Tag name to run the pipeline with. When user says 'run pipeline with XX tag', use this parameter. Will automatically fetch repo URLs from pipeline config.
branchNo[Simple] Branch name to run the pipeline with. When user says 'run pipeline with XX branch', use this parameter. This is the most common use case.
paramsNo[Advanced] Raw pipeline run parameters in JSON string format. If provided, this will override other parameters. Example: {"branchModeBranchs":["main"],"envs":{"key":"value"},"runningBranchs":{"https://codeup.aliyun.com/org/repo.git":"dev"}}
commentNo[Simple] Comment or note for this pipeline run
branchesNo[Simple] Multiple branches for branch mode. Use when user wants to run pipeline in branch mode with specific branches.
branchModeNo[Simple] Enable branch mode to run pipeline with multiple branches simultaneously
pipelineIdYesPipeline ID to run
descriptionNo[Optional] Natural language description of how to run the pipeline, the system will try to parse it automatically
acrArtifactsNo[Simple] ACR (Alibaba Cloud Container Registry) artifacts to use, key is image address, value is image tag
repositoriesNo[Simple] Specific branch or tag configurations for different repositories in the pipeline
releaseBranchNo[Simple] Specific release branch name
organizationIdYesOrganization ID, can be found in the basic information page of the organization admin console
packagesArtifactsNo[Simple] Package repository artifacts to use, key is artifact path, value is version
pipelineArtifactsNo[Simple] Pipeline artifacts to use, key is artifact ID, value is version
createReleaseBranchNo[Simple] Whether to create a new release branch
environmentVariablesNo[Simple] Environment variables to pass to the pipeline, e.g., {"ENV":"production","VERSION":"1.0.0"}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose side effects beyond the schema: automatic repo-URL fetching, automatic branch-mode enabling, and that 'params' overrides all other parameters. However, it says nothing about required permissions, what a successful run produces (return value/ID), or what happens to concurrent/in-progress runs β€” meaningful gaps for a create operation.

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

Conciseness3/5

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

The critical warning is correctly front-loaded, but the body is heavy with emoji, duplicated content, and repetition β€” the 'do not generate params' rule is stated three separate times and much of the parameter guide restates schema descriptions verbatim. It is scannable but roughly twice the length needed.

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 16-parameter tool with nested objects and no output schema, the description covers the common paths well but omits the artifact-related parameters and release-branch options entirely, and gives no indication of what a successful invocation returns. An agent would still need the schema to handle the uncovered cases.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real semantic value: it maps user phrasing to the correct parameter (Chinese and English examples) and states precedence β€” 'if params is provided, all other parameters are ignored.' It leaves several schema parameters unaddressed (acrArtifacts, packagesArtifacts, pipelineArtifacts, releaseBranch, createReleaseBranch, branchMode, description), which prevents a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The lead sentence gives a specific verb and resource: 'Run a pipeline with flexible parameters.' Combined with the '[Pipeline Management]' prefix, an agent can distinguish this from the read-oriented siblings (get_pipeline_run, list_pipeline_runs). It stops short of naming an alternative, but the run/mutate intent is unambiguous.

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?

Extensive when-to-use guidance is provided via numbered use cases, each mapping a user utterance to the correct parameter (branch, tag, branches, repositories, environmentVariables). It also states a clear exclusion β€” do not populate 'params' unless the user supplies raw JSON. There is no routing guidance toward or away from sibling tools, which keeps it below a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools