Skip to main content
Glama

Publish an artifact

super_publish

Publish html or template values at a stable URL; the same slug adds a version, keeping earlier ones. Always give the person the url from the result, even on updates. Without policy, inputs store nothing. plan_limit refuses and deletes nothing. Templates become shared through release.

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": {
      "slug": "<slug>"
    },
    "name": "super_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlNoComplete self-contained index.html.
kindNoDefault `page`. `dashboard` labels a page of mostly live data.
slugYesKebab-case, 3–63 chars, under your key’s handle: it updates one there you are Editor on. Another workspace’s artifact: publish from its dashboard.
filesNoWith `html`: small assets. ≤200, 5 MiB each, 10 MiB total, decoded.
titleNoUnder 60 chars. Default: page <title>.
policyNoData policy v1 for html. Document-source templates accept only {collections:[{key,owner:r|rw,visitors:none|published}]} (max 4); omit to keep, [] clears. Other templates forbid policy.
promptNoOptional: the request it answers, on its card.
valuesNoFilled slots for `template`'s runtime, by slot name; `json` slots are schema-checked.
datasetNoWith `values`: overrides the declaration's `dataset.key`.
uploadsNouploadId from super_upload; its files ship with the page.
templateNoThe template built from (provenance); required with `values` or `instances`.
triggersNoDeclared agent triggers: key, prompt, optional label, on, who, agent, input, when, once. At most 8 and 12 KiB; omitted on redeploy keeps the previous set.
continuesNoWith `values`: the dataset key this one succeeds.
instancesNoInstead of `slug`/`values`: several pages of one `template`.
collectionNoGallery grouping label, not a content collection.
valuesFileNoWith `uploads`: the staged JSON file to read `values` from.
visibilityNoFrom version 1. Default: the workspace default; public is set after.
descriptionNoLink-preview sentence, under 200 chars. Default: `prompt`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, closed-world behavior, and the description adds real context on top: slug-adds-a-version with prior versions retained, that omitting policy stores nothing, that plan_limit refuses without deleting anything, and that sharing flows through release. It doesn't describe the overall response shape beyond the URL, but the failure-mode and versioning disclosures are exactly the kind of behavior the annotations can't convey.

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?

Five short clauses, front-loaded with what the tool does and immediately followed by the agent-critical instruction to return the URL. The telegraphic style occasionally costs clarity ('plan_limit refuses and deletes nothing' needs inference), but no sentence is padding.

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 an 18-parameter tool with nested objects and no output schema, the description covers the key behavioral edges (versioning, policy omission, quota refusal) and hints at the return value's URL. Role/permission requirements and the meaning of visibility changes are left to the schema, which is reasonable given full coverage.

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 description coverage is 100% and the per-parameter docs are unusually rich (policy rules, template/values coupling, instance limits), so the schema already carries the parameter burden. The description echoes the html/values split and the 'Without policy' caveat but adds little semantic detail beyond what each property already documents.

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 names a specific verb (publish) and resources (html or template values), and adds the scope-defining outcome: a stable URL where the same slug adds a version while keeping earlier ones. That versioning semantics is what makes this tool identifiable apart from a plain artifact write or set operation.

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?

The description implies when-to-use paths (publish here; 'Templates become shared through release' points sharing to another step) and gives an agent-facing post-call rule about always surfacing the URL. It never explicitly states when not to use it or names the alternative for updating an artifact's settings, so guidance is implied rather than spelled out.

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.