Skip to main content
Glama

Publish static HTML

publish_html

Publish either a complete static HTML document or a generated diagram by generationId and return its stable URL. Omitted sharing is private to the owner. Explicitly choose public or combine domain, specific-email, and password access with an optional expiration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlNo
titleNoA distinctive title that will make this artifact easy to find later.
sharingNoOptional access policy. Omit it to publish privately.
styleRefNoOptional exact active style reference from get_artifact_style. This records the requested style and is not evidence of visual fidelity.
generationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / generationId
      Added value: +{
      +  "maxLength": 128,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "html"
      -]
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already communicate that this is a write operation with possible external effects. The description adds the 'stable URL' behavior, but the private-by-default sharing statement repeats the sharing parameter's schema description. It does not disclose persistence/overwrite behavior or other side effects beyond the annotations.

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 sentences with no filler; the primary purpose and return value are front-loaded, and the sharing behavior is stated compactly. Every sentence earns its place.

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?

The definition is adequate for a straightforward publish action, but given a complex nested schema with no output schema and no required top-level properties, it leaves ambiguity about whether exactly one of html/generationId must be supplied and how to choose between related publishing siblings. The stable URL return is stated, but other operational constraints are absent.

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 60%, leaving html and generationId undocumented. The description clarifies that 'html' is a complete static document and that 'generationId' refers to a generated diagram, adding meaning the schema lacks. It also reinforces the sharing default, though schema already covers it.

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 names a concrete action ('Publish'), specific resource types ('complete static HTML document' or 'generated diagram by generationId'), and the outcome ('return its stable URL'). This clearly distinguishes it from siblings like publish_page and publish_presentation.

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 intended use by describing the two accepted payloads (HTML or generationId), but it never explicitly states when to choose publish_html over publish_page/publish_presentation, nor gives any when-not-to-use guidance. The usage context is inferable rather than explicit.

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.