Skip to main content
Glama

Publish HTML as a hosted link

publish_html

Publish a self-contained HTML document and get a public URL to share reports, dashboards, decks, or one-page sites instead of a file others cannot open.

Instructions

Publish a self-contained HTML document and get back a public URL. Use this whenever the user wants to share, send, or host HTML you produced — a report, dashboard, deck, prototype or one-page site — instead of leaving it as a file they cannot open. The HTML must be self-contained: inline the CSS and JS, or reference them by absolute URL.

Input Schema

NameRequiredDescriptionDefault
htmlYesThe full, self-contained HTML document to publish. Max 1MB on the free plan, 10MB on Pro, 50MB on Studio/Agency.
slugNoOptional custom path, e.g. 'q3-report' → /p/q3-report. 2–64 lowercase letters, digits and internal hyphens. Requires a paid plan (Pro or above); omit for a random slug.
titleNoHuman-readable title. Sets the link-preview title — pass a real one, not a filename.
passwordNoOptional password (4–72 characters). Viewers must enter it to see the page. Paid plans only; omit for a public page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations provided, the description must carry the behavioral burden. It usefully discloses that output is a public URL and that the document must be self-contained, but is silent on the lifecycle: whether the link is permanent, how re-publishing to the same slug behaves, and whether a published page can be deleted or updated (which is exactly what update_page implies).

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?

Three sentences, front-loaded with the action and result, then usage triggers, then the hard constraint. No filler, and the constraint is placed where an agent will read it before constructing the call.

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?

No output schema exists, but the description states the return value (a public URL), and the size/plan limits and slug/password rules live in the fully documented schema. The only meaningful gap is the post-publish lifecycle (link persistence, re-publish behavior), which matters for a creation tool with no annotations.

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 100%, so the baseline is 3; the description earns an extra point by adding real constraint semantics for the key parameter beyond the schema text — CSS and JS must be inlined or referenced by absolute URL, which is not spelled out in the 'html' field description.

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?

Names a specific verb and resource (publish a self-contained HTML document) and states the outcome (get back a public URL). This is inherently distinguishable from the sibling update_page, which modifies an existing page rather than creating a hosted link.

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 explicit when-to-use guidance with a concrete trigger ('whenever the user wants to share, send, or host HTML you produced') and example artifacts (report, dashboard, deck, prototype, one-page site), plus the rationale of avoiding an unopenable file. It stops short of naming the sibling update_page as the alternative for editing an already-published page.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools