Skip to main content
Glama

Install managed application

install_application
DestructiveIdempotent

Queue a catalog application install using its version-pinned container blueprint after confirming service, release channel, access, and config variable names; get a one-time password in VPSnet panel.

Instructions

Queue installation of a catalog application using its version-pinned container blueprint. Call list_application_catalog first: target.install_requirements.runtime_restart_consent.required tells you whether this server still needs restart consent, and the entry's secret_delivery.one_time_secrets tells you whether the install generates a password shown only once. Confirm the service, application, release channel, access choice, and configuration variable NAMES with the user first; never repeat variable values in confirmation text. For the first managed application on an existing server, acknowledge_runtime_restart may be true only after explicit consent to a possible one-time server restart. This tool always requests portal secret delivery: a generated password is revealed once, to the user, in the VPSnet panel. It is never returned here, and this tool must never claim on the user's behalf to have received and stored it. When the result reports secret_delivery.pending_reveal or a portal handoff, tell the user a password is waiting and send them to the panel. An install left on private access is reachable only from inside the server, not from a browser: when the user wants to open a web-UI application, request an advertised public mode (usually platform_https) in this call, and after the installation reports healthy, read the resulting public endpoint URL from get_application_installation and relay it to the user together with the panel handoff. This is asynchronous and not a paid API-key operation. Requires applications:manage.

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": {
      "orderNo": "<orderNo>",
      "application": "<application>",
      "idempotencyKey": "<idempotencyKey>",
      "confirmed": "<confirmed>"
    },
    "name": "install_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
accessNoExact access request using a mode and fields advertised by the selected catalog entry. Omitting it accepts the platform default: public platform_https when VPSnet platform hostnames are available, otherwise private. private keeps the application reachable only from inside the server, so for an application the user will open in a browser prefer an advertised public mode such as platform_https.
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
confirmedYesTrue only after the user confirmed this installation
variablesNoConfiguration values keyed by the public variable names in the catalog. Values are submitted to VPSnet but never returned by this tool.
applicationYesPublished application slug from list_application_catalog
idempotencyKeyYesClient-global unique key. Reuse it only to replay this exact installation request; never reuse it for another service or request.
release_channelNoPublished release channel. Omit it to install the application's own published channel; most catalog applications are not published on a channel named 'stable', so never guess one.
acknowledge_runtime_restartNoExplicit consent for a possible one-time server restart while the managed runtime is prepared

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.3.21
    • removedInput schema / properties / access / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mode": {
      -        "const": "platform_https",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mode": {
      -        "const": "private",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mode": {
      -        "const": "public_http",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mode": {
      -        "const": "external_https",
      -        "type": "string"
      -      },
      -      "url": {
      -        "maxLength": 500,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "url"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "additional_addresses": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "action": {
      -              "default": "redirect",
      -              "enum": [
      -                "redirect",
      -                "serve"
      -              ],
      -              "type": "string"
      -            },
      -            "approve_dns": {
      -              "const": true,
      -              "type": "boolean"
      -            },
      -            "name": {
      -              "maxLength": 190,
      -              "pattern": "^(?:@|(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*)?)$",
      -              "type": "string"
      -            },
      -            "zone_id": {
      -              "minimum": 1,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "zone_id",
      -            "name",
      -            "approve_dns"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 4,
      -        "type": "array"
      -      },
      -      "approve_dns": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "mode": {
      -        "const": "managed_https",
      -        "type": "string"
      -      },
      -      "subdomain": {
      -        "maxLength": 190,
      -        "pattern": "^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$",
      -        "type": "string"
      -      },
      -      "zone_id": {
      -        "exclusiveMinimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "zone_id",
      -      "subdomain",
      -      "approve_dns"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedInput schema / properties / access / oneOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "mode": {
      +        "const": "platform_https",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "mode": {
      +        "const": "private",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "mode": {
      +        "const": "public_http",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "mode": {
      +        "const": "external_https",
      +        "type": "string"
      +      },
      +      "url": {
      +        "maxLength": 500,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "additional_addresses": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "action": {
      +              "default": "redirect",
      +              "enum": [
      +                "redirect",
      +                "serve"
      +              ],
      +              "type": "string"
      +            },
      +            "approve_dns": {
      +              "const": true,
      +              "type": "boolean"
      +            },
      +            "name": {
      +              "maxLength": 190,
      +              "pattern": "^(?:@|(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*)?)$",
      +              "type": "string"
      +            },
      +            "zone_id": {
      +              "minimum": 1,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "zone_id",
      +            "name",
      +            "approve_dns"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 4,
      +        "type": "array"
      +      },
      +      "approve_dns": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "mode": {
      +        "const": "managed_https",
      +        "type": "string"
      +      },
      +      "subdomain": {
      +        "maxLength": 190,
      +        "pattern": "^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$",
      +        "type": "string"
      +      },
      +      "zone_id": {
      +        "exclusiveMinimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "zone_id",
      +      "subdomain",
      +      "approve_dns"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / variables / propertyNames / type
      Added value: +"string"
  2. First observedv2.3.16

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: asynchronous execution, no API-key charge, applications:manage permission, mandatory portal secret delivery with one-time reveal that is never returned to the caller, and the rule that a private-access install is unreachable from a browser. These are exactly the side effects and constraints an agent needs before triggering a destructive, open-world install.

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?

Purpose is front-loaded in the first sentence and each subsequent sentence carries operational content. It is dense and the private-vs-public access point is stated twice (matching the schema's own access description), which costs some economy.

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 complex 8-parameter async mutation with no output schema, the description covers the post-call workflow: interpret secret_delivery.pending_reveal, direct the user to the panel, then read the public endpoint from get_application_installation and relay it. Failure modes and the shape of the remaining result fields are left unaddressed.

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%, so the baseline is 3; the description still adds real meaning by explaining when acknowledge_runtime_restart may legitimately be true, that variables must be confirmed by NAME only and never echoed in confirmation text, and that for browser-facing apps an advertised public mode (usually platform_https) should be requested.

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 ('Queue installation of a catalog application using its version-pinned container blueprint') and scopes it to catalog apps rather than recipes, which lets an agent distinguish it from install_application_recipe. The async, version-pinned nature of the operation is also signalled.

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 prerequisite ('Call list_application_catalog first'), a mandatory user-confirmation workflow, and a conditional consent gate for acknowledge_runtime_restart. It does not explicitly contrast with install_application_recipe or other install paths, so the sibling routing is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools