Skip to main content
Glama

publish

Publish HTML or Markdown content as a shareable URL. Pass content byte-for-byte from the source — do not retype, reformat, minify, summarize, or 'clean up' the input; even one stray character can break inline scripts on the published page. If the content is too large to copy verbatim through the model, use the REST endpoint POST /v1/artifacts (or /v1/artifacts/upload for ZIPs) instead. For Markdown, optionally include images as base64-encoded data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoArtifact title (default: Untitled)
formatYesContent format
imagesNoImages referenced in the markdown content. Only used when format is 'markdown'.
contentYesThe HTML or Markdown content to publish. Copy this verbatim from the source file or buffer — do not modify, reformat, or regenerate it. Whitespace, emojis, comments, and exact character sequences inside <script> and <style> blocks all matter. If you cannot fit the full content unmodified in one tool call, fall back to POST /v1/artifacts via curl.
visibilityNoVisibility (default: unlisted)

TDQS

A4.4/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 of behavioral disclosure. It adds valuable transparency by warning that content must be passed byte-for-byte and that minor changes can break inline scripts. This goes beyond the schema's basic description and alerts the agent to a critical constraint, though it doesn't discuss auth, reversibility, or rate limits.

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 concise and front-loaded with the purpose, followed by critical usage guidance. The three sentences are dense but each earns its place: purpose, content-fidelity warning with alternative, and image handling. No filler or redundancy beyond the necessary emphasis on byte-for-byte fidelity.

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?

Given the lack of an output schema, the description implicitly indicates the return is a 'shareable URL' but doesn't explicitly state the return format. It covers the main use case, the critical content-fidelity constraint, and a fallback for large content. Missing explicit return type and any auth/precondition notes, but the description is largely complete for a publish action.

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 parameters are already well-documented. The description largely reiterates the byte-for-byte instruction from the content param and mentions base64 images (already in schema). It doesn't add new syntactic or semantic details beyond the schema, so baseline 3 is appropriate.

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?

The description clearly states a specific action: 'Publish HTML or Markdown content as a shareable URL.' It identifies the resource (content) and output (URL), which distinguishes it from sibling tools like publish_site that likely publish entire sites.

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

Usage Guidelines5/5

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

The description gives explicit guidance on when to use this tool versus the REST endpoint: 'If the content is too large to copy verbatim through the model, use the REST endpoint POST /v1/artifacts instead.' This provides a clear when-to-use and when-not-to-use condition, plus an alternative.

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.

TDQS

A3.6/5.0
Disambiguation5/5

Each tool serves a clear, distinct function: get retrieves metadata/content, publish creates single-page artifacts, publish_site creates multi-file sites from ZIPs, and versions lists history. There is no overlap that would cause an agent to pick the wrong tool.

Naming Consistency2/5

The naming pattern is inconsistent. 'get' and 'publish' are bare verbs, 'publish_site' follows a verb_noun pattern with underscore, and 'versions' is a noun. A more consistent scheme would be 'get_artifact', 'publish_artifact', 'publish_site', 'list_versions'.

Tool Count5/5

With only 4 tools, the server is lean and well-scoped for the artifact publishing domain. Each tool covers a distinct core operation without unnecessary bloat.

Completeness2/5

The surface lacks essential operations for artifact lifecycle management. There is no way to list all artifacts or delete/update an artifact, which are common expectations. The 'versions' tool requires an artifact ID, but without a list operation, discoverability is a significant gap.

Resources