Skip to main content
Glama

Get custom dashboard version

get_custom_dashboard_version_snapshot
Read-only

Get Document Version Snapshot

When to use: 버전 기록의 한 행(audit_log_id)이 남긴 문서 정의를 그대로 읽을 때 — 이전 버전 내용을 확인하거나, 현재 문서(get_custom_dashboard)와 비교해 어느 버전으로 되돌릴지 고를 때.

When NOT to use: audit_log_id 는 list_custom_dashboard_versions 결과의 id 다 — 모르면 먼저 버전 기록을 읽는다. 현재 상태는 get_custom_dashboard.

Limitations: 한 번에 한 버전만 돌려준다. body 는 그 시점의 전체 정의(리포트면 layouts, 차트면 차트 정의)이고 차트 값 데이터는 없다. 리포트 스냅샷에는 위젯 id 만 있고 하위 차트의 정의는 각 차트의 버전 기록에 따로 남는다. 스냅샷이 만료되면 410, 손상되면 500, 이 문서·프로젝트의 행이 아니면 404, custom_dashboard:read 권한 필요(없으면 403). 삭제한 문서도 읽기 권한이 남아 있으면 버전이 읽히지만, 작성자라서 받던 권한은 삭제 뒤 사라지므로 403 이 될 수 있다.

Examples:

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

Output shape: object: {id, entity_id, version, name, type, body, created_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>",
      "audit_log_id": "<audit_log_id>",
      "project-id": "<project-id>"
    },
    "name": "get_custom_dashboard_version_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
project-idYes
document_idYes
audit_log_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, destructiveHint false), and the description goes well beyond them: one version per call, body is the full definition at that point in time, chart value data is excluded, report snapshots carry only widget ids, and each error condition is mapped (410 expired, 500 corrupted, 404 wrong document/project, 403 missing custom_dashboard:read). The deleted-document caveat about author-derived permissions disappearing is exactly the kind of non-obvious behavior an agent needs, though it stops short of describing ordering/pagination since none applies.

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?

Headers (When to use / When NOT to use / Limitations / Examples / Output shape) make it skimmable and the routing guidance is front-loaded. The limitations block is dense and mixes behavior, schema notes, and an HTTP status table in one paragraph, and the 'Output shape' line duplicates the existing output schema.

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 three-required-parameter read tool with an output schema available, the definition covers the preconditions (id provenance), the content semantics of body, the negative case (no chart value data, report snapshots lack child chart definitions), and the full failure envelope. An agent can call this correctly and interpret 403/404/410/500 without further context.

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%, so the description carries the burden. It does explain where audit_log_id comes from (the id field of list_custom_dashboard_versions results) and implies document_id/project-id scoping, which is real added meaning. However document_id and project-id get no explicit semantics, and the one example is buried at the end rather than anchoring each parameter.

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 states a concrete verb and resource ('Get Document Version Snapshot') and pins the scope precisely to a single historical definition read by audit_log_id. It distinguishes itself from siblings by naming get_custom_dashboard for current state and list_custom_dashboard_versions for discovering ids. The only wobble is that the heading says 'Document Version' while the tool is dashboard-specific, so the scope is clarified by the usage section rather than the opener.

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' (checking prior version content, comparing against current state to choose a restore target) and 'When NOT to use' (audit_log_id unknown -> read version history first; current state -> get_custom_dashboard). Named alternatives make the routing decision unambiguous.

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