Skip to main content
Glama

Save pipeline version

create_custom_pipeline_version

Save Pipeline Version

When to use: 사용자가 파이프라인의 지금 구성을 버전으로 저장해 달라고 명시적으로 요청할 때 — 배포와 별개인 저장 이력이다.

When NOT to use: 사용자가 명시적으로 만들기·수정·배포를 요청하지 않았으면 호출하지 않는다 — 분석 질문에 답하려고 에셋·파이프라인·소스·스텝을 만들거나 고치지 않는다. 대시보드에 반영하려는 경우에는 publish_custom_asset 을 쓴다.

Limitations: 저장 버전만 추가하고 초안·배포 버전은 바꾸지 않는다 — 대시보드에 반영하려면 publish_custom_asset 으로 배포한다. 먼저 get_custom_pipeline 으로 읽고 그 draft_revision 을 expected_revision 으로 넘긴다. 409 면 그 사이 파이프라인 초안이 바뀐 것이다 — 409 응답의 current_revision 을 그대로 다시 보내 덮어쓰지 말고, 다시 읽어 바뀐 내용을 사용자에게 확인받은 뒤 다시 시도한다. 저장·배포 전에 preview_custom_pipeline(force_build=true)으로 결과를 확인하는 것을 검증 단계로 쓴다.

Examples:

  • Q: 지금 파이프라인 구성을 버전으로 저장해줘 params: {'path': {'pipeline_id': 34}, 'body': {'expected_revision': '…', 'description': '수수료 룩업 추가'}}

Output shape: object: {id, pipeline_id, version_number, description, created_by, created_at, snapshot}

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": {
      "pipeline_id": "<pipeline_id>",
      "expected_revision": "<expected_revision>"
    },
    "name": "create_custom_pipeline_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
project-idNo
descriptionNo
pipeline_idYes
expected_revisionYesConcurrency token for operations that act on a whole draft — the `draft_revision` (or column-meta `revision`) this client last read. When the draft changed since, the request is rejected with 409 and the live token. Omit to keep the legacy last-write-wins behaviour.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), it discloses that only a version row is added and neither draft nor deployed version changes, plus the concurrency protocol: pass draft_revision as expected_revision, and on 409 re-read and confirm with the user rather than blindly resending current_revision. This is exactly the mutation/conflict context annotations cannot convey.

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?

Front-loaded with labeled sections (When to use / When NOT to use / Limitations / Examples), which makes scanning easy. It runs long and mixes Korean prose with English headers, and the trailing 'Output shape' line duplicates the existing output schema, so a little trimming is possible.

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?

For a non-destructive mutation tool with an output schema, it covers purpose, alternatives, prerequisites, conflict handling, and a worked example, so an agent can call it correctly. The only residual gap is the undocumented project-id parameter and the exact path/body nesting for pipeline_id.

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 description coverage is low (25%, only expected_revision documented), so the description must compensate, and it does for expected_revision (source it from get_custom_pipeline's draft_revision) and description (shown in the example payload). project-id and the path-level pipeline_id nesting are only partially addressed, leaving a small gap.

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?

States a specific verb+resource (save the pipeline's current configuration as a version) and immediately scopes it as a save-history action distinct from deployment. It explicitly names publish_custom_asset as the different path, so an agent can separate this from its siblings without opening schemas.

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?

Provides explicit 'When to use' (user explicitly asks to save current configuration as a version) and 'When NOT to use' (no explicit create/modify/deploy request; use publish_custom_asset for dashboard changes). It also prescribes a prerequisite read via get_custom_pipeline and a verification step via preview_custom_pipeline(force_build=true).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources