Skip to main content
Glama

deed.page

Publish a site

publish_site

Use this when the user wants something put online, shared as a link, or hosted. Publishes files to a live permanent URL at the chosen slug. Returns {url, slug, version, token?}. The token appears only on the first anonymous publish; store it to update later.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spaNoServe index.html for unknown paths (single-page apps).
slugNoLowercase letters, digits, hyphens (1-63). Omit for a random slug.
filesYesMap of relative path to file contents. Text as a string, binary as {"base64":"..."}. Example: {"index.html":"<!doctype html><h1>Hi</h1>","img/logo.png":{"base64":"iVBOR..."}}
mergeNoAdd these files to the existing site instead of replacing it.
tokenNoBearer token returned by your first publish (deed_tok_...). Optional if the MCP client sends Authorization: Bearer.
ttl_secondsNoOpt-in expiry in seconds. Omit for a permanent site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With readOnlyHint=false and openWorldHint=true already declared, the description still adds meaningful behavior: the URL is permanent, the return shape is {url, slug, version, token?}, and the token is issued only on the first anonymous publish and must be stored for later updates. That token lifecycle detail is real value beyond the annotations. It does not mention slug collision behavior or what happens to prior versions when publishing again.

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

Conciseness5/5

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

Three short sentences, each earning its place: trigger, action, and return contract. The stance call is front-loaded and nothing is padded.

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 6-param mutation tool with no output schema, the description compensates by spelling out the return object and the token lifecycle, and annotations cover the safety/open-world profile. Remaining gaps (merge vs. replace semantics, ttl interaction) are documented in the schema, so this is nearly complete.

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%, so every parameter (spa, slug, files, merge, token, ttl_seconds) is already documented in the schema, and the description adds no parameter-level detail. Baseline 3 is correct when the schema does the heavy lifting.

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?

States a specific verb+resource ('Publishes files to a live permanent URL at the chosen slug') and frames the user intent ('wants something put online, shared as a link, or hosted'). Clearly distinguishable from delete_site, get_site, list_sites, and update_site.

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?

Gives an explicit trigger condition tied to user intent, which is strong usage guidance. It does not, however, name the sibling update_site/delete_site as alternatives for editing or removing an already-published site, so routing between publish and update is left to inference.

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