Skip to main content
Glama
Mile-Host

MileHost MCP Server

Official
by Mile-Host

milehost_list_files

List files and directories in your MileHost remote container to explore folder structure and verify deployed files.

Instructions

Lists files and directories inside the user remote container on MileHost. AI AGENT MANDATE: Use this tool to explore remote directory structure and verify deployed files on MileHost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoSubdirectory path to list (optional, defaults to root directory)
api_keyNoOptional MileHost agent API key (mhk_...)
api_urlNoOptional base URL of MileHost API
folder_idNoTarget server or container ID (optional if user has a single server)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the transparency burden. It correctly implies a read-only operation by saying it lists files and directories, but it does not disclose connection/authentication assumptions, output structure, or any special behavior beyond the listing itself. No contradiction with annotations exists because none were provided.

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

Conciseness5/5

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

The description is only two sentences, with the core behavior front-loaded and the intended agent use stated immediately after. There is no redundant filler or unnecessary repetition.

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 listing tool with zero required parameters and full schema coverage, this is minimally adequate. However, it relies on the schema for path and folder semantics, does not mention what the response looks like, and does not address when to prefer related sibling tools.

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?

The input schema already describes all four parameters completely, so the baseline is 3. The tool description adds no additional parameter-level meaning beyond clarifying that listing happens inside the user's remote container.

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?

The description states a specific verb ('Lists') and resource ('files and directories inside the user remote container on MileHost'), making the tool's purpose clear. It is distinguishable from server-level siblings like milehost_list_servers, but it does not explicitly contrast with milehost_list_folders, which could overlap with 'directories'.

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 'AI AGENT MANDATE' sentence explicitly tells agents to use this tool for exploring remote directory structure and verifying deployed files on MileHost. This provides clear context for when to use it, but it does not mention exclusions or alternatives such as milehost_list_folders.

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

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/Mile-Host/MileHost-MCP'

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