Skip to main content
Glama

save_approved_skill

Write a distilled skill to an allowlisted output directory only after MCP installs are enabled and human approval is confirmed out-of-band. Use it to persist vetted SKILL.md drafts safely.

Instructions

Save a distilled skill ONLY when MCP installs are enabled and out-of-band approved.

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": {
      "source": "<source>",
      "output_dir": "<output_dir>",
      "human_confirmed": "<human_confirmed>"
    },
    "name": "save_approved_skill"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
providerNo
output_dirYes
preview_idNo
skill_nameNo
approval_tokenNo
expected_digestNo
human_confirmedYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the genuine safety trait of requiring out-of-band approval and enabled installs, which is valuable. However, it is silent on side effects (writes into output_dir), overwrite behavior, token/digest verification, and whether approval_token and human_confirmed are enforced server-side.

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 front-loaded sentence with no waste. The all-caps ONLY emphasizes the gate but borders on shouting; otherwise structure is ideal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter, zero-coverage, unannotated write operation, the description covers only the gating condition. The approval-token/preview-id/digest workflow that an agent must orchestrate is left entirely undocumented, though the existing output schema spares it from explaining return values.

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?

Schema description coverage is 0% across eight parameters, so the description must compensate and largely does not. 'Save a distilled skill' loosely implies source and output_dir, but preview_id, approval_token, expected_digest, skill_name, provider, and human_confirmed receive no explanation anywhere.

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?

States a specific verb and resource ('Save a distilled skill') plus an explicit precondition, so the agent knows this persists a previously distilled skill. It doesn't name the sibling distill_skill_preview, but the 'distilled skill' wording and the approval gate make the distinction inferable from the surrounding catalog.

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?

Gives a hard when-to-use condition: only when MCP installs are enabled and out-of-band approval exists. That is clear context and an implicit exclusion (do not call otherwise), though it never points to the preview tool that must precede it.

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