Skip to main content
Glama

get_available_skills

Discover available AI skills and their use cases by parsing skill metadata, enabling LLMs to identify which capabilities are accessible before requesting detailed information.

Instructions

Get an overview of all available skills.

This tool provides LLMs with a list of available skills and their use cases by parsing the frontmatter (YAML metadata) at the start of each SKILL.md file.

LLMs should rely on this tool to discover what skills are available before requesting detailed skill information.

Returns

list[dict[str, str]] List of skill metadata dictionaries, each containing: - name: The skill identifier (lowercase, hyphens only) - description: When and how to use this skill - path: Location of the skill directory

Examples

skills = get_available_skills() print(skills[0]["name"]) 'single-cell-rna-qc'

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • The handler function for the 'get_available_skills' tool. It is decorated with @mcp_server.tool() and uses SkillParser to retrieve and return a list of available skills.
    @mcp_server.tool() def get_available_skills() -> list[dict[str, str]]: """Get an overview of all available skills. This tool provides LLMs with a list of available skills and their use cases by parsing the frontmatter (YAML metadata) at the start of each SKILL.md file. LLMs should rely on this tool to discover what skills are available before requesting detailed skill information. Returns ------- list[dict[str, str]] List of skill metadata dictionaries, each containing: - name: The skill identifier (lowercase, hyphens only) - description: When and how to use this skill - path: Location of the skill directory Examples -------- >>> skills = get_available_skills() >>> print(skills[0]["name"]) 'single-cell-rna-qc' """ skills = skill_parser.find_all_skills() return [skill.to_dict() for skill in skills]
  • The registration point where register_skill_tools is imported and called to add the 'get_available_skills' tool (and others) to the FastMCP server.
    # Register tools with the configured skills directory from skill_to_mcp.tools._skills import register_skill_tools register_skill_tools(mcp_server, skills_dir)

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/biocontext-ai/skill-to-mcp'

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