Skip to main content
Glama

Update custom dashboard

update_custom_dashboard
Destructive

Update Document

When to use: 단일 커스텀 대시보드 문서 하나의 이름·정의(body)를 낙관적 동시성(expected_version)으로 안전하게 수정할 때. 공유 편집(editor 이상) 또는 소유자가 사용한다.

When NOT to use: 여러 문서를 한 번에 고치려면 update_custom_dashboards(일괄)를 쓴다. 삭제는 delete_custom_dashboard, 값 조회는 evaluate_chart_document.

Limitations: path.document_id 필수. body.expected_version 가 서버의 현재 version 과 다르면 409(충돌 상태 동봉)로 거부한다(expected_version 생략 시 OCC 우회, legacy/bulk 경로). body 를 바꾸는 수정은 감사 스냅샷을 남긴다. custom_dashboard:write 권한 필요.

Examples:

  • Q: 이 대시보드 이름을 '캠페인 성과'로 바꿔줘 params: {'path': {'document_id': '7bbf3504-0c36-42d3-a847-581e6d89ef98'}, 'body': {'name': '캠페인 성과', 'body': {}, 'expected_version': 3}}

Output shape: object: {id, name, body, version, 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": {
      "document_id": "<document_id>",
      "project-id": "<project-id>"
    },
    "name": "update_custom_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
bodyNo
nameNo
project-idYes
sort_orderNo
document_idYes
expected_versionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnly/destructive/openWorld polarity; the description adds substantially more — a 409 rejection when `expected_version` mismatches the server version, conflict state returned with it, the fact that omitting `expected_version` bypasses OCC, an audit snapshot for body changes, and the required `custom_dashboard:write` permission. Preconditions and failure behavior are disclosed rather than discovered.

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 / Limitations / Example / Output shape, which is front-loaded and scannable. The worked example with concrete params earns its space, though the 'Output shape' line duplicates what the existing output schema already provides.

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 single-document mutation, the definition covers permissions, concurrency, failure mode, and audit side effects, and an output schema exists so return values need little prose. The remaining gap is the three undocumented parameters and the path/body nesting mismatch against the actual schema.

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 0% across 7 parameters, so the description must compensate; it gives real semantics for `expected_version` (409, OCC bypass) and identifies `document_id` as required and `name`/`body` as the editable fields. However, `project-id` (required), `sort_order`, and `id` are never explained, and the description's `path.document_id` / `body.expected_version` nesting does not match the flat schema properties, which could confuse argument construction.

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 headline 'Update Document' is vague on its own, but the 'When to use' line pins it to a single custom-dashboard document and names the fields (name, body) plus the concurrency mechanism. It explicitly separates this from the bulk sibling `update_custom_dashboards`, so an agent can route without opening schemas. Points off only for the weak opening line.

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 states when to use (single document name/body edit under optimistic concurrency, by editor+ or owner), when not to (batch edits → `update_custom_dashboards`; deletion → `delete_custom_dashboard`; value reads → `evaluate_chart_document`). Alternatives and the conditions that select them are both explicit, with no inference required.

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