Skip to main content
Glama

Edit Skill

edit_skill
Destructive

Change a skill's files, merged into its latest saved package. Personal skills publish at once; other changes save as a draft unless publish=true, which also publishes an unchanged draft. Organization skills can't be published here. Returns the new version.

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_id": "<skill_id>",
      "expected_version": "<expected_version>"
    },
    "name": "edit_skill"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoFiles to add or replace, by path; a null value removes that file.
publishNoAlso publish; with no files, publishes the current draft.
skill_idYesThe skill_id from list_skills or create_skill, or an organization, team or personal skill's name.
expected_versionYesThe version from read_skill(draft=true) or your last edit; a stale one fails instead of overwriting.

Output Schema

NameRequiredDescriptionDefault
nameYesSkill name.
filesYesAll file paths in the skill.
scopeYesglobal (organization), personal, team or project.
statusYesdraft, published or withdrawn.
noticesNoVenom reminders to read first.
versionYesVersion for edit_skill expected_version.
revisionNoPublished revision.
scope_idNoTeam or project ID for team/project skills.
skill_idYesSkill ID for read_skill or edit_skill.
has_unpublished_changesYesTrue if saved changes await publishing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / skill_id / description
      Previous value: -"Which skill to change: the skill_id that list_skills or create_skill gave it, or an organization, team or personal skill's name."New value: +"The skill_id from list_skills or create_skill, or an organization, team or personal skill's name."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it explains merge behavior, immediate publication for personal skills, draft-saving for other changes, the org-skill publishing restriction, and that the new version is returned. These details meaningfully clarify the mutation and publishing model for an agent.

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?

The description is compact and front-loaded: the core edit behavior comes first, followed by publishing rules and the org restriction. Every sentence contributes concrete information without filler.

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

Completeness5/5

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

For a 4-parameter mutation tool with full schema coverage, annotations, and an output schema, the description provides enough context on merging, drafting, publishing, and version returns. No critical behavioral detail appears to be missing for correct invocation.

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 description coverage is 100%, so the parameters are already well documented, including files removal via null, publish behavior, and stale expected_version failure. The description reinforces the overall edit-and-publish semantics but adds only marginal parameter-specific meaning beyond the schema.

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 states a specific verb and resource: changing a skill's files within its latest saved package. It is clearly distinct from create/read/list siblings in practice, but it does not explicitly name alternatives or state that new skills should be created with create_skill.

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?

The description gives useful context for when publishing happens automatically and when publish=true is needed, and it explicitly excludes publishing organization skills here. It lacks direct guidance about when to use this instead of sibling tools such as read_skill or create_skill.

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.