Skip to main content
Glama

Update custom asset

update_custom_asset
Destructive

Update Asset

When to use: 사용자가 에셋의 이름·제목·설명 같은 속성을 고쳐 달라고 명시적으로 요청할 때.

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

Limitations: 보낸 필드만 바꾼다. 먼저 조회 tool 로 대상을 읽고 그 updated_at 을 expected_updated_at 으로 넘긴다. 409 면 그 사이 다른 사람이 바꾼 것이다 — 다시 읽어 바뀐 내용을 사용자에게 보여 주고 확인받은 뒤 다시 시도한다. 이미 배포된(ACTIVE) 에셋이면 이 수정은 배포를 기다리지 않고 즉시 대시보드·AI 조회의 해석 기준에 반영된다 — 수정 전에 사용자에게 알린다. table_name 은 결과 테이블 이름이라 사용자가 명시적으로 요청하지 않으면 바꾸지 않는다. schema_name 은 표시용 라벨이다 — 결과 테이블은 늘 내 데이터 레이크 스키마에 있고 schema_name 을 바꿔도 옮겨지지 않는다. 커스텀 에셋·파이프라인은 같은 소유자의 모든 프로젝트가 공유하며, 발행하면 그 프로젝트들 대시보드에도 반영된다.

Examples:

  • Q: 주문 보강 에셋 설명을 수수료 반영 기준으로 바꿔줘 params: {'path': {'asset_id': 12}, 'body': {'description': '주문에 배포 시점 브랜드 수수료율을 붙인 테이블', '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": {
      "asset_id": "<asset_id>",
      "expected_updated_at": "<expected_updated_at>"
    },
    "name": "update_custom_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
tagsNo
grainNo
ownerNo
asset_idYes
asset_typeNo
project-idNo
table_nameNo
descriptionNo
schema_nameNo
partition_keyNo
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?

Beyond the destructive/readOnly annotations, it discloses partial-field update semantics, the required read-then-edit concurrency token, 409 conflict handling, immediate reflection for ACTIVE assets, and table_name/schema_name effects. It also states that deletion is unsupported and that custom assets are shared across the owner's projects.

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?

The definition is long but organized into when-to-use, when-not-to-use, limitations, and an example, and most sentences convey non-obvious constraints for a destructive mutation. Some repetition around the web ontology editor and a generic opening line keep it from being maximally concise.

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 destructive 12-parameter update with an output schema, it covers side effects, conflict handling, alternatives, and shared-project impact; the output schema handles return values. The main gap is field-level meaning for many optional parameters, so it is strong but not complete.

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?

With only 8% schema description coverage, the description compensates for a few high-risk parameters: expected_updated_at (concurrency token), table_name (result table name), schema_name (display label only), and the general partial-update rule. However, it leaves tags, grain, owner, asset_type, project-id, and partition_key unexplained, so the 12-parameter tool remains under-documented.

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 opens with a generic 'Update Asset' but immediately narrows it to updating an asset's name, title, or description when explicitly requested. It clearly excludes status changes, exposure changes, deletion, and publish/unpublish operations, distinguishing it from publish_custom_asset and unpublish_custom_asset.

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 explicit when-to-use and when-not-to-use conditions, including not creating or editing assets merely to answer analysis questions. It names alternatives for status changes (publish_custom_asset, unpublish_custom_asset) and routes unsupported operations to the web ontology editor.

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