Skip to main content
Glama

List Skills

list_skills
Read-only

Lists available generated Ansible skills with name, description, and path, optionally filtered by collection namespace. Use it to discover skills for agents.

Instructions

List all available generated skills. Returns name, description, path for each.

Searches ANSIBLE_KNOW_SKILLS_PATH (colon-separated) when set, otherwise the single SKILLS_DIR. Duplicate names keep the first path's entry.

Returns: [{"name": str, "description": str, "path": str}, ...] or {"error": str} on failure.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_skills"
  }
}

Input Schema

NameRequiredDescriptionDefault
collectionNoOptional collection namespace to filter skills (e.g. 'netbox.netbox'). Without this, returns all skills.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint, the description discloses where skills are discovered (ANSIBLE_KNOW_SKILLS_PATH colon-separated when set, otherwise SKILLS_DIR), how duplicate names resolve (first path wins), and that failures return an {"error": str} object. This is genuinely useful behavioral context that annotations cannot convey.

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?

Front-loaded with purpose and return shape, then environment resolution, then error shape. Every sentence carries information; the only minor overhead is reStructuredText backtick markup that reads as noise to an agent.

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

Completeness4/5

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

For a read-only, single-optional-parameter discovery tool with an output schema, the description covers selection paths, deduplication, and error output. The only gap is that the collection filter, the one lever an agent has, is left entirely to the schema.

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% and the single 'collection' parameter is fully documented in the schema itself, including an example namespace. The description never mentions the filter, so it adds no meaning beyond the schema; 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 and resource: 'List all available generated skills', with the returned fields named. It is clearly distinguishable from mutating siblings like generate_skill or single-item get_skill, though it does not name any alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 'List all available generated skills' and the note that duplicate names keep the first path's entry, which hints at the aggregation use case. However, there is no explicit statement of when to use this versus get_skill, nor caveats about when the list may be empty or stale.

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