Skip to main content
Glama
oemoem12

lmstudio-agent-mcp

by oemoem12

agent_list_skills

Read-onlyIdempotent

List available agent skills from a configured directory. Filter by glob pattern and receive a JSON report with skill count and names.

Instructions

Discover and list skills available in the configured skills directory.

A skill is one of:

  • <skills_dir>/<name>/main.py (or run.py) with a run(input, **kwargs) function

  • <skills_dir>/<name>.py — Python skill

  • <skills_dir>/<name>.sh — Shell skill

  • <skills_dir>/<name>.md — Markdown skill (returns the file contents)

Args: skills_dir: Override the skills directory. pattern: Optional glob pattern to filter skill names.

Returns: str: JSON with keys 'success', 'skills_dir', 'count', and 'skills'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternNoOptional glob pattern to filter skill names (e.g. 'trans*').
skills_dirNoOverride the skills directory (defaults to LMSTUDIO_AGENT_SKILLS_DIR or ./skills).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive behavior. The description adds valuable context beyond those flags by enumerating accepted skill file formats and specifying the JSON return structure with keys success, skills_dir, count, and skills.

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 dense but well-organized: a one-sentence purpose, a bulleted list of skill types, and clearly labeled Args/Returns. Every sentence earns its place without redundant filler.

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

Completeness5/5

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

With only two optional parameters, a return shape already summarized, and rich annotation coverage, the description fully covers the tool's behavior, skill definitions, and expected output. The agent has everything needed to select and invoke this tool correctly.

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 coverage is 100% and the description's Args section primarily restates what the input schema already says (override skills_dir, optional glob pattern). The description adds no new parameter semantics beyond the schema, yielding the baseline score.

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 opens with 'Discover and list skills available in the configured skills directory', a specific verb+resource statement. It clearly distinguishes this discovery tool from siblings like agent_run_skill or agent_read_file by defining what counts as a skill.

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 tool's purpose is clear from 'Discover and list skills', and the sibling set reinforces when to use it (e.g., before running a skill with agent_run_skill). However, it does not explicitly state when not to use it or name alternative tools, so it stops short of full usage guidance.

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/oemoem12/lmstudio-agent-mcp'

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