Skip to main content
Glama

Restart application

restart_application
DestructiveIdempotent

Restart an owned managed application when it needs recovery or reconfiguration; confirm the service interruption and then poll installation events until the queued restart completes.

Instructions

Restart an owned managed application. This interrupts service. Confirm the interruption, then poll installation and events until the queued operation completes. Requires applications:manage and a client-global idempotency key.

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>",
      "installation_id": "<installation_id>",
      "idempotencyKey": "<idempotencyKey>",
      "confirmed": "<confirmed>"
    },
    "name": "restart_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
confirmedYesTrue only after the user confirms this exact action
idempotencyKeyYesClient-global unique key for this exact lifecycle request. Reuse only for an unchanged retry.
installation_idYesManaged application installation UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.21
    • addedInput schema / properties / installation_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})$"
  2. First observedv2.3.16

TDQS

A4.1/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 behavior the annotations cannot express: the operation interrupts live service, it is queued/asynchronous, and completion must be tracked via installation and event polling. The permission requirement and the client-global scope of the idempotency key are also disclosed.

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?

Three short sentences, front-loaded with the action and the service-interruption warning before the procedural steps. Every clause carries operational weight: interruption, confirmation, polling target, permission, and idempotency.

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 async destructive lifecycle operation with no output schema, the description covers the critical agent-facing facts: it's disruptive, requires confirmation, returns via a queued operation, and must be polled through installation/events. Only the exact shape of the initial response and eventual terminal states are left implicit.

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% and every parameter is documented in the schema with patterns and constraints, so the baseline is 3. The description reinforces 'confirmed' and 'idempotencyKey' semantics but adds no format or edge-case detail beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Uses a specific verb+resource pair ('Restart an owned managed application') and scopes it to installations, which separates it from infrastructure-level siblings like restart_service or restart_network_vpn_gateway. It never names those siblings explicitly, so the differentiation is inferred from the 'managed application' scope rather than stated.

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 clear preconditions ('Confirm the interruption', 'Requires applications:manage') and the correct post-call procedure: poll installation and events until the queued operation completes. It stops short of naming when a different remediation (repair_application, reconcile_application, restore_application_data) is the better choice, so exclusion guidance is absent.

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