Skip to main content
Glama

Search custom dashboards

search_custom_dashboards
Read-only

Search Documents

When to use: 사용자가 대시보드(리포트)나 차트 이름으로 저장된 차트 값을 물을 때 저장된 문서를 찾는다. document_type=CHART 와 차트 이름으로 찾으면 id 를 바로 evaluate_chart_document 에 넘길 수 있고, 차트 이름을 모르면 REPORT 를 찾아 get_custom_dashboard 로 안의 차트를 본다. 새 차트를 어느 리포트에 추가할지 고를 때도 쓴다.

Limitations: 이 프로젝트 문서 중 이름에 검색어가 들어간 것만 찾는다(대소문자 무시, 최소 1글자). document_type 으로 CHART/REPORT/DIRECTORY 등을 거를 수 있다. 호출자에게 custom_dashboard:read 권한이 없는 문서는 결과에서 빠진다. 단, document_type 을 지정하지 않았고 폴더(DIRECTORY)와 그 안의 읽을 수 있는 문서 이름에 모두 검색어가 들어 있으면 폴더 권한이 없어도 폴더가 남는다. 그 폴더를 get_custom_dashboard 로 열면 403 이 날 수 있다.

Examples:

  • Q: 이름에 '매출'이 들어간 대시보드를 찾아줘 params: {'query': {'q': '매출'}}

  • Q: '브랜드별 재구매 주기' 차트 값을 보여줘 params: {'query': {'q': '재구매 주기', 'document_type': 'CHART'}}

Output shape: list of {id, name, type, updated_at, sort_order}

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": {
      "q": "<q>"
    },
    "name": "search_custom_dashboards"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch keyword for document name
project-idNo
document_typeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds genuinely useful non-obvious behavior: results are filtered by custom_dashboard:read, and an unreadable DIRECTORY can still surface when document_type is omitted, in which case opening it with get_custom_dashboard may return 403. That edge case is valuable context beyond 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?

Section headers (When to use, Limitations, Examples, Output shape) front-load the decision-relevant information, and the worked examples with params are efficient. Minor waste: the 'Search Documents' title line and the Output shape line duplicate structured data, and the Korean/English mixing slightly slows parsing.

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 three-parameter read tool with an output schema, the definition covers purpose, routing, permission caveats and examples. The only real gap is the unexplained project-id parameter and the unexplained enum values, which the schema does not describe either.

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 33%, and the description compensates partially: it explains that q matches a substring of the document name, case-insensitively, minimum one character, and that document_type filters CHART/REPORT/DIRECTORY. The project-id parameter is never explained and the enum values come only from the schema, so coverage of the remaining parameters is incomplete.

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 body states a specific verb and resource — find saved documents (dashboards/reports/charts) by name within the project — and distinguishes it from get_custom_dashboard and evaluate_chart_document. The header line 'Search Documents' is generic and doesn't match the tool name, but the following text disambiguates adequately.

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?

An explicit 'When to use' section names the concrete alternatives: use document_type=CHART plus chart name when the id should go straight to evaluate_chart_document, and fall back to REPORT + get_custom_dashboard when the chart name is unknown. Limitations add exclusion conditions (name-substring only, case-insensitive, min 1 char, permission-filtered).

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