Skip to main content
Glama

Create custom dashboard

create_custom_dashboard

Create Document

When to use: 사용자가 새 커스텀 대시보드 문서(차트 CHART·리포트 REPORT·디렉토리 DIRECTORY 등)를 만들어 저장하려 할 때. body 로 문서 정의 JSON 을 넘기면 새 document_id 를 발급해 저장한다.

When NOT to use: 기존 문서의 이름·정의를 바꾸는 것은 update_custom_dashboard(단건) 또는 update_custom_dashboards(일괄)를 쓴다. 차트 값 조회/평가는 evaluate_chart_document 를 쓴다.

Limitations: 생성 전용 — 이미 존재하는 문서를 갱신하지 않는다(항상 새 row). type 은 DocumentType enum(CHART/REPORT/DIRECTORY/TEXT/FRAME/MEDIA/IMAGE/PDF), body 는 필수 정의 JSON이다. CHART 타입의 body 는 차트 컴파일 tool(compile_chart_body) 응답의 body 필드를 그대로 넣는다. 응답 전체({body, version, warnings})를 넣으면 컴파일 게이트가 422 로 거부한다. compile 호출이 실패하면 body 를 손으로 조립해 재시도하지 말고 실패를 사용자에게 알린다. custom_dashboard:create 권한(프로젝트 멤버십) 필요. REPORT 타입은 name 이 필수.

Examples:

  • Q: '월별 순매출' 차트를 새로 하나 만들어줘 params: {'body': {'type': 'CHART', 'name': '월별 순매출', 'body': {}}}

Output shape: object: {id, name, type, body, version, created_at, 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": {
      "type": "<type>",
      "body": "<body>"
    },
    "name": "create_custom_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
nameNo
typeYes
project-idNo
sort_orderNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) by disclosing that creation is insert-only and never updates an existing row, that custom_dashboard:create project-membership permission is required, and that passing the whole compile response instead of its body field triggers a 422 compile-gate rejection. It also gives failure-handling guidance (report the compile failure rather than hand-assembling body), which is real operational context an agent cannot get from structured fields.

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?

Well front-loaded with headers for when-to-use, when-not-to-use, limitations, examples, and output. A couple of items are redundant or harmful: the 'Output shape' line duplicates an existing output schema, and the 'Create Document' opener repeats the title.

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 5-parameter mutation with a nested body object and no schema descriptions, it covers the high-risk semantics (insert-only, permissions, compile-gate 422, REPORT name requirement), and return values are covered by the output schema. Remaining gap is the unexplained project-id and sort_order parameters plus the schema-conflicting 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 description coverage is 0%, so the description must compensate; it does explain the type DocumentType enum, that body is the required definition JSON, the compile_chart_body dependency for CHART bodies, and that REPORT requires name. However, project-id and sort_order are never mentioned, and the worked example nests type and name inside body, contradicting the schema's top-level required [type, body], which risks producing an invalid 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?

States a concrete verb+resource: creates and persists a new custom dashboard document (CHART/REPORT/DIRECTORY etc.) and issues a new document_id. It explicitly distinguishes creation from the update siblings, so an agent can route without opening either schema.

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?

Has explicit 'When to use' and 'When NOT to use' sections that name the correct alternatives: update_custom_dashboard / update_custom_dashboards for renaming or redefining existing documents, and evaluate_chart_document for chart value retrieval. The selection condition is 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