Skip to main content
Glama

Repair application

repair_application
DestructiveIdempotent

Restore an owned managed application's runtime when it is unhealthy: review health and events, confirm the action, then poll 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.

Input Schema

TableJSON 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. First observedv2.3.16

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint, idempotentHint, openWorldHint), the description discloses the required applications:manage scope, the need for a client-global idempotency key, the confirmation gate, and that the operation is asynchronous and must be polled to completion. That is meaningful behavioral context the structured fields do not provide.

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?

Two sentences, front-loaded with the purpose and the operational preconditions, with no filler. Every clause (health check, confirmation, polling, permission, idempotency) carries distinct information.

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, no-output-schema mutation with rich annotations, the description covers auth, idempotency, confirmation, and async completion. It could better state the blast radius (what repair actually changes on the runtime) or how it differs from restart/reconcile, but nothing essential to invoking it correctly is missing.

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%, so all four parameters are already fully documented in the schema, including idempotencyKey reuse semantics and the confirmed gate. The description echoes the confirmation and idempotency-key concepts without adding new syntax or format detail, so the baseline of 3 applies.

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 names a specific verb and resource ("Repair an owned managed application's runtime"), which is clear and concrete. It does not explicitly contrast itself with nearby siblings like restart_application, reconcile_application, or rollback_application, though the workflow framing implies a distinct remediation path.

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 prescribes a workflow: read health and events first, confirm the action, then poll installation and events until the queued operation completes. This tells the agent when to invoke it and what companions to use, but stops short of stating exclusions against the sibling repair-like tools.

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