Skip to main content
Glama

Update custom asset column settings

update_custom_asset_column_meta
Destructive

Update Column Meta

When to use: 사용자가 에셋 컬럼의 한글명·역할·단위·기본 집계를 고쳐 달라고 명시적으로 요청할 때.

When NOT to use: 사용자가 명시적으로 만들기·수정·배포를 요청하지 않았으면 호출하지 않는다 — 분석 질문에 답하려고 에셋·파이프라인·소스·스텝을 만들거나 고치지 않는다. 결과 컬럼 자체를 늘리거나 줄이는 것은 스텝·소스를 고쳐서 한다.

Limitations: 보낸 컬럼만 바꾸고 보내지 않은 컬럼은 그대로다. 단 보낸 컬럼의 생략한 필드는 기본값으로 덮이므로 get_custom_asset_column_meta 로 읽은 기존 값을 전부 다시 보낸다. 그 응답의 revision 을 expected_revision 으로 넘긴다 — 409 응답의 current_revision 을 그대로 다시 보내 덮어쓰지 말고, 다시 읽어 바뀐 내용을 사용자에게 확인받은 뒤 다시 시도한다. 이미 배포된(ACTIVE) 에셋이면 이 수정은 배포를 기다리지 않고 즉시 대시보드·AI 조회의 해석 기준에 반영된다 — 수정 전에 사용자에게 알린다. 커스텀 에셋·파이프라인은 같은 소유자의 모든 프로젝트가 공유하며, 발행하면 그 프로젝트들 대시보드에도 반영된다.

Examples:

  • Q: 수수료율 컬럼 설명을 '브랜드별 수수료율'로 바꿔줘 params: {'path': {'asset_id': 12}, 'body': {'expected_revision': '…', 'columns': [{'column_name': 'fee_rate', 'translation_ko': '브랜드별 수수료율', 'column_role': 'MEASURE', 'data_type': 'DOUBLE', 'data_unit': 'RATIO', 'default_aggregation': 'AVG', 'category': 'CustomColumn', 'priority': 3}]}}

Output shape: object: {asset_id, revision, columns[...]}

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>",
      "columns": "<columns>",
      "expected_revision": "<expected_revision>"
    },
    "name": "update_custom_asset_column_meta"
  }
}

Input Schema

NameRequiredDescriptionDefault
columnsYes
asset_idYes
project-idNo
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.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, yet the description adds substantial context beyond them: the update is partial at the column level but omitted fields within a sent column are reset to defaults, a revision token guards concurrency with an explicit 409 recovery protocol (re-read and reconfirm with the user, never blindly resend current_revision), edits to ACTIVE assets take effect immediately in dashboards/AI query interpretation and should be disclosed to the user beforehand, and custom assets are shared across all projects of the same owner. No annotation is contradicted.

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?

It is front-loaded and sectioned (When to use / When NOT / Limitations / Examples), which suits a nontrivial mutation. Some of the Limitations block is dense and mixes concurrency protocol with sharing semantics, and the example carries schema detail that partly duplicates the input schema, but no sentence is pure filler.

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, concurrency-sensitive mutation this covers the essentials: preconditions, partial-update semantics, the 409 path, and the real-world effect on deployed assets. An output schema exists so return values need no explanation. Remaining gaps are minor: the project-id parameter and the per-call column limit are undocumented.

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 only 25%, so the description has to compensate, and it largely does: it explains that expected_revision should carry the revision returned by get_custom_asset_column_meta, warns against echoing the 409 current_revision, and its example body demonstrates the full column payload (column_name, translation_ko, column_role, column_role/data_type, data_unit, default_aggregation) that maps to the sparse schema. project-id is never explained, and the 500-column cap is left to the schema.

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 description names a specific verb and resource ('Update Column Meta') and enumerates exactly which column attributes are editable (Korean name, role, unit, default aggregation), which lets an agent separate it from the sibling get_custom_asset_column_meta. It stops short of an explicit one-line statement of the tool's identity, relying on the header plus the when-to-use clause, but the scope is still unambiguous.

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 trigger ('only when the user explicitly asks for a column's Korean name, role, unit, or default aggregation to be changed') and an explicit exclusion ('do not call if the user has not asked to create/modify/publish'), plus a routing rule to other tools: adding or removing result columns must be done by editing the step/source. Reading existing values is likewise routed to get_custom_asset_column_meta.

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