Skip to main content
Glama

osirSitePublish

osirSitePublish: Publish a single-page website to a live HTTPS URL on Osir (free tier). ANY complete HTML document works: the user's own site, a page designed in this chat, or one from the osirSiteDesignBrief flow. Calling again with the same name redeploys the new version. For MULTI-FILE sites (separate CSS/JS/images) use osirAppCreateUpload + osirAppDeploy with a zip instead. Then poll osirAppStatus until READY. If the app was moved to the user's own VPS, redeploying under the same name updates it there and keeps its domain. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlYesThe complete <html> document to publish (max 1 MiB).
nameYesSite name: lowercase letters, digits, and hyphens, e.g. 'bar-mediterran'.
regionNoRegion: 'us' or 'al' ('al' is Albania/Tirana).
sessionKeyNoSession key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth.
designContractNoSet true ONLY for pages generated via the osirSiteDesignBrief flow; additionally enforces its output contract (exactly one <h1>, self-contained, no external scripts/CSS except Google Fonts, no iframes). Never set it for a user's own site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / designContract / description
      Added value: +"Set true ONLY for pages generated via the osirSiteDesignBrief flow; additionally enforces its output contract (exactly one <h1>, self-contained, no external scripts/CSS except Google Fonts, no iframes). Never set it for a user's own site."
    • addedInput schema / properties / html / description
      Added value: +"The complete <html> document to publish (max 1 MiB)."
    • addedInput schema / properties / name / description
      Added value: +"Site name: lowercase letters, digits, and hyphens, e.g. 'bar-mediterran'."
    • addedInput schema / properties / region / description
      Added value: +"Region: 'us' or 'al' ('al' is Albania/Tirana)."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations are all false and thus neutral, so the description carries the behavioral burden and meets it: it discloses the redeploy-on-same-name semantics, the authentication requirement, the VPS-moved edge case (updates there and keeps the domain), and the free-tier single-page scope. It does not contradict any annotation, since idempotentHint=false is consistent with 'calling again redeploys'.

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?

Roughly 90 words across four sentences, purpose front-loaded in sentence one, with each subsequent sentence earning its place: redeploy semantics, multi-file alternative with polling, VPS edge case, and auth. No filler or repetition of schema content.

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 5-param tool with no output schema and minimal annotations, the description is nearly complete: it covers scope, valid inputs, update behavior, the alternative workflow, the VPS edge case, and authentication. The only minor gap is that it doesn't state how the resulting URL is returned or any free-tier limit beyond the schema's 1 MiB — a small omission given no output schema exists to document the response.

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 per the rubric the baseline is 3 even without param detail in the description. The description adds light contextual value by stating ANY HTML document works (mapping to the html param) and referencing the designBrief flow (mapping to designContract), but it does not need to compensate for any schema gap.

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 sentence states a specific verb (publish) + resource (single-page website) + outcome (live HTTPS URL on Osir), which fully defines the operation. It also differentiates from siblings by naming what inputs count (ANY complete HTML document) and by being the single-file counterpart to the multi-file osirAppCreateUpload/osirAppDeploy path.

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?

The description gives explicit, decision-ready routing: multi-file sites should use osirAppCreateUpload + osirAppDeploy with a zip, then poll osirAppStatus until READY. It also clarifies that redeploying under the same name replaces the version, and that the tool applies to user sites, chat-designed pages, and osirSiteDesignBrief outputs alike — no inference required.

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.