Skip to main content
Glama
codex-mcp-tool

codex-mcp-tool

list-skills

Read-onlyIdempotent

Discover available Codex skills across project and user directories, including .agents, .codex, $CODEX_HOME, and home skill paths, to locate reusable capabilities for a working directory.

Instructions

Discover available Codex skills: project .agents/skills and .codex/skills, plus user $CODEX_HOME/skills and ~/.agents/skills

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
workingDirNoWorking directory to search for skills. Defaults to resolved working directory.

Output Schema

NameRequiredDescriptionDefault
errorNo
skillsYes
baseDirYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.7.0
    • addedOutput schema / properties / error
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv2.4.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and idempotentHint=true, so the safety profile is covered. The description adds that skills are searched across both project and user-level roots, which explains scope. It does not say whether missing directories error out or simply yield fewer results, nor anything about ordering/dedup, leaving a gap for a discovery tool.

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?

A single compact sentence that front-loads the verb and purpose, then lists the search roots. Every clause carries information; only minor cost is that the colon-separated directory list is dense to parse.

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?

An output schema exists, so return structure need not be explained, and annotations cover safety. What remains missing is the behavioral edge-case information (missing directories, result merging/dedup between project and user roots) that matters for a multi-location discovery tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single workingDir parameter is already documented with its default. The description adds meaning by clarifying that the search spans project-level and user-level locations, which contextualizes what the working directory actually scopes. It still does not state whether workingDir changes only the project-relative roots or also affects the user paths.

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+resource: discovering available Codex skills, and enumerates the exact directory locations searched (.agents/skills, .codex/skills, $CODEX_HOME/skills, ~/.agents/skills). This is clear but does not name or contrast with sibling tools like help or health, so it falls short of full sibling differentiation.

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 'Discover available Codex skills' — an agent would use it to enumerate what skills exist before invoking one. However, there is no explicit when-to-use clause, no mention of when not to use it (e.g., versus help), and no stated alternative.

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