Skip to main content
Glama
Logic-ze

openEuler MCP Toolkit

by Logic-ze

analyze_file_distribution

Analyze a directory to summarize file counts, sizes, extensions, and identify largest paths.

Instructions

Summarize file counts, sizes, extensions, and largest paths in a directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoDirectory inside allowed roots.
top_nNo
max_depthNo
max_filesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootYes
max_depthYes
extensionsYes
largest_filesYes
scanned_filesYes
scan_truncatedYes
largest_directoriesYes
Behavior2/5

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

No annotations are provided, so the description must cover behavioral traits. It does not mention that the tool is read-only or its potential performance impact (e.g., scanning many files). The parameters max_depth and max_files imply safety limits, but the description does not explain these safeguards.

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 a single concise sentence that front-loads the core purpose. However, it could be more structured by mentioning parameter defaults or usage hints, but there is no wasted text.

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

Completeness2/5

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

While an output schema exists (mitigating need to explain return values), the description fails to elaborate on what 'largest paths' means or how file sizes are summarized. Given the tool's four parameters and potential complexity, the description is too brief.

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

Parameters2/5

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

Schema description coverage is only 25%, and the tool description does not add any parameter details beyond the schema titles. Parameters like top_n and max_depth are not explained, and the description does not compensate for the low schema coverage.

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 verb 'Summarize' and the resource 'file counts, sizes, extensions, and largest paths in a directory'. It distinguishes the tool from sibling tools which are all memory/process related, making its purpose unambiguous.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, nor any prerequisites or limitations. Sibling tools are dissimilar, so confusion is low, but explicit usage guidance is missing.

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/Logic-ze/openeuler-mcp-toolkit'

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