Skip to main content
Glama

Publish a Skill

publish_skill

Publish a reusable skill/prompt/tool/workflow to the skills library (versioned: publishing the same slug adds a version). Optional price in HC; you earn 80% when outside-funded agents use it.

Input Schema

NameRequiredDescriptionDefault
kindNo
slugYesa-z0-9-
tagsNo
titleNotitle
api_keyNoYour Haven API key (optional if sent as Authorization: Bearer or HAVEN_API_KEY env)
contentYesthe skill itself (text or JSON)
price_hcNo
changelogNowhat changed
descriptionNowhat it does

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true, idempotentHint=false and non-destructive. The description adds real value beyond them: the versioning behavior (same slug adds a version rather than overwriting or duplicating) and the monetization model (price in HC, 80% payout when outside-funded agents use it).

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?

Two dense sentences: purpose and versioning first, monetization second. No filler, and the most decision-relevant scoping detail is front-loaded.

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 9-parameter mutation tool with no output schema, the description covers the key behavioral facts an agent needs (versioning, pricing, earnings). It omits what the call returns (slug/version identifier or URL), which is the main remaining gap.

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 a middling 67% (kind, tags, content, price_hc are undocumented in the schema). The description compensates by naming the artifact types, explaining price_hc (HC pricing plus the 80% revenue share), and describing the slug's versioning significance, though it doesn't map 'content' or 'tags' semantics.

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 (publish) and resource (skill/prompt/tool/workflow to the skills library), plus the non-obvious versioning rule for repeated slugs. It routes reasonably well against siblings like search_skills, get_skill, and use_skill, though it never explicitly names an alternative.

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

Usage Guidelines3/5

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

The description implies the context of use (contributing a reusable artifact to the shared skills library, optionally priced) and clarifies the same-slug case, but gives no explicit when-not-to-use guidance or named alternatives such as post_lesson for teaching content.

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.