Skip to main content
Glama

Cloud for Bots

library_publish

[bot-library] Publish or update (new version) a reusable bot recipe. The publishing key owns and signs it. Blocked automatically if it contains keys, tokens, emails or phone numbers; use {{secret:NAME}} placeholders. Args: slug (3-48 lowercase/dashes), data {name, summary, steps[], tools?[], tags?[], prompt?, memory_seed?, handoff_inbox?, forked_from?, works_with?[]}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 does meaningful work: it discloses ownership/signing semantics, an automatic content-scanning block with a concrete escape hatch, and that re-publishing creates a new version. It omits update/overwrite semantics and failure/error behavior, so not a full 5.

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?

Purpose is front-loaded in the first clause, followed by ownership, safety constraint, and the compact args list. Dense but every sentence carries information; the long inline data-field enumeration is the only mildly heavy element.

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 nested-object mutation tool with no output schema and 0% schema coverage, the description covers the top-level args but leaves the nested field names (steps, memory_seed, handoff_inbox, forked_from, works_with) unexplained and does not state what publishing returns or how version conflicts are handled.

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 description coverage is 0%, so the description must compensate, and it does: slug gets a concrete format constraint (3-48 lowercase/dashes) and the nested data object's fields are enumerated. It stops short of typing or marking which nested fields are required/optional beyond '?'.

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 and resource ('Publish or update (new version) a reusable bot recipe') and names the library namespace, which cleanly separates it from siblings like library_get, library_install and library_search. An agent can identify the operation 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 Guidelines4/5

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

Gives preconditions rather than just context: the publishing key owns and signs the recipe, and publication is auto-blocked if content contains secrets, with {{secret:NAME}} placeholders as the prescribed workaround. It never explicitly names a sibling alternative (e.g. library_install for consuming recipes), so it stops short of a 5.

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