Skip to main content
Glama
irfanfath123

homelab-monitor-mcp

by irfanfath123

list_dir

List directory contents read-only on local or remote homelab servers within scoped project paths. Provide an absolute path and optional host name to inspect files.

Instructions

List directory contents (read-only)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNoServer name from HOMELAB_HOSTS (e.g. 'sil-baru'). Omit to run on the local machine.
pathYesAbsolute path inside HOMELAB_PROJECT_DIRS (e.g. '/home/user/projects/api')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/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. It does disclose the key safety trait ('read-only'), which is real value, but says nothing about recursion depth, hidden files, output format, error behavior, or permission requirements.

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?

A single front-loaded sentence with zero waste. It is efficient, though its extreme brevity leans toward under-specification rather than exemplary structure.

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 simple read-only listing tool with full schema coverage and no output schema, the essentials are present. However, nothing tells the agent whether the listing is recursive, how results are returned, or how path-scope violations are surfaced.

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 the schema already documents both 'host' (HOMELAB_HOSTS name, omitted for local) and 'path' (absolute path inside HOMELAB_PROJECT_DIRS). The description adds no syntax or constraint detail beyond that, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb+resource ('List directory contents'), which is immediately distinguishable from file-content siblings like read_file and host-list siblings like list_hosts. It does not, however, explicitly name any sibling or scope boundary, so an agent gets no routing help beyond the obvious noun.

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?

There is no when-to-use, when-not-to-use, or alternative guidance. The parenthetical '(read-only)' hints at safety but not at when this tool should be chosen over read_file, run_command, or list_hosts.

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