Skip to main content
Glama

Save your own skill

save_skill

Save or update your own SKILL.md playbook as user/. Store reusable creative instructions and resources so search_skills and load_skill can list and load them first.

Instructions

Save (or update) your own SKILL.md playbook as "user/". search_skills lists it first and load_skill loads it. Frontmatter: name, description, tags, categories, actions, apply, brand_id, caption_template, style_reference_url. Pass skill_md, or with the local npx server a path. Limits: 50 skills, 48k-character playbook, 12 resources.

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

Input Schema

NameRequiredDescriptionDefault
pathNoLocal npx server only: a SKILL.md file or its folder (other text files upload as resources).
skill_idNoSlug to save under (default: frontmatter name).
skill_mdNoThe whole SKILL.md (YAML frontmatter, then markdown).
resourcesNoBundled text files, { "references/look.md": "…" }.
apply_by_defaultNoSave it with apply: always (overrides frontmatter).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.6
    • changedInput schema / properties / apply_by_default / description
      Previous value: -"Apply to every autonomous_edit (overrides frontmatter)."New value: +"Save it with apply: always (overrides frontmatter)."
  2. Addedv0.7.4

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare that this is a non-read-only, non-destructive, closed-world write. The description adds real behavioral substance beyond that: namespacing under user/, precedence of apply_by_default over frontmatter, the accepted frontmatter keys, and hard limits (50 skills, 48k playbook, 12 resources). It stops short of saying what happens when a limit is exceeded or how an update merges with prior content.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and target namespace, then frontmatter keys, then the input alternatives, then limits — every clause carries information. No filler or restatement of the title.

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 five-optional-parameter upsert tool with no output schema, the description covers identity, input forms, embedded structure and constraints. The remaining gap is the outcome: whether an update overwrites the whole playbook and what the response confirms, which an agent would need for safe re-saves.

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 coverage is 100%, so the baseline is 3 and the schema already documents path, skill_id, skill_md, resources and apply_by_default. The description does add value by enumerating the frontmatter fields embedded inside skill_md (name, description, tags, categories, actions, apply, brand_id, caption_template, style_reference_url) and by clarifying that apply_by_default overrides the frontmatter's apply value — meaning beyond the schema, but modest.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource: save/update a SKILL.md playbook under the namespace "user/<slug>". It also names the sibling tools that consume the result (search_skills lists it first, load_skill loads it), so an agent can place it precisely in the skill workflow without opening a schema.

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?

Clarifies the upsert semantics ("Save (or update)") and tells the caller it can either pass skill_md inline or, on the local npx server, a path. The integration hints (listed by search_skills, loaded by load_skill) give clear usage context, though there is no explicit when-not or guidance on re-saving versus deleting and recreating.

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