Skip to main content
Glama

List custom dashboard versions

list_custom_dashboard_versions
Read-only

List Document Versions

When to use: 커스텀 대시보드 문서(리포트·차트 등) 하나의 버전 기록을 볼 때. 방금 한 수정·삭제를 되돌릴 수 있는지 확인하거나, 복원(restore_custom_dashboard_version)할 대상 버전의 id 를 고를 때 쓴다. 웹 「버전 기록」 목록과 같다.

When NOT to use: 문서의 현재 정의·version 은 get_custom_dashboard 로 읽는다. 한 버전의 내용은 get_custom_dashboard_version_snapshot 으로 읽는다.

Limitations: path.document_id 문서의 기록을 최신순으로 limit 개(기본 50, 최대 200)까지 돌려준다. 각 행은 기록 하나다: action 이 save(정의 수정)·delete(삭제)·restore(복원)·cascade_restore(리포트 복원에 딸려 되돌려진 차트) 중 하나이고, 그 action 직후의 문서 정의가 스냅샷으로 남는다(delete 행만 삭제 직전 정의). 그래서 잘못된 수정을 되돌리려면 그 수정 행이 아니라 그 바로 이전 행을 고르고, 문서 생성은 기록되지 않아 생성 후 첫 수정 이전 상태로는 되돌릴 수 없다. 응답에는 정의(body)가 없고 요약(payload)만 있으므로 내용은 get_custom_dashboard_version_snapshot 으로 한 행씩 읽는다. restorable=true 인 행만 복원할 수 있다 — 스냅샷이 만료·손상되면 false 이고, 리포트 행은 되돌려야 할 하위 차트의 스냅샷이 복원 불가여도 false 다. 단 삭제한 문서는 restorable=true 여도 복원이 404 다. 정의(body)를 보낸 단건 수정과 삭제·복원만 기록된다 — body 를 null 로 보낸 수정(이름·정렬만 변경)과 일괄 수정(update_custom_dashboards)은 기록이 남지 않는다. 이 프로젝트 문서가 아니면 404, custom_dashboard:read 권한 필요(없으면 403). 삭제한 문서도 읽기 권한이 남아 있으면 기록이 읽히지만, 작성자라서 받던 권한은 삭제 뒤 사라지므로 403 이 될 수 있다.

Examples:

  • Q: 이 대시보드의 버전 기록을 보여줘 params: {'path': {'document_id': '7bbf3504-0c36-42d3-a847-581e6d89ef98'}}

Output shape: list of {id, action, version, created_at, actor_id, actor_nickname, payload, restorable, ...} — id 가 snapshot·restore 의 audit_log_id

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": "list_custom_dashboard_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
project-idYes
document_idYes

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?

Well beyond the readOnly annotations, it discloses newest-first ordering, the action taxonomy (save/delete/restore/cascade_restore), the snapshot-per-action semantics, the counterintuitive fact that reverting requires picking the row *before* the bad edit, that creation is never recorded, that null-body edits and bulk updates leave no trace, and that restorable=true rows for deleted documents still 404 on restore. It also names the 404 and 403 conditions and the custom_dashboard:read permission.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Structure is good (When/When NOT/Limitations/Example), but the Limitations paragraph is a dense run-on that repeats the snapshot-reading advice already given in 'When NOT to use' and restates limit default/max already in the schema. The mixed Korean/English and the mislabeled 'List Document Versions' heading add friction.

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 read-only, permission-gated history listing with tricky restore semantics, the description covers ordering, paging, row semantics, failure modes, and even the output shape. Combined with the existing output schema, an agent has everything needed to call it and interpret the result correctly.

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 0%, so the description carries the burden: it explains document_id as the target document's path id, limit as newest-first count with default 50 and max 200, and implies project scoping via the 404-on-other-project note. The project-id parameter itself is never named or explained, which is the remaining gap.

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 clearly states it returns the version history of a single custom dashboard document, and names the differing siblings (get_custom_dashboard for current state, get_custom_dashboard_version_snapshot for content). The opening line 'List Document Versions' is a generic, mismatched header that slightly blurs the resource identity, but the body corrects it immediately.

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 has explicit 'When to use' and 'When NOT to use' sections that route the agent to get_custom_dashboard for current definition and to get_custom_dashboard_version_snapshot for a single version's content. It further specifies the restore-target selection use case, which is the genuinely non-obvious scenario an agent would need.

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