Skip to main content
Glama

Publish to Flowershow

publish
Destructive

Publish files as a live website on Flowershow and get a shareable URL. Use when the user says "publish this", "put this online", "make this a website", "share this as a page" or "host this".

Accepts Markdown (.md, rendered as a styled page with navigation), HTML (.html, served as-is), Word documents (.docx as contentBase64, converted to a page), PDFs (.pdf as contentBase64, shown as a page) and supporting files such as CSS, JS, JSON and images: one page or a small site, up to 50 files and 3 MB per call. Name the home page index.md or index.html.

Anyone with the link can see what you publish. When you publish, tell the user every path you are sending (and any paths in delete) and which site they go to: a new site, or the one being updated. Stop and ask before calling publish only when it matters: a file looks private or sensitive (drafts, personal notes, keys or passwords, data with people's names or emails), the call removes files (with delete or replaceWholeSite) the user didn't ask to remove, it would create a new site when the user meant to update one, or the set of files differs from what the user asked to publish. If the user already named the files, asked for the removal or said to go ahead, that is their yes.

Without an account this creates a new site that expires in 7 days and returns a claim link: always show the user the live URL and the claim link exactly as returned, so they can keep the site. To update that site later in the conversation, call publish again with its siteId and claimToken and only the files you changed or added: files you don't send are kept as they are. To remove pages or files, list their paths in delete (files can then be empty). Only when the user explicitly asks to start the site over, set replaceWholeSite to true: the files you send become the whole site and every other file is removed. If that would remove existing files, the call is refused and tells you how many and which; ask the user, then call again with confirmDeleteCount set to that number.

To keep a site in the user's Flowershow account, call claim-site; to work with sites already in their account, use list-sites, list-files and read-file. Those tools ask the user to sign in to Flowershow first; after that, publish goes into their account.

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": {
      "files": "<files>"
    },
    "name": "publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesFiles to add or update. When updating a site, send only the files that changed; other files are kept. Can be empty when only deleting.
deleteNoPaths of existing files to remove from the site (with siteId), e.g. ["old-page.md"]
siteIdNoUpdate this existing site instead of creating a new one
claimTokenNoThe claimToken returned when the anonymous site was created (needed with siteId when not signed in)
replaceWholeSiteNoSet true only when the user asks to start the site over: the files sent become the whole site and all other files are permanently removed. Never use it to update a few pages. Default false.
confirmDeleteCountNoWith replaceWholeSite: the number of existing files the replace will remove, as reported by the refused first call. Set it only after the user has confirmed.

Output Schema

NameRequiredDescriptionDefault
siteIdYes
liveUrlYes
messageYes
claimUrlNo
expiresAtNo
claimTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / files / items / properties / contentBase64 / description
      Previous value: -"Binary content, base64-encoded (images, .docx etc.)"New value: +"Binary content, base64-encoded (images, .docx, .pdf etc.)"
  2. Changed1 schema field changed
    • changedInput schema / properties / files / items / properties / contentBase64 / description
      Previous value: -"Binary content, base64-encoded (images etc.)"New value: +"Binary content, base64-encoded (images, .docx etc.)"
  3. Changed4 schema fields changed
    • addedInput schema / properties / confirmDeleteCount
      Added value: +{
      +  "description": "With replaceWholeSite: the number of existing files the replace will remove, as reported by the refused first call. Set it only after the user has confirmed.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / delete
      Added value: +{
      +  "description": "Paths of existing files to remove from the site (with siteId), e.g. [\"old-page.md\"]",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 1000,
      +  "type": "array"
      +}
    • changedInput schema / properties / files / description
      Previous value: -"The complete set of site files"New value: +"Files to add or update. When updating a site, send only the files that changed; other files are kept. Can be empty when only deleting."
    • addedInput schema / properties / replaceWholeSite
      Added value: +{
      +  "description": "Set true only when the user asks to start the site over: the files sent become the whole site and all other files are permanently removed. Never use it to update a few pages. Default false.",
      +  "type": "boolean"
      +}
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructive/openWorld/non-idempotent, yet the description adds what the annotations cannot: 7-day anonymous expiry, the claim link, visibility to anyone with the link, the 50-file/3 MB limit, and the refusal-then-confirm flow for replaceWholeSite with confirmDeleteCount. That is real behavioral context beyond the structured fields.

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?

Front-loaded with purpose and trigger phrases, then layered into content rules, safety policy, and update/delete mechanics. It is long and repeats a little of what the schema already states (files not sent are kept), but almost every sentence carries operational weight.

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?

For a mutation tool with 6 parameters and an output schema, this covers everything an agent needs: accepted formats, naming convention for the home page, size limits, auth/anonymous paths, update vs. replace safety, and the human-confirmation protocol.

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 would be 3; the description earns more by explaining update semantics (omit files to keep them), that files may be empty when only deleting, and the enforced ordering of replaceWholeSite -> refused call -> confirmDeleteCount. It stops short of covering every parameter individually, but adds workflow meaning the schema lacks.

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?

Opens with a specific verb and resource: 'Publish files as a live website on Flowershow and get a shareable URL.' It also enumerates trigger phrases ("publish this", "host this") and makes clear this is the publishing action, distinct from the sibling read/claim tools.

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?

Explicitly routes the agent: use claim-site to keep a site in the account, and list-sites/list-files/read-file to work with existing sites. It also gives a precise stop-and-ask policy (sensitive files, unrequested removals, new-vs-update confusion, file set mismatch) and notes when prior user confirmation counts as consent.

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.