Skip to main content
Glama
ozwei

LM Studio MCP Bridge

by ozwei

list_files_in_directory

Retrieve a list of files in any local directory by supplying its path. Useful for inspecting folder contents.

Instructions

List files in a specific local directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directory_pathYes
Behavior2/5

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

With no annotations available, the description carries full responsibility for behavioral disclosure. However, it omits details such as whether the listing includes subdirectories, hidden files, or ordering, and does not describe the output format. This is a lean description for a potentially simple tool, but more transparency would be expected.

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 a single concise sentence that directly conveys the tool's purpose without extraneous words.

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 tool with one parameter and no output schema, the description gives the basic function but omits usage context, return values, and edge-case behavior. The siblings list suggests related tools, but the description does not situate itself among them. This is minimally viable but leaves the agent without enough information for confident invocation.

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 schema provides no descriptions for directory_path (0% coverage). The description's phrase 'a specific local directory' gives some context that the parameter should be a local path, but lacks specifics like absolute/relative paths or validation behavior. The parameter name is self-explanatory, so this is adequate but not enriching.

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 action (List) and the resource (files in a specific local directory). It distinguishes from siblings like read_file_content by focusing on directory listing rather than file content reading.

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 over alternatives. It lacks any mention of suitable scenarios, prerequisites, or alternative tools for different needs (e.g., recursive listing vs simple listing).

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/ozwei/lmstudio-mcp-bridge'

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