Skip to main content
Glama

install_skill

Installs a skill from the library into a chosen user, project, or custom folder so the user's agent loads it automatically; confirm with the user before installing.

Instructions

Install a skill from the library so the user's agent loads it automatically. Ask the user first.

Args: skill_name: Name of a skill in the library. where: "user" (~/.claude/skills, every project), "project" (<project_dir>/.claude/skills), or any folder path (for other agents' skill folders). project_dir: Project folder, needed when where="project".

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "skill_name": "<skill_name>"
    },
    "name": "install_skill"
  }
}

Input Schema

NameRequiredDescriptionDefault
whereNouser
skill_nameYes
project_dirNo

Output Schema

NameRequiredDescriptionDefault
resultYes

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?

Annotations only declare the flags (readOnly=false, destructive=false, openWorld=false); the description adds real context by naming the target directories (~/.claude/skills vs <project_dir>/.claude/skills), the downstream effect of auto-loading, and the user-consent requirement. It leaves out whether an existing skill of the same name is overwritten or how to undo an install.

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?

The two-sentence summary is front-loaded and the Args block is standard, scannable documentation. Slight redundancy between the 'where' sentence and the Args entry, but nothing padding.

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 3-parameter mutating tool with an output schema (so return values need no explanation), the definition covers intent, precondition, and per-parameter meaning adequately. Gaps are edge-case behaviors like overwrite handling and name validation rather than blockers to a correct call.

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 0%, so the description carries the full burden and mostly meets it: 'where' is spelled out with concrete folder meanings and a default, and the 'project_dir needed when where="project"' dependency is stated. 'skill_name' remains thin — it says the name lives in the library but not that it comes from list_library/search_library.

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?

Specific verb+resource: 'Install a skill from the library' plus the resulting effect ('so the user's agent loads it automatically'), which tells an agent exactly what changes in the world. It does not explicitly contrast with library-reading siblings like list_library or search_library, but the write-vs-read distinction is unambiguous.

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?

'Ask the user first' is an explicit precondition that gates invocation, and the 'where' documentation routes the agent between user-level, project-level, and arbitrary folder installs. No exclusions or sibling alternatives are named, so it stops short of the top score.

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