Skip to main content
Glama

Manage application lifecycle

manage_application
DestructiveIdempotent

Queue a lifecycle action for an owned managed application: start, stop, restart, repair, update, rollback, reconcile, or uninstall. Requires user confirmation and verification of the queued result.

Instructions

Queue one supported lifecycle action for an owned managed application. Confirm the exact action with the user first. For update or rollback, first read get_application_installation and copy the exact advertised blueprint_version and upstream_version as execution preconditions. The backend still selects and freezes the eligible immutable release; callers cannot choose an arbitrary target. Stop interrupts service. Uninstall permanently deletes the managed containers, configuration, saved credentials, and application data; existing server backups are retained. Uninstall requires acknowledge_data_loss=true after explicit user confirmation. A queued response must be verified with get_application_installation and get_application_events. Selective data restore is a separate operation exposed by list_application_restore_points and restore_application_data. Requires applications:manage and is not a paid API-key operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesSupported lifecycle action. Update and rollback apply the exact backend-advertised immutable release. Selective data restore is a separate revision-bound operation.
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 lifecycle action
idempotencyKeyYesClient-global unique key. Reuse it only to replay this exact lifecycle request; never reuse it for another service or request.
installation_idYesManaged application installation UUID
acknowledge_data_lossNoRequired for uninstall only. Set true after the user explicitly confirms permanent deletion of managed configuration, credentials, and application data.
expected_upstream_versionNoRequired for update or rollback: exact upstream_version from the corresponding available_actions capability
expected_blueprint_versionNoRequired for update or rollback: exact blueprint_version from the corresponding available_actions capability

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only supply the coarse destructive/idempotent/openWorld flags; the description adds substantial specifics beyond them: stop interrupts service, uninstall permanently deletes containers, configuration, credentials and data while backups are retained, the backend freezes the eligible release, and the queued response must be verified via get_application_installation/get_application_events. It also notes the applications:manage requirement and that it is not a paid API-key operation.

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 action, then layered with confirmation, preconditions, destructive semantics, and verification in a logical order. It is dense and paragraph-form rather than bulleted, but nearly every sentence carries distinct information, so little is wasted.

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?

For a destructive, multi-action mutation tool with no output schema, the description covers preconditions, required confirmations, side effects, verification path, permissions, and the boundary to adjacent restore operations. An agent has everything needed to invoke it correctly.

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 description coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema for expected_blueprint_version/expected_upstream_version and acknowledge_data_loss by explaining the access-control intent (backend selects the immutable release; callers cannot pick an arbitrary target) and the confirmation gate. That is genuine semantic value on top of the field docs.

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 one supported lifecycle action for an owned managed application") and enumerates the action set. It is clearly distinguishable from siblings like install_application, cancel_application_action, and restore_application_data, which it names as separate operations.

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?

Gives explicit when-to-use instructions: confirm the action with the user first, read get_application_installation before update/rollback, and use list_application_restore_points/restore_application_data for selective restore. It also states the precondition and the acknowledge_data_loss requirement, leaving nothing to inference.

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