Skip to main content
Glama

Host a web page, publish HTML: a URL for your agent's output

page_publish
Read-only

Publish an HTML page and get a public URL for it (valid up to 7 days): send the HTML (up to 200,000 characters) and an optional title; the page is sanitised (no scripts, styles, frames, forms or event handlers; links and https images stay), screened by content moderation, stored, and served at /p/ with noindex. Use to hand a person a report, table or summary your agent produced, or to share results between agents. Removal requests: /support. Price $0.01/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
daysNoDays the page stays online, 1 to 7 (default 7)
htmlYesThe HTML to publish (body content or a full document), up to 200,000 characters
titleNoPage title (default: the first line of text)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond annotations, the description discloses sanitisation rules (no scripts/styles/frames/forms/event handlers; links and https images survive), content moderation, storage, noindex serving, expiry limits, pricing ($0.01/call), failed-call policy, and repeat-call cost. These are substantive behavioral details an agent could not infer from annotations alone.

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?

The paragraph is dense but front-loaded: purpose and return format come first, then behavioral constraints and pricing. Every sentence carries operational information, though the pricing/support details make it slightly overstuffed for a single paragraph.

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

Completeness5/5

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

With no output schema, the description still explains what the caller receives (a public URL at /p/<id>) and the page's lifetime. Annotations cover the safety profile, and the description fills in sanitisation, moderation, and cost behavior. An agent has enough to invoke this correctly.

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 100%, so the schema already documents html, title, and days with defaults and limits. The description mostly repeats those constraints ('up to 200,000 characters', 'optional title', 'valid up to 7 days') rather than adding new syntax or edge-case semantics. 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 states a precise verb+resource ('Publish an HTML page and get a public URL') and clarifies scope: sanitisation, moderation, storage, and serving at /p/<id>. This is clearly distinguishable from every sibling tool, which are extraction/research utilities rather than output-hosting tools.

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?

It gives clear when-to-use guidance: 'hand a person a report, table or summary your agent produced, or to share results between agents.' It does not name explicit alternatives or exclusions, but the intended context is unambiguous.

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