Skip to main content
Glama

skill_save

Destructive

Create or update reusable skills from Markdown or explicit fields, so they are stored site-wide and auto-loaded when their description matches a task.

Instructions

Create or update a skill. Provide either a full Markdown document (YAML frontmatter + body) as markdown, or explicit fields. Skills are shared site-wide and loaded automatically when their description matches a task.

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": "skill_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
nameNo
enabledNo
markdownNoFull skill document (--- frontmatter --- then body).
descriptionNoThe trigger blurb — write it so it clearly signals when to use the skill.
enable_promptNo
enable_agenticNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, so the safety bar is partly cleared; the description adds real context by noting skills are shared site-wide and auto-matched by description. It does not disclose what happens on overwrite — whether an update replaces the whole document or merges fields, and whether existing values are lost — which is precisely the destructive behavior the annotation hints at.

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?

Three tight sentences with the action front-loaded and the input-mode rule immediately after. Nothing is padded, though the third sentence about site-wide sharing could be ordered earlier since it explains behavior rather than inputs.

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?

For a destructive upsert with zero required parameters, no output schema, and low schema coverage, the definition leaves key gaps: update/replace semantics, interaction between the three enable* flags, and what a successful save returns or triggers. The auto-loading note covers part of the picture but not enough to call it complete.

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

Parameters2/5

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

Seven parameters with only 29% schema coverage, yet the description explains only the two-mode choice between `markdown` and explicit fields. The markdown structure (YAML frontmatter + body) and the trigger role of `description` merely restate what the schema already says, and `name`, `body`, `enabled`, `enable_prompt`, and `enable_agentic` get no meaning from the description at all.

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 opens with a specific verb pair plus resource ("Create or update a skill"), which is precise enough to distinguish it from skill_get, skill_list, or skill_delete. It does not explicitly name those siblings, but the upsert framing makes the tool's role unambiguous.

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?

It gives input-mode guidance (use `markdown` OR explicit fields) and states that skills are auto-loaded when their description matches a task, which implies why one would save one. However, it never says when to prefer this over related tools or what to do when a skill already exists, so usage is only implied.

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