Skip to main content
Glama

app_restart

Destructive

Stop and start an app with its current runtime, answering once it is ready or failed to come back

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": {
      "workspaceSlug": "<workspaceSlug>",
      "appSlug": "<appSlug>"
    },
    "name": "app_restart"
  }
}

Input Schema

NameRequiredDescriptionDefault
appSlugYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new behavior: the call is synchronous and returns only once the app is ready or has failed to come back, which is exactly the timing information an agent needs. It omits what a failure response looks like and whether in-flight work is lost.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with no filler; the restart semantics and the blocking behavior both arrive immediately. The trailing clause 'failed to come back' is slightly informal but carries real meaning, so nothing needs cutting.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description should explain what a successful or failed restart yields, and it only gestures at 'ready or failed'. For a destructive, synchronous mutation with two undocumented required parameters, the definition is adequate but leaves real gaps around failure handling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two required parameters (workspaceSlug, appSlug), and the description never mentions either one. The names are largely self-explanatory, but the description does nothing to compensate for the missing schema documentation, such as whether appSlug is a display name or an immutable identifier.

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 gives a specific verb and resource: it will stop and start an app using its current runtime, which unpacks what 'restart' means and separates it from a fresh launch. It does not name a sibling (app_launch, workspace_restart) to sharpen the boundary, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'with its current runtime' implies the tool is for cycling an existing app without changing configuration, but the description never says when to choose it over app_launch or workspace_restart, nor any preconditions. Usage is inferable but not stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources