Skip to main content
Glama

delete_skill

DestructiveIdempotent

Delete a skill for good. Identify it by skill_id, or by name (plus brain_id/agent_id when the name is not unique). A name matching several skills is REFUSED and lists them rather than picking one. To keep the success counters and merely take a skill out of circulation, use save_skill with status instead — list_skills only shows active ones. IRREVERSIBLE.

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

Input Schema

NameRequiredDescriptionDefault
nameNoSkill name, alternative to skill_id; refused if ambiguous
user_idNoID of the user
agent_idNoID of the agent
brain_idNoID of the brain
skill_idNoID of the skill to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"ID of the agent"
    • addedInput schema / properties / brain_id / description
      Added value: +"ID of the brain"
    • addedInput schema / properties / name / description
      Added value: +"Skill name, alternative to skill_id; refused if ambiguous"
    • addedInput schema / properties / skill_id / description
      Added value: +"ID of the skill to delete"
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so safety is partly covered, but the description adds the critical irreversibility statement and the refusal-and-list behavior on ambiguous names, which is real runtime behavior an agent must anticipate. It does not cover what happens to dependent records or whether the deleted name can be reused, so it stops short of a 5.

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?

Four short sentences, front-loaded with the action, then identification rules, then the alternative tool, then the irreversibility warning placed last for emphasis. No filler and no repetition of the annotations.

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 5-parameter, zero-required mutation tool with no output schema, the description covers identification, ambiguity handling, the safe alternative, and the permanence of the action. The one gap is downstream effects on anything referencing the skill, which an agent might reasonably want to know before destroying data.

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%, giving a baseline of 3, but the description adds semantics the per-field schema cannot express: name is an alternative to skill_id, and brain_id/agent_id act as disambiguating qualifiers when the name is not unique. That relational logic meaningfully improves correct parameter usage.

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?

The definition opens with a concrete verb and resource ("Delete a skill for good") and immediately narrows scope with the two identification routes (skill_id or name), which distinguishes it cleanly from save_skill and list_skills. An agent knows exactly what it does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states explicitly when NOT to use it and what to use instead: "To keep the success counters and merely take a skill out of circulation, use save_skill with status instead". It also explains the refusal behavior on ambiguous names and notes that list_skills only shows active ones, so the agent can verify before deleting.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.