Skip to main content
Glama

Repair application

repair_application
DestructiveIdempotent

Repairs an owned managed application's runtime: check health and events, confirm, then poll installation and events until the queued operation completes.

Instructions

Repair an owned managed application's runtime. Read current health and events first; confirm the action, 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": "repair_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/5.0
Behavior4/5

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

The annotations already declare this as destructive, open-world, and idempotent, so the safety profile is covered. The description adds useful behavior beyond that: the operation is queued, must be confirmed, requires applications:manage, and should be followed by polling of installation and events.

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?

The description is three tightly written sentences with the action front-loaded, followed by the required workflow and prerequisites. Every sentence carries operational value and there is no redundant wording.

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, asynchronous lifecycle tool with four required parameters and no output schema, the description covers the essential workflow: validate health and events first, confirm, then poll. It is still slightly incomplete because it does not clarify what repair changes relative to restart or reconcile or how failures should be handled.

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 all four parameters, including orderNo, installation_id, idempotencyKey, and confirmed, are already documented in detail. The description only restates the idempotency key requirement and adds no parameter-level meaning beyond the schema, so the baseline of 3 is appropriate.

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?

The description states a specific verb and resource: repairing an owned managed application's runtime. It is clear what the tool does, but it does not explicitly distinguish repair from nearby lifecycle siblings such as restart_application or reconcile_application.

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?

It gives clear operational guidance: read health and events first, confirm the action, then poll installation and events until the queued operation completes. It also states the required permission and idempotency key, though it does not explicitly exclude or compare this tool with restart or reconcile alternatives.

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