Skip to main content
Glama

Publish skill version

publish_skill
Destructive

Publica el BORRADOR de una skill (por name) como una versión nueva, inmutable, con su notes (la nota de cambios que verán quienes la tengan instalada). Falla si el borrador no tiene cambios desde la última versión, si no tiene SKILL.md o si alguna de sus dependencias no tiene ninguna versión publicada (el error la nombra). Cada persona decide cuándo actualizar: no se aplica sola. Exige plan de pago. workspaceId opcional: el workspace donde operar (list_workspaces los enumera). Sin él se usa el de la credencial.

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": {
      "name": "<name>"
    },
    "name": "publish_skill"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
notesNo
workspaceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=false) it discloses that the resulting version is immutable, that `notes` is a changelog visible to installers, that updates are never auto-applied, that a paid plan is required, and exactly which errors name their cause. This is substantial behavioral context the schema and annotations cannot convey.

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 core action is front-loaded in the first sentence, followed by failure conditions and then parameter behavior. Every sentence adds distinct, actionable information with no 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 three-parameter mutation with no output schema, the description covers the action, side effects, failure modes, billing prerequisite and optional-parameter defaulting. Nothing an agent needs in order to invoke it correctly is missing.

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full burden, and it does: `name` selects the draft to publish, `notes` is defined as the user-visible changelog, and `workspaceId` is explained as optional with list_workspaces as the enumerator and a documented credential-based default.

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 specific verb+resource: publishing a skill's DRAFT as a new immutable version, identified by `name`. The mention of draft, immutability and `notes` distinguishes it clearly from sibling tools like save_skill or get_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?

Explicitly lists the preconditions under which it fails (no changes since last version, missing SKILL.md, unpublished dependencies) and notes the paid-plan requirement, which tells the agent when not to call it. It does not name the sibling used to edit the draft first, but the context is otherwise unambiguous.

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.

Resources