Skip to main content
Glama

index_skills

Discovers and catalogs installed Codex, Claude Code, and Hermes skill directories, refreshing selections or adding custom roots for Capalith's read-only catalog.

Instructions

Find and index installed Codex, Claude Code and current Hermes profile skill directories. Refresh the current selection or select different sources; discover also handles first-use setup. Supply host_homes from known host context if the client's environment omitted a custom home. No-argument calls refresh the selection; source_paths selects only explicit custom roots. Creates Capalith's catalog, never edits sources or activates skills. config_show previews roots.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspaceNoAbsolute task workspace; falls back to CLAUDE_PROJECT_DIR, then server cwd.
host_homesNoKnown absolute host config homes, not installation or skill paths. Overrides filtered environment values; omitted keys use the server environment.
source_pathsNoAbsolute skill directories selected by the user or task.
extra_source_pathsNoUser-added absolute skill directories alongside host defaults, after them in priority. Replaces previous additions; [] clears them. Omit to retain. Cannot be combined with source_paths, which selects only explicit roots.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With annotations declaring readOnlyHint=false but destructiveHint=false, the description resolves the ambiguity: 'Creates Capalith's catalog, never edits sources or activates skills.' That tells the agent exactly what side effect occurs and what does not, which the annotations alone cannot convey. It does not mention failure modes or permission requirements.

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 the core action, then compact clauses for each parameter's behavior. Dense but every sentence carries a distinct instruction; the 'config_show previews roots' aside is slightly tacked-on but still useful routing information.

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?

The tool mutates its own catalog, and the description states the boundary (creates catalog, never edits sources/activates skills) plus the parameter interplays. An output schema exists, so return values need not be explained. Minor gap: no mention of what happens to previously indexed skills on refresh.

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%, so the baseline is 3, but the description adds real meaning: no-arg calls refresh, source_paths is restricted to explicit roots, and host_homes should come from known host context when the environment omitted a value. This clarifies the interaction between optional parameters beyond the per-field schema text.

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?

Opens with a specific verb+resource: 'Find and index installed Codex, Claude Code and current Hermes profile skill directories.' It also distinguishes itself from a sibling by noting 'config_show previews roots,' so an agent can separate indexing from previewing. It stops short of fully differentiating from discover/inspect/traverse, so not a 5.

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?

Explicitly states the invocation modes: no-argument calls refresh the selection, source_paths selects only explicit custom roots, and host_homes is supplied 'from known host context if the client's environment omitted a custom home.' It also notes first-use setup is handled by 'discover.' Clear context with no explicit when-not guidance beyond that.

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

Deploy Server

Other Tools