Skip to main content
Glama

Get custom dashboard

get_custom_dashboard
Read-only

Get Document

When to use: 리포트(REPORT) 안에 어떤 위젯이 있는지 볼 때 — body.layouts[].id(없으면 .i)가 각 위젯 문서의 id 이다(타입은 CHART/TEXT/IMAGE/MEDIA/FRAME/PDF 등 다양하며 layouts 자체엔 없다). 이 중 CHART 타입만 evaluate_chart_document 로 값을 얻을 수 있고(그 외 타입이면 422), CHART 위젯을 가리려면 자식 문서를 조회하거나 search_custom_dashboards(document_type=CHART) 로 찾는다. 기존 리포트에 위젯을 추가하기 전에 배치(layouts)와 버전을 확인할 때도 쓴다. document_id 하나로 대시보드 화면과 동일한 최신 상태를 읽는다.

Limitations: 이 프로젝트의 문서만 조회한다. 없으면 404, custom_dashboard:read 권한(시스템 역할 또는 공유)이 없으면 403. 응답의 version 을 단건 수정 tool(update_custom_dashboard)의 expected_version 으로 넘기면, 그사이 다른 사람이 고친 문서를 덮어쓰지 않고 409 로 알 수 있다.

Examples:

  • Q: 이 리포트의 최신 구성과 버전을 보여줘 params: {'path': {'document_id': '7bbf3504-0c36-42d3-a847-581e6d89ef98'}}

Output shape: object: DocumentRes {id, name, type, body, version, updated_at, is_pinned, ...} — version 은 update_custom_dashboard 의 expected_version 소스

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

Input Schema

NameRequiredDescriptionDefault
project-idYes
document_idYes

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?

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, and the description adds substantial context beyond them: project-scoped visibility, 404 when absent, 403 without custom_dashboard:read (system role or share), and the optimistic-concurrency contract where the returned version feeds expected_version and yields 409 on conflict. That is exactly the kind of behavioral detail an agent needs before calling.

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?

The when-to-use block is front-loaded and dense with useful routing information, and limitations follow logically. However, the redundant 'Get Document' header adds nothing, the text is long and mixes languages, and the 'Output shape' section restates a return structure that an 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 two-parameter read tool with annotations and a real output schema, the description covers usage, errors, permissions, and version semantics thoroughly, and it correctly does not need to re-explain return fields in depth. The one remaining gap is how project-id is supplied and reconciled with the example's nested path form.

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 carry the load. It does explain document_id's role well (identifies the widget/report document and yields the latest state), but project-id is never explained — only implied by the phrase about querying only this project's documents. The example also shows a nested {'path': {'document_id': ...}} shape that does not match the flat schema, which can mislead an agent about how to pass arguments.

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 description states a specific verb and resource — reading a single dashboard document by document_id and returning the same latest state as the dashboard screen. It also distinguishes itself from siblings by noting that only CHART-type widgets can be evaluated with evaluate_chart_document and that widget lookup can go through search_custom_dashboards(document_type=CHART).

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 explicit when-to-use conditions: inspecting which widgets a REPORT contains, checking layouts and version before adding widgets, and reading the latest state. It also names alternatives and their selection conditions (evaluate_chart_document for CHART-only values, search_custom_dashboards for widget lookup, update_custom_dashboard for the write path).

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