Skip to main content
Glama

restart_application

DestructiveIdempotent

Restart an application by reloading its containers without building a new image. Use it for quick recovery; choose redeploy to rebuild instead.

Instructions

Restart an application by reloading its containers, without building a new image.

This calls Dokploy's application.reload. Use redeploy_application to rebuild.

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": {
      "application_id": "<application_id>"
    },
    "name": "restart_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
application_idYesapplicationId from list_applications or get_project.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds that the operation reloads containers rather than rebuilding, which is useful context, but says nothing about downtime, service interruption, or failure behavior — notable for a disruptive restart operation.

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 terse sentences, front-loaded with the effect and followed by the disambiguation. No filler, and mentioning the underlying application.reload call adds genuine context rather than noise.

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?

The tool is simple (one required ID), annotations carry the safety profile, and an output schema exists, so the description doesn't need to explain return values. The only meaningful gap is the absence of any warning about service interruption during the reload.

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?

With a single parameter at 100% schema description coverage, the schema already documents application_id and where to obtain it (list_applications or get_project). The description adds no parameter detail, but none is needed given full coverage of one simple identifier.

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 ('Restart an application') and immediately clarifies the mechanism ('by reloading its containers, without building a new image'). This is enough for an agent to distinguish it from redeploy_application without opening either schema.

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?

Explicitly routes the agent to redeploy_application when a rebuild is needed, which is the key alternative. It does not address start_application/stop_application, but the rebuild-vs-reload distinction covers the main ambiguity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.