Skip to main content
Glama
kyoungjongkil

file-analyzer

list_documents

Read-onlyIdempotent

Retrieve filtered file paths from a folder for analysis, supporting extension, name pattern, sorting, and image-file identification.

Instructions

폴더 안 파일 목록을 돌려준다.

여기서 받은 path 값을 다른 도구의 path 인자에 그대로 넣으면 된다. kind가 image인 파일은 텍스트 검색에 잡히지 않으므로 read_image로 봐야 한다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
extNo확장자 필터. 예) '.pdf' 또는 'pdf,pptx'. 비우면 전체.
limitNo돌려줄 최대 파일 수
patternNo파일명·경로에 포함될 문자열 필터(대소문자 무시). 비우면 전체.
sort_byNo정렬 기준: path | sizepath

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
filesYes
shownYes
stageYes문서 분석 워크플로에서 지금 위치한 단계
statusYes이 호출의 결과 상태
truncatedYes
next_actionsNo이어서 호출하면 좋은 도구 목록
Behavior4/5

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

Annotations already mark the tool as read-only and idempotent. The description adds that image-kind files are not caught by text search, which is a meaningful behavioral trait about output. No contradiction with annotations.

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 description is brief and front-loaded with the purpose, followed by two usage tips. Each sentence earns its place, though the missing folder context is a minor structural gap.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list tool with fully documented params and an output schema, the description is functional. However, it fails to mention which folder is listed (a crucial contextual dependency) and does not describe the return structure beyond the path hint. The usage tip is valuable but not fully complete.

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 covers 100% of parameters with concise descriptions (ext, limit, pattern, sort_by). The description adds no parameter-specific detail, staying within the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states it returns a file list in a folder, but does not clarify which folder is being referred to (no `path` parameter exists; likely controlled by `set_folder`). It does not distinguish itself from siblings like `search_documents`, so an agent may not know when to choose this over alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit cross-tool guidance: returned `path` values can be reused in other tools' `path` arguments, and image-kind files are excluded from text search, so `read_image` should be used. This is actionable and helps route the agent correctly.

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/kyoungjongkil/fileanalyzer_mcp_testmonial'

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