Skip to main content
Glama

Publish on BrewPage

publish
Destructive

Shared public namespace: public:true (or namespace:"public"); ordinary link-only: omit both. HTML: content; kind=site: files; kind=file: url; kind=json: json; kind=kv: key,value. Site: {"kind":"site","public":true,"files":[{"path":"index.html","content":"Hi"}]}. A public input URL does not request listing. New HTML titles go in ; preserve supplied HTML. For visitor input read get_guide topic page-data first; publish HTML and state together. Use domain for an owned hostname, linkName for a readable public link. To share a password or key: {"kind":"secret","title":"...","text":"..."}, a private link that stops working after maxViews openings; returns its owner token and manage link.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
keyNoKV key. Excludes hosting.
ttlNokind=secret only. How long it stays readable, default 7d
urlNoPublic HTTP(S) URL fetched directly by the tool. No local download needed.
jsonNoPass objects/arrays directly: {"x":1}. Strings are stored as strings.
kindNoDefault html. secret: one-time secret link from title and text (optional filename, note, tags, ttl, maxViews, ownerToken)
noteNokind=secret only. Your own note; the recipient never sees it
tagsNoTags. Updates accept tags only on HTML and sites
textNokind=secret only. The password, key or file text; encrypted by this server before upload
entryNoSite entry path, default index.html
filesNoFull site bundle.
stateNoPage data configuration for HTML-format pages and sites. {} enables, null disables on update
titleNoAt most 200 Unicode code points. kind=secret: required, one line the recipient sees before opening; never the secret itself. HTML create: checks the existing static document head title before publishing, not stored metadata or script changes; omit when no check is needed.
valueNoString value for kind=kv
domainNoHostname on HTML-format pages or sites, with the required owning profile
formatNoHTML only. html, markdown or a code language
publicNoTrue selects the shared public namespace. Conflicting namespace refuses. Omit for existing defaults; false disallows namespace=public.
contentNoHTML, Markdown or code.
ttlDaysNo
filenameNoOriginal filename.
linkNameNoReadable name for the public link of a page, site or file, with the required owning profile: 6-20 of a-z, 0-9 and hyphens, with a letter
maxViewsNokind=secret only. Openings allowed, 1-10, default 1
passwordNoNew reader password. Omit for no password. Send only the exact password requested, never a placeholder.
templateNoTemplate slug for an HTML copy
verbatimNoPreserve inline source by default. False allows paste repair.
namespaceNoUse public for the shared public namespace, or a custom namespace. Omit for existing defaults.
ownerTokenNoPrivate owner proof.
deliveryModeNo
requireAccountNoRequire account ownership.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"Default html. secret: one-time secret link from text, ttl, maxViews only"New value: +"Default html. secret: one-time secret link from title and text (optional filename, note, tags, ttl, maxViews, ownerToken)"
    • addedInput schema / properties / note
      Added value: +{
      +  "description": "kind=secret only. Your own note; the recipient never sees it",
      +  "type": "string"
      +}
    • changedInput schema / properties / text / description
      Previous value: -"kind=secret only. The password or key; encrypted by this server before upload"New value: +"kind=secret only. The password, key or file text; encrypted by this server before upload"
    • changedInput schema / properties / title / description
      Previous value: -"HTML create only, at most 200 Unicode code points. Checks the existing static document head title before publishing, not stored metadata or script changes. Omit when no check is needed."New value: +"At most 200 Unicode code points. kind=secret: required, one line the recipient sees before opening; never the secret itself. HTML create: checks the existing static document head title before publishing, not stored metadata or script changes; omit when no check is needed."
  2. Changed5 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"Default html"New value: +"Default html. secret: one-time secret link from text, ttl, maxViews only"
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "html",
      -  "site",
      -  "file",
      -  "json",
      -  "kv"
      -]New value: +[
      +  "html",
      +  "site",
      +  "file",
      +  "json",
      +  "kv",
      +  "secret"
      +]
    • addedInput schema / properties / maxViews
      Added value: +{
      +  "description": "kind=secret only. Openings allowed, 1-10, default 1",
      +  "maximum": 10,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "kind=secret only. The password or key; encrypted by this server before upload",
      +  "type": "string"
      +}
    • addedInput schema / properties / ttl
      Added value: +{
      +  "description": "kind=secret only. How long it stays readable, default 7d",
      +  "enum": [
      +    "1h",
      +    "1d",
      +    "7d",
      +    "30d"
      +  ],
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / linkName
      Added value: +{
      +  "description": "Readable name for the public link of a page, site or file, with the required owning profile: 6-20 of a-z, 0-9 and hyphens, with a letter",
      +  "type": "string"
      +}
  4. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the mutation profile is known. The description adds genuine context beyond them: secret links stop working after maxViews openings, the call returns an owner token and manage link, and "A public input URL does not request listing." It stops short of covering overwrite/idempotency behavior, which matters for a 28-parameter write tool that can presumably replace existing pages.

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

Conciseness2/5

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

The text is compact but badly structured: it leads with a namespace edge case rather than what the tool does, then presents a chain of colon/semicolon fragments that read like private notes. Sentences are not clearly separated by topic, so an agent must parse the whole blob to locate the relevant clause.

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?

No output schema exists, so the description carries return-value burden, and it only describes the secret return (owner token, manage link) while saying nothing about what other kinds return. For a 28-parameter, 6-variant mutation tool it covers the important kind mappings and defaults reasonably but leaves gaps around overwrite semantics, per-kind required combinations, and failure modes.

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 93%, so the baseline is 3, but the description adds cross-parameter meaning the schema cannot express: which parameters apply to which kind (content for html, files for site, url for file, json for json, key/value for kv, text/title/maxViews/ttl for secret). That kind-to-parameter routing is the main value-add here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states plainly that this tool creates a publication and returns a link; the purpose has to be inferred from kind-to-parameter mappings ("HTML: content; kind=site: files...") and the example payload. It does implicitly separate itself from read/update/delete siblings by framing everything as creation, but it opens with a namespace nuance rather than a verb+resource statement.

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?

"ordinary link-only: omit both" and "For visitor input read get_guide topic page-data first" give real conditional guidance, and the public-vs-link-only fork is useful. However, most of it is parameter-selection advice, and there is no explicit statement of when to use publish versus update_publication or publication_settings, nor any exclusion for when not to call it.

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.