Skip to main content
Glama
kyoungjongkil

file-analyzer

build_digest

Read-onlyIdempotent

Build a folder summary digest with file structure snippets and leading content excerpts in one call, reducing round trips. Excerpts cover only beginnings; truncated files need further extraction.

Instructions

폴더 전체 요약용 재료를 한 번에 모아준다.

파일마다 [축약 구조 + 본문 앞부분]을 붙여 돌려준다. "이 폴더 전체를 요약해줘" 같은 요청에 이걸 먼저 부르면 왕복이 줄어든다.

발췌는 앞부분뿐이다. 여기 실린 내용만으로 "문서 전체를 읽었다"고 하지 마라. 결론에 영향을 주는 파일은 extract_content로 이어 읽어라. truncated가 True면 담기지 않은 파일이 있으니 그 사실을 밝혀라.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
extNo확장자 필터. 예) 'pdf,pptx'. 비우면 전체.
limit_filesNo최대 파일 수
chars_per_fileNo파일당 본문 발췌 길이

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootYes
filesYes
stageYes문서 분석 워크플로에서 지금 위치한 단계
statusYes이 호출의 결과 상태
truncatedYeslimit_files 상한에 걸려 일부만 담았으면 True
file_countYes
next_actionsNo이어서 호출하면 좋은 도구 목록
content_noticeYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safe-read profile is covered. The description adds real behavioral value by warning that excerpts are only the beginning of files (do not claim to have read the full document) and by instructing disclosure when the 'truncated' flag is True. 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 front-loaded with the primary purpose, and the critical operational warnings are emphasized with bold. Every sentence earns its place; the length is justified by the behavioral caveats. Slightly verbose but well-structured for the information density required.

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?

An output schema exists, so return format is covered. The description covers purpose, usage timing, the excerpt-limitation caveat, and the truncated behavior. It does not mention what file types are excluded beyond the ext filter, but given the output schema and rich behavior notes, this is largely 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 description coverage is 100%, so all three parameters (ext, limit_files, chars_per_file) are already documented with defaults and ranges. The description adds no extra parameter semantics beyond the schema, which is the expected baseline when the schema carries the full load.

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 purpose: 'collects materials for summarizing an entire folder at once' and defines the exact output shape (condensed structure + beginning of body per file). It distinguishes itself from extract_content by scope (batch folder operation vs. per-file deep reads) and names the use case explicitly.

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?

Gives clear when-to-use guidance: call this first for requests like 'summarize this whole folder' to reduce round trips. It also routes to extract_content for files that affect conclusions. It stops short of explicitly stating when NOT to use it (e.g., single-document queries), so the exclusion guidance is implied rather than spelled out.

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