Skip to main content
Glama

Delete custom dashboard

delete_custom_dashboard
Destructive

Delete Document

When to use: 커스텀 대시보드 문서 하나를 삭제할 때. path.document_id 로 대상을 지정한다.

When NOT to use: 정의만 바꾸려면 삭제가 아니라 update_custom_dashboard 를 쓴다. 삭제한 문서 자체는 되살릴 수 없으므로 사용자가 삭제를 분명히 요청하지 않았으면 호출하지 않는다.

Limitations: 소프트 삭제(deleted_yn='Y')지만 삭제한 문서 자체는 restore_custom_dashboard_version 으로 되살릴 수 없다(404). 단, 삭제된 차트는 그 차트를 가리키던 리포트를 이전 버전으로 복원하면 함께 되살아날 수 있다(리포트의 다른 변경도 덮어쓴다). 리포트(REPORT)를 지우면 하위 차트도 함께 삭제된다. 핀이 풀리고, 이 위젯을 배치한 다른 리포트의 layouts 에서도 빠진다. 삭제 직전 정의는 감사 스냅샷으로 남아 list_custom_dashboard_versions 와 get_custom_dashboard_version_snapshot 으로 읽을 수만 있고, 작성자라서 받던 읽기 권한은 삭제 뒤 사라진다. custom_dashboard:delete 권한(admin 공유 레벨 또는 시스템 admin/full_access 역할)만 허용 — viewer/editor 공유로는 삭제 불가.

Examples:

  • Q: 이 대시보드를 삭제해줘 params: {'path': {'document_id': '7bbf3504-0c36-42d3-a847-581e6d89ef98'}}

Output shape: no content (soft-delete, 성공 시 body 없음)

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

Input Schema

NameRequiredDescriptionDefault
project-idYes
document_idYes

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 only say destructiveHint=true; the description goes far beyond by explaining soft-delete (deleted_yn='Y'), that the record cannot be restored via `restore_custom_dashboard_version` (404), the cascade where deleting a REPORT removes child charts, unpinning and removal from other reports' layouts, that a pre-delete audit snapshot remains readable via two named tools, and that author-based read grants are lost. It also states the exact permission required (custom_dashboard:delete, admin/full_access) and excludes viewer/editor shares.

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?

Section headers (When to use / When NOT to use / Limitations / Examples / Output shape) make it navigable and front-loaded, and most content is high-value. However the Limitations paragraph is a dense multi-clause run-on bundling restore behavior, cascade rules, audit snapshots and permissions, and the vague 'Delete Document' opener adds nothing.

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, no-output-schema tool this is nearly complete: it states the permission gate, cascade effects, irreversibility, audit trail, and even that success returns no body. The remaining gap is the undocumented `project-id` parameter and the path-vs-flat mismatch in the example.

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 coverage is 0%, so the description must carry parameter meaning and it only partly does: it explains document_id as the target identifier but says nothing about the required `project-id`. Worse, the example wraps the id in a `path` object while the schema declares document_id top-level, which risks a malformed call.

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 'When to use' line names a specific verb and resource (커스텀 대시보드 문서 하나를 삭제) and pins the target to document_id, so an agent can distinguish it from the create/get/update siblings. The leading 'Delete Document' heading is thin on its own, but the body immediately removes any ambiguity.

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 when-to-use, an explicit when-not-to-use naming the alternative `update_custom_dashboard` for definition-only changes, and an additional guard: do not call unless the user clearly requested deletion. That is the full routing decision the agent needs.

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