Skip to main content
Glama

bettbox_restart_app

Restart the Bettbox app through its control socket after changing config.json. Use it to apply configuration changes and confirm the controller is back.

Instructions

Restart the Bettbox app through its control socket.

A restart briefly drops the proxy (the system proxy setting is restored on the way back up). Use it after changing anything in config.json.

Args: params (RestartAppInput): optional reason for the audit trail.

Returns: str: Whether the restart completed and whether the controller is 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": {
      "params": "<params>"
    },
    "name": "bettbox_restart_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-idempotent, non-destructive mutation, but the description adds a genuinely non-obvious side effect: the proxy drops briefly and the system proxy setting is restored on the way back up. That is real behavioral value beyond the annotations, though timing, downtime duration, and failure modes are not covered.

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?

Purpose is front-loaded in the first sentence and the side-effect warning follows immediately. The Args/Returns docstring sections are boilerplate, and the Returns section largely duplicates the existing output schema, so a little trimming is possible.

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?

Given a single trivial parameter and an output schema that already documents the return value, the description covers what an agent needs: what it does, the side effect, and the trigger condition. Remaining gaps around failure handling and post-restart state are minor.

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?

Only one parameter, and the description merely labels it as an optional reason for the audit trail, which the schema's own property description already says. Schema description coverage is reported as 0%, but the parameter is trivial and fully explained in one clause, so no real gap remains.

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?

States a specific verb (restart) and resource (the Bettbox app) plus the mechanism (control socket), which distinguishes it from a plain start/stop. It does not explicitly contrast with bettbox_stop_app, so sibling differentiation is only implicit.

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?

Gives a concrete trigger condition: use it after changing anything in config.json. It does not state when not to use it (e.g. versus bettbox_stop_app) or any prerequisites such as the app needing to be running.

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