Skip to main content
Glama
EaveLuo
by EaveLuo

restart_container

Restart a Docker container to apply configuration changes, resolve issues, or refresh services using the 1Panel API.

Instructions

Restart a container

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
Behavior1/5

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

With no annotations provided, the description carries full burden for behavioral disclosure but offers none. It doesn't indicate whether this is a destructive operation, what permissions are required, whether it's synchronous/asynchronous, what happens to container data, or what errors might occur. For a mutation tool with zero annotation coverage, this is a critical gap in transparency.

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 extremely concise at just three words, with zero wasted language. It's front-loaded with the core action and resource. For a simple tool like this, such brevity is appropriate and efficient.

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

Completeness2/5

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

Given this is a mutation tool with no annotations, no output schema, and minimal parameter documentation, the description is incomplete. It doesn't explain what happens during restart, what the tool returns, error handling, or dependencies. The agent lacks sufficient context to use this tool effectively beyond the basic action implied by the name.

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?

The schema has 0% description coverage, so the single parameter 'id' is completely undocumented in the schema. The description adds no information about this parameter—what format the ID should be, where to find it, or examples. While there's only one parameter, the description fails to compensate for the schema's lack of documentation.

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 clearly states the action ('Restart') and target resource ('a container'), making the purpose immediately understandable. It distinguishes from siblings like 'start_container' and 'stop_container' by specifying a restart operation rather than start/stop. However, it doesn't specify whether this restarts a single container or could handle multiple, which prevents a perfect score.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like 'start_container' or 'stop_container'. There's no mention of prerequisites (e.g., container must be running), error conditions, or typical use cases. The agent must infer usage from the name alone, which is insufficient for optimal tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EaveLuo/1panel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server