Skip to main content
Glama
zql78

mcp-linux-ops

by zql78

list_directory

Displays directory contents for any given path. Optionally shows hidden files to reveal complete folder structure.

Instructions

列出目录内容

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryPathYes要列出的目录路径
includeHiddenNo是否包含隐藏文件(默认 false)
Behavior1/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. The description only restates the tool's basic function and does not mention return format, whether hidden files are included by default (though schema indicates default false), error handling, or whether listing is recursive.

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

Conciseness3/5

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

The description is very concise—a single sentence—but it lacks necessary contextual structure. It is appropriately short for the simple function, yet under-specifies behavioral details that would help an agent use the tool correctly.

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?

For a simple tool, the description is incomplete given no output schema and no annotations. It does not explain what the returned data looks like, whether it is sorted, or any edge-case behavior. It also provides no guidance on when to invoke this tool over siblings.

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 both parameters are documented with descriptions. The tool description adds no additional parameter context beyond the schema, which is acceptable given the high 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 '列出目录内容' (List directory contents) clearly states the action (list) and resource (directory contents). It is specific enough to distinguish from sibling tools like read_file or execute_command, which operate on file content or shell commands respectively.

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?

No guidance is provided on when to use this tool versus alternatives. There is no mention of prerequisites, typical scenarios, or explicit exclusion of cases where other tools (e.g., read_file) would be more appropriate.

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/zql78/mcp-linux-ops'

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