Skip to main content
Glama
Hermoso

Hermoso

Official

Publish a web page (Hermoso hosts it)

publish_page
Destructive

Publishes a web page or small static site from files you wrote to a live Hermoso URL, with versioned previews, unlimited pages per site, and optional backend support.

Instructions

Put a web page, or a small static site, live at https://.hermoso.page from files YOU wrote: Hermoso hosts it and never writes it. ONE SITE HOLDS UNLIMITED PAGES: a business keeps all its landing pages on one site as paths (/offer-a, /offer-b), each with its own A/B tests and ad links, and the plan's limit counts SITES, never pages; publish a new site only for another business or address. name: 3-40 lower-case letters, digits and dashes. html becomes index.html, or files [{path, content}] ({path, content, encoding:'base64'} for binary, {path, url} for a file put through upload_file): up to 100 web files (html, css, js, images, fonts, video, pdf), 10 MB each, 25 MB in all, with an index.html. Every publish is a new version with its own preview link (--v). Hermoso adds the brand's Hermoso tag to every HTML file (visits, UTMs, ad click ids, conversions); the page may load and call anything it needs. Forms post wherever their HTML says; to collect a form's sign-ups in the brand's email lead list, mark it data-hermoso-lead (it needs an email field). EVERY PUBLISHED FILE IS PUBLIC: never put API keys or secrets in page files (a browser key like Stripe's pk_ is fine; a secret key is refused); a secret store comes with the later backend pack. live:false saves a preview and leaves the live page alone. Publishing a name the brand already has replaces its files with exactly these; update_page changes a few, get_page reads a file back, list_pages lists them, unpublish_page takes one offline. A site that ships functions/_worker.js gets a backend: a database, accounts, uploads, checkout, realtime and cron, with keys kept by set_site_secret. To run ads to it, use the live URL, or get_page's adDestinations, as the ad's destination link. Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "publish_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlNothe full HTML of the page (becomes index.html)
liveNofalse = save this version as a preview only; default true
nameYesthe page name, which is its address: spring-sale is served at https://spring-sale.hermoso.page
noteNowhat this version changes
badgeNofalse takes the small Made with Hermoso badge off (paid plans)
filesNoinstead of (or as well as) html: every file of the site
titleNoa title for list_pages (default: the index.html <title>)
cookieBannerNoa cookie banner + privacy page (default on when the tag forwards to ad platforms)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.674

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say it is a destructive, non-idempotent, open-world write; the description goes far beyond by disclosing that republishing a name replaces all files, that every publish creates a new versioned preview (<name>--v<N>), concrete limits (100 files, 10 MB each, 25 MB total), that the Hermoso tag is injected into every HTML file, and that every published file is public and secret keys are refused. The replace-file semantics is the key destructive behavior an agent needs and it is stated plainly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the purpose and the critical replace-warning, and most sentences carry real information. But it is one dense block with inline emphasis and parenthetical asides, and the closing material on functions/_worker.js backends, set_site_secret and ad destinations drifts into adjacent tools' concerns rather than this call's parameters.

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?

For a destructive, 8-parameter writer with no output schema, the definition covers the safety-critical ground: replacement behavior, public exposure, size limits, versioning and preview mode. The only soft spot is that the actual return payload is implied (a preview link per version) rather than spelled out, which matters slightly more because no output schema exists.

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 already 100%, so the baseline is 3; the description still adds value by supplying the name constraint (3-40 lower-case letters, digits, dashes), the html→index.html mapping, the binary/url forms of files entries, and the lead-capture hint via data-hermoso-lead. It leaves note, badge and cookieBanner largely to the schema, which is fine given their explicit schema descriptions.

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 opening clause gives a specific verb, resource and destination ('Put a web page... live at https://<name>.hermoso.page') and explicitly confines the role ('Hermoso hosts it and never writes it'). It also names the sibling mutations it is not — update_page, get_page, list_pages, unpublish_page — so an agent can route correctly without opening another schema.

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?

It states the when-to-use rule with an exclusion ('publish a new site only for another business or address') and routes the common alternative case to update_page ('Publishing a name the brand already has replaces its files with exactly these; update_page changes a few'). live:false is documented as the preview path that leaves the live page alone, covering the other main branch point.

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