Skip to main content
Glama

pier_start_or_restart_app

Start a stopped app or restart a running one. Recreate the container to apply config changes; all non-volume state is lost.

Instructions

Start a stopped app, or restart a running one. Recreates the container — all non-volume state is lost. Use after ANY config change (env vars, ports, image, command) for the change to take effect.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesThe numeric ID of the app

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations present, the description carries the burden of behavioral disclosure. It importantly warns that the tool 'Recreates the container — all non-volume state is lost,' which is critical for a delete-prone operation. It stops short of describing outcomes or response behavior, but covers the main risk.

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 deliver the core action, the key side effect, and the primary usage context with no filler or repetition. The most important warning is front-loaded for the agent to notice.

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

Completeness5/5

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

For a tool with one parameter and no output schema, the description provides everything needed to call it correctly: what it does, when to use it, and the destructive consequence. The missing return-value details are not necessary for correct invocation.

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?

The schema already documents appId as 'The numeric ID of the app' with 100% coverage. The description adds no extra parameter meaning, so the baseline score of 3 is appropriate.

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?

The description uses a specific verb and resource: 'Start a stopped app, or restart a running one.' It clearly conveys the dual action and distinguishes itself from siblings like pier_stop_app and pier_delete_app.

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?

The description explicitly tells when to use the tool: 'Use after ANY config change (env vars, ports, image, command) for the change to take effect.' It does not name specific alternatives, but it gives clear situational guidance.

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