Skip to main content
Glama

Exit service rescue mode

exit_service_rescue
DestructiveIdempotent

Restore a service's exact pre-rescue boot configuration and original running or stopped state after troubleshooting, using the get_service_rescue session UUID. May restart; confirm first.

Instructions

Restore the exact pre-rescue boot configuration and original running or stopped state for one owned service. Read get_service_rescue first and pass its exact session UUID. This may restart the service. Call only after explicit user confirmation. Requires services:rescue, full API-key access, and a stable idempotencyKey. If the same exit reaches needs_attention, retry this tool with the same 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>",
      "rescue_session_id": "<rescue_session_id>",
      "acknowledge_restart": "<acknowledge_restart>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "exit_service_rescue"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
idempotencyKeyYesStable key for this exact rescue exit; reuse it for a needs_attention retry
rescue_session_idYesExact current session UUID from get_service_rescue
acknowledge_restartYesExplicit user approval to restore normal boot state

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.21
    • addedInput schema / properties / rescue_session_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.6/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the concrete side effect (this may restart the service), the exact state that gets reinstated, the authorization requirements (services:rescue scope and full API-key access), and the idempotent retry contract. destructiveHint=true and idempotentHint=true are consistent with these statements, and the description explains what the idempotency actually protects against.

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?

Five short sentences with no filler: outcome first, then prerequisite, side effect, authorization, and retry behavior. Every sentence carries a distinct operational constraint, and the destructive restart warning is placed before the confirmation requirement where an agent will act on it.

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 destructive four-parameter mutation with no output schema, the description covers gating, permissions, side effects, and failure recovery, which is nearly everything needed to invoke it safely. The only gap is that it does not describe what a successful response contains or what other error states beyond needs_attention look like, leaving the agent to infer the result surface.

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 coverage is 100% and the schema already documents each parameter, including that rescue_session_id comes from get_service_rescue and that idempotencyKey must be reused on a needs_attention retry. The description largely restates those constraints rather than adding new meaning, so the baseline 3 applies; only the provenance hint for the UUID marginally exceeds the schema text.

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 outcome: restore the exact pre-rescue boot configuration and the original running or stopped state for one owned service. This is precisely the inverse of enter_service_rescue and cannot be confused with the read-only get_service_rescue, so an agent can select it without opening a 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?

Names the prerequisite call (read get_service_rescue first and pass its exact session UUID) and imposes an explicit gating condition: call only after explicit user confirmation. It also handles the retry path, instructing reuse of the same idempotencyKey when a prior exit ended in needs_attention. When-to-use, when-not-to-use-unsupervised, and the alternative retry path are all covered.

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