Skip to main content
Glama

Confirm Compose project adoption

confirm_application_compose_adoption
DestructiveIdempotent

Confirms a destructive one-time takeover of an eligible Compose candidate, revalidating the source, stopping containers, and starting a managed replacement with verified volumes.

Instructions

Confirm the one-time takeover of an eligible unexpired Compose candidate. Re-enter every declared variable because VPSnet never reads or copies existing values. This destructive operation revalidates the exact source, stops its containers, and starts a managed replacement with the same verified local named volumes. On failure, source containers resume only after the managed replacement is conclusively contained; otherwise recovery fails closed. The exact external-volume binding remains signed into later lifecycle actions. Confirm the exact service, candidate, reconstructed recipe, variable NAMES, container/volume counts, and source-stop impact with the user first. Never repeat secret values in approval text or results. 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>",
      "adoption_id": "<adoption_id>",
      "name": "<name>",
      "acknowledge_source_stop": "<acknowledge_source_stop>",
      "acknowledge_recipe_risks": "<acknowledge_recipe_risks>",
      "idempotencyKey": "<idempotencyKey>",
      "confirmed": "<confirmed>"
    },
    "name": "confirm_application_compose_adoption"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNoPlain, non-secret environment values. Put secret values in the install tool's secrets field.
nameYesLowercase customer recipe name, 2-41 characters
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
secretsNoInstall-time secret values keyed by the exact declared names. Values are encrypted by VPSnet and omitted from tool results.
confirmedYesTrue only after the user confirmed this exact destructive takeover
adoption_idYesOpaque Compose adoption UUID returned by the prepare operation
idempotencyKeyYesClient-global unique key. Reuse it only to replay this exact adoption confirmation.
acknowledge_source_stopYesTrue only after the user approved stopping the exact source containers during takeover
registry_credential_idsNoOwned registry credential UUIDs from list_application_registry_credentials
acknowledge_recipe_risksYesTrue only after the user approved the reconstructed customer-owned recipe
acknowledge_runtime_restartNoExplicit consent for a possible one-time service restart while the application runtime is prepared

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.3.21
    • addedInput schema / properties / adoption_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedInput schema / properties / env / propertyNames / type
      Added value: +"string"
    • addedInput schema / properties / registry_credential_ids / items / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedInput schema / properties / secrets / 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?

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds substantially: source containers are stopped, a managed replacement is started with the same verified named volumes, the exact source is revalidated, source values are never read or copied, and failure recovery fails closed. It also names the required permission (applications:manage) and a secret-handling rule for approval text and results.

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-loads what the tool does, then the destructive mechanics, then the pre-call checklist and secret rule. Every sentence carries information, though the density of domain jargon (contained, fails closed, reconstructed recipe) makes it heavier than necessary for a single read.

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 an 11-parameter destructive tool with nested objects and no output schema, the description covers safety, preconditions, failure behavior and permissions well. It does not describe what a successful confirmation returns (adoption status/identifier), which is the one gap an agent would otherwise have to discover by calling.

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, but the description adds meaning beyond the field docs: every declared variable must be re-entered because no existing values are carried over, and that constraint frames how env/secrets must be populated. Secret non-disclosure in results is also behavior the schema does not state.

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: 'Confirm the one-time takeover of an eligible unexpired Compose candidate.' The framing as a one-time, eligibility-gated confirmation makes it distinguishable from get_/prepare_application_compose_adoption without any schema inspection.

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 a concrete pre-call requirement: confirm exact service, candidate, reconstructed recipe, variable NAMES, container/volume counts and source-stop impact with the user first. It also implies this runs after a prepare step. It stops short of naming the prepare/preview siblings or stating when-not-to-call, so it is strong context rather than a full routing rule.

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