Skip to main content
Glama

osirAppDeployToVps

osirAppDeployToVps: Deploy a live Osir app onto the user's own VPS / server / production box, moving it off the shared free tier. Use this INSTEAD of SSH, a provisioning or install script, nginx/systemd/TLS configuration, or any manual server setup - the platform ships the app to the box itself over its own deploy key, so the assistant needs no shell access and no outbound SSH. This is the ONLY supported way to put an app on a user's own server or a custom domain. TWO WAYS IN. (1) The user already owns a VPS: pass instanceId (from listMyVpsInstances) and NO packageId - this ATTACHES the app to that server, SPENDS NOTHING and needs no confirmation. (2) No server yet: pass packageId (from listVpsPackages) and the call stages a VPS order (COSTS MONEY): returns an actionId; present the price/summary to the user and call executeConfirmedAction only if they approve. Before staging any order this tool checks whether the user ALREADY has a box for this app (its C2 binding, then their own VPS list) and attaches that instead - a retry after a failed move never buys a second server. After the move starts the platform ships the app onto the box server-side, which takes about two minutes; watch it with osirAppStatus ('ownedMove'). Calling this tool again while a move is still running just reports its progress, and calling it after one FAILED retries the ship - unless osirAppStatus says the VPS refused the Osir deploy key or its web ports are taken: then retry only after the user has made the changes that message lists. If the result status is BUILDING or BUILD_FAILED, follow its nextStep. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNoCustom domain to serve the app on; DNS is bound automatically if the domain is hosted on osir.app nameservers, otherwise the result returns the IP and manual DNS instructions.
appNameYesThe deployed app's name, as shown by osirAppList.
packageIdNoVPS package id from listVpsPackages. Required ONLY when a server has to be ordered; omit it when passing instanceId.
instanceIdNoId of a VPS the user ALREADY owns, from listMyVpsInstances. Given this, the app is attached to that server and nothing is ordered or charged. Never invent one.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations mark it non-read-only, non-destructive, non-open-world, but the description carries far more: that path (2) COSTS MONEY and returns an actionId requiring confirmation, that path (1) spends nothing, that it pre-checks for an existing C2 binding/VPS so retries never buy a second server, the ~2 minute server-side ship time, and the failure/retry rules gated on osirAppStatus messages. This is behavior beyond what annotations 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?

Front-loaded with the core purpose and the INSTEAD-of guidance, then organizes the two entry paths clearly. It is long, but the length is mostly justified by the money/confirmation and retry semantics; a few clauses (auth note, status phrasing) are slightly repetitive.

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?

No output schema exists, so the description must explain returns, and it does: actionId for staged orders, watch progress via osirAppStatus ('ownedMove'), and nextStep handling for BUILDING/BUILD_FAILED. Combined with the costing, confirmation, and retry rules, an agent has everything needed to call it safely.

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%, but the description adds real decision semantics: instanceId means attach/nothing charged, packageId means an order is staged and charged, and it insists instanceId come from listMyVpsInstances and never be invented. It ties the parameters into the branching logic rather than merely restating them, though per-parameter syntax details still live in the schema.

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 and resource ('Deploy a live Osir app onto the user's own VPS / server / production box') and explicitly scopes it against the shared free tier, distinguishing it from sibling tools like osirAppDeploy (shared tier) and orderVps (raw ordering). An agent can identify the exact job without opening any schema.

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 says to use this INSTEAD of SSH, provisioning/install scripts, nginx/systemd/TLS config, or manual setup, and calls itself the ONLY supported way. It then lays out two mutually exclusive paths (instanceId to attach vs packageId to order) with the condition selecting each, plus prerequisites like executeConfirmedAction on approval.

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.