Skip to main content
Glama

list_allowed_roots

Read-onlyIdempotent

Check which folders this server may open, along with extension, file size, and scan count limits. Use this first to get valid root paths before calling other tools; paths outside these roots are rejected.

Instructions

이 서버가 열 수 있는 폴더와 제한값을 조회합니다.

모든 작업의 출발점입니다. 경로를 추측해서 다른 도구를 부르지 말고, 여기서 얻은 root 아래의 경로만 넘기세요. root 밖은 전부 거부됩니다.

Returns: AllowedRootsResponse: roots[](경로·존재여부), 여는 확장자 목록, 파일 크기 상한, 스캔 개수 상한, 그리고 이 제한들이 적힌 설정 파일 경로.

Examples: - 사용: "어떤 폴더를 분석할 수 있나요?" / 다른 도구가 PATH_OUTSIDE_ROOT로 거부했을 때 - 사용하지 않음: 이미 root를 알고 파일 목록이 필요할 때 → scan_folder

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootsYesscan_folder에 넘길 수 있는 root 목록
stageYes분석 워크플로에서 지금 위치한 단계
statusYes이 호출의 결과 상태
workflowYes이 서버의 단계 순서. tools/list는 도구 목록만 주고 순서를 주지 않으므로 여기서 알려 줍니다
config_pathYes이 제한들이 적힌 설정 파일. 넓히려면 사람이 직접 고쳐야 합니다.
max_file_mbYes한 파일 크기 상한(MB)
next_actionsNo이어서 호출하면 좋은 도구 목록
observabilityYes트레이스 상태 (run_id, 켜짐 여부, 기록 줄 수, 쓰기 실패 수). 본문은 트레이스에 남지 않습니다
max_scan_entriesYesscan_folder가 한 번에 돌려줄 최대 파일 수
allowed_extensionsYes이 서버가 여는 확장자
Behavior4/5

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

Annotations already convey readOnly, idempotent, and non-destructive behavior. The description adds valuable behavioral context by stating that paths outside the returned roots are rejected, and clarifies that the response includes limits (file size, scan count) and config file path. This goes beyond the annotations to inform the agent of critical scope constraints, though it does not cover all potential behaviors (e.g., rate limits), so a 4 is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is succinct and well-structured. It opens with the core purpose, immediately follows with a critical usage warning, then lists the return fields, and concludes with concrete usage examples. Every sentence serves a distinct purpose—providing purpose, constraints, return info, or usage guidance—with no redundancy or filler.

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?

Given the tool has no parameters and an output schema exists, the description is complete. It covers the tool's role, usage constraints, and return contents, while the examples clarify edge cases. The agent has all necessary information to decide when and how to call this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, and the schema is empty with 100% coverage (trivially). The description compensates by explaining the output structure (roots, extensions, limits, config path), which is useful for understanding the tool's effect. Since there are no parameters to document, the description adds meaning beyond the schema by clarifying the return payload, meriting a 4.

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 clearly states the tool's purpose: 조회 (retrieve/list) the folders the server can open and the associated limits. It identifies the specific verb and resource, and explicitly differentiates itself from scan_folder by specifying when to use each. The examples further clarify its distinct role as the starting point for all operations.

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?

The description provides explicit usage guidance: it declares itself as '모든 작업의 출발점' (starting point for all operations), instructs users not to guess paths and to only use paths under roots, and gives concrete scenarios for when to use (e.g., when another tool rejects with PATH_OUTSIDE_ROOT) and when not to (when you already have roots and need a file list, use scan_folder). This fully addresses when and when-not, with a named alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/goods9999-ai/personal-file-analysis-mcp_test_20260826'

If you have feedback or need assistance with the MCP directory API, please join our Discord server