Skip to main content
Glama

Update pipeline step

update_custom_pipeline_step
Destructive

Update Step

When to use: 사용자가 파이프라인 스텝 하나의 이름이나 설정을 고쳐 달라고 명시적으로 요청할 때.

When NOT to use: 사용자가 명시적으로 만들기·수정·배포를 요청하지 않았으면 호출하지 않는다 — 분석 질문에 답하려고 에셋·파이프라인·소스·스텝을 만들거나 고치지 않는다. 실행 순서만 바꾸려면 reorder_custom_pipeline_steps 를 쓴다. 삭제는 지원하지 않는다 — 웹의 온톨로지 편집 화면에서 한다.

Limitations: 보낸 필드만 바꾸고, step_config 는 통째로 교체되므로 기존 설정에 고칠 부분을 반영한 전체를 보낸다. 먼저 조회 tool 로 대상을 읽고 그 updated_at 을 expected_updated_at 으로 넘긴다. 409 면 그 사이 다른 사람이 바꾼 것이다 — 다시 읽어 바뀐 내용을 사용자에게 보여 주고 확인받은 뒤 다시 시도한다. 저장·배포 전에 preview_custom_pipeline(force_build=true)으로 결과를 확인하는 것을 검증 단계로 쓴다. 초안만 바뀐다 — 지금 실행 중인 배포 버전과 대시보드 수치는 그대로이고, publish_custom_asset 으로 배포해야 반영된다.

Examples:

  • Q: 평균 구매금액 스텝 이름을 객단가로 바꿔줘 params: {'path': {'pipeline_id': 34, 'step_id': 40}, 'body': {'name': '객단가', 'expected_updated_at': '2026-10-13T10:00:00'}}

Output shape: object: {id, step_type, name, priority, step_config, 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>",
      "step_id": "<step_id>",
      "expected_updated_at": "<expected_updated_at>"
    },
    "name": "update_custom_pipeline_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
step_idYes
priorityNo
project-idNo
pipeline_idYes
step_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/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint=false / destructiveHint=true annotations: it discloses that only sent fields change, that step_config is replaced wholesale, that a read-then-write flow with expected_updated_at is expected, how a 409 should be handled, and that changes stay in draft until publish_custom_asset. That is exactly the operational context an agent needs before causing a destructive overwrite.

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?

Structured with clear headers (When to use / When NOT to use / Limitations / Examples) and front-loads the decision-relevant constraints before the worked example. It is on the long side and the bare 'Update Step' opener adds nothing, but every subsequent sentence carries real weight.

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?

For a destructive mutation tool with 7 parameters and a rich output schema, the description supplies the full workflow: read target first, pass updated_at, handle 409, preview with force_build=true, then publish. Return values need not be explained because the output schema covers them.

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 only 14%, and the description compensates substantially by explaining step_config's full-replacement semantics, the expected_updated_at concurrency token workflow, and by showing pipeline_id/step_id usage in the example. It still leaves name, priority, and project-id uncharacterized, so coverage is good but not complete.

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 opening line ('Update Step') merely restates the title, but the when-to-use sentence specifies the exact action: changing the name or configuration of a single pipeline step on explicit user request. It distinguishes itself from the reorder sibling and rules out deletion, so an agent can tell what the tool does and what it does not.

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?

Explicit when-to-use and when-not-to-use sections, including a prohibition on creating/modifying assets just to answer analytical questions. It names the correct alternative for ordering changes (reorder_custom_pipeline_steps) and redirects deletion to the web editor, so routing decisions need no inference.

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