Skip to main content
Glama

Update custom pipeline

update_custom_pipeline
Destructive

Update Pipeline

When to use: 사용자가 파이프라인의 이름·설명·실행 순서 같은 속성을 고쳐 달라고 명시적으로 요청할 때.

When NOT to use: 사용자가 명시적으로 만들기·수정·배포를 요청하지 않았으면 호출하지 않는다 — 분석 질문에 답하려고 에셋·파이프라인·소스·스텝을 만들거나 고치지 않는다. status 는 이 tool 로 바꿀 수 없다 — 배포는 publish_custom_asset, 갱신 중단은 unpublish_custom_asset 으로 하고, 그 밖의 상태 변경은 웹의 온톨로지 편집 화면에서 한다. 파이프라인을 켜거나 끄는 것(활성 여부)은 이 tool 로 바꿀 수 없다 — 웹의 온톨로지 편집 화면에서 한다. 소스·스텝은 각 tool 로 고친다. 삭제는 지원하지 않는다 — 웹의 온톨로지 편집 화면에서 한다.

Limitations: 보낸 필드만 바꾼다. 실행 순서가 같은 에셋의 다른 파이프라인과, 또는 이름이 다른 파이프라인과 겹치면 409 (ontology-pipeline-duplicate, 겹친 항목은 field)다 — 사용자에게 알리고 다른 값으로 다시 보낸다. 먼저 조회 tool 로 대상을 읽고 그 updated_at 을 expected_updated_at 으로 넘긴다. 409 면 그 사이 다른 사람이 바꾼 것이다 — 다시 읽어 바뀐 내용을 사용자에게 보여 주고 확인받은 뒤 다시 시도한다. 초안만 바뀐다 — 지금 실행 중인 배포 버전과 대시보드 수치는 그대로이고, publish_custom_asset 으로 배포해야 반영된다.

Examples:

  • Q: 이 파이프라인 이름을 주문 수수료 계산으로 바꿔줘 params: {'path': {'pipeline_id': 34}, 'body': {'name': '주문 수수료 계산', 'expected_updated_at': '2026-10-13T10:00:00'}}

Output shape: object: {id, name, description, status, updated_at, ...}

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_updated_at": "<expected_updated_at>"
    },
    "name": "update_custom_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
etl_configNo
project-idNo
unique_keyNo
descriptionNo
output_modeNo
pipeline_idYes
pipeline_typeNo
execution_orderNo
execution_phaseNo
idempotency_configNo
expected_updated_atYesConcurrency token — the `updated_at` this client last read for the entity. When it no longer matches the stored value the request is rejected with 409 instead of silently overwriting another session's edit. 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/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true), the description discloses partial-update semantics (only sent fields change), the 409 duplicate conflict with its error code and `field` payload, the read-then-write optimistic concurrency flow with expected_updated_at and the re-read/confirm retry on 409, and the crucial fact that only the draft changes until publish_custom_asset is called. It does not say whether a partially updated draft is recoverable or how to roll back a bad edit, which is the remaining gap for a destructive mutation.

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?

Sectioned as When to use / When NOT to use / Limitations / Examples / Output shape, with the exclusion list and the concurrency requirement early and the worked example last — a good front-loaded layout. It is somewhat long and repeats the 409 handling in two consecutive sentences, and mixes Korean and English, but no section is padding.

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?

An output schema exists, so return values need not be described, and the annotations cover the safety profile; the description correctly focuses on the conflict/concurrency and draft-vs-published behavior. However, for a 12-parameter mutation at 8% schema coverage, an agent still cannot determine what most body fields mean or which are mutually constrained, so it is not fully complete for the tool's complexity.

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 description coverage is only 8% across 12 parameters, so the description must carry the burden; it adds real meaning for expected_updated_at (concurrency token, omit for last-write-wins), execution_order (uniqueness conflict → 409) and name/description, but leaves etl_config, idempotency_config, project-id, unique_key, output_mode, pipeline_type and execution_phase entirely unexplained in both places. The enum values are self-descriptive enough that this is a partial rather than a total compensation.

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 body states a concrete verb+resource (pipeline attribute update) and enumerates the fields in scope (name, description, execution order), then explicitly fences off status, activation, sources/steps and deletion. The only weakness is the leading line 'Update Pipeline', which merely restates the title before the useful content arrives.

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?

It gives an explicit 'When to use' (only on an explicit user request to edit pipeline attributes) and a 'When NOT to use' that forbids proactive edits while answering analytical questions. Alternatives are named by tool for each excluded operation: publish_custom_asset for deploy, unpublish_custom_asset for stopping a refresh, update_custom_pipeline_source/step for sources and steps, and the web ontology editor for status/activation/deletion.

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