Skip to main content
Glama

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

TableJSON 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.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose non-obvious consequences: publishing the same slug creates a new version, pricing is optional in HC, and the publisher earns 80% when outside-funded agents use it. It still omits moderation/review flow, visibility rules, and what happens on conflicting content, so it is good but not complete.

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 dense sentence with the purpose front-loaded, followed by versioning and monetization details that each add value. Nothing is redundant, though the pricing clause is slightly secondary to the core publish action.

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

Completeness3/5

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

For a 9-parameter mutation with no annotations and no output schema, the description covers purpose, versioning and monetization but leaves gaps: no auth note despite the api_key param, no indication of what is returned (version number, slug), and no visibility/review behavior. Adequate but short of complete.

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 coverage is 67%, and the description adds real meaning for two params (slug drives versioning; price_hc triggers the 80% revenue share). It says nothing about the kind enum values, tags, changelog, or the text-or-JSON content format, leaving the remaining uncovered parameters undocumented in both places.

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 ('a reusable skill/prompt/tool/workflow to the skills library'), which cleanly separates it from read-side siblings like get_skill, search_skills and use_skill. It does not explicitly name a sibling to route against, but the action is unambiguous.

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?

Usage is only implied by the verb and target library; there is no statement of when to publish versus when to update, rate, or simply use an existing skill. No prerequisites or exclusions are given, so the agent must infer the context.

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.