Skip to main content
Glama
BunkerWeb MCP

BunkerWeb MCP

Official

reload_instances

Destructive

Reload configuration on one BunkerWeb instance or all registered instances, testing the config first by default. Apply config changes immediately without a manual restart.

Instructions

Reload configuration on one instance (hostname) or every registered instance (all=true), never both. test=true (default) checks the config first, then reloads; test=false reloads without the check. Returns only success or a 502 error. Use stop_instances to halt. Acts on the instances immediately.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "reload_instances"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoAct on every registered instance; give it or hostname, not both
testNoTest the configuration first and reload only if the test passes; this still reloads, it is not a dry run.
hostnameNoHostname of one instance, as returned by list_instances; give it or all=true, not both

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.7.0
    • addedInput schema / properties / all
      Added value: +{
      +  "default": false,
      +  "description": "Act on every registered instance; give it or hostname, not both",
      +  "title": "All",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / hostname
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Hostname of one instance, as returned by list_instances; give it or all=true, not both",
      +  "title": "Hostname"
      +}
  2. Changed1 schema field changedv0.5.0
    • addedInput schema / properties / test / description
      Added value: +"Test the configuration first and reload only if the test passes; this still reloads, it is not a dry run."
  3. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false and destructiveHint=true, so the bar is lower; the description still adds real context beyond them, notably that test=true is not a dry run, that the return is bare success or a 502, and that it "acts on the instances immediately." It does not say what happens to a running instance if the reload fails mid-flight, but the core behavioral profile is covered.

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?

Four short sentences, front-loaded with the targeting rule, then the test semantics, then the return and sibling pointer. Nothing is padded and the ordering matches how an agent would need the information.

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?

For a destructive mutation with no output schema, the description supplies the return contract (success or 502) and timing (immediate), which is what an agent needs to call it safely. A minor gap remains around failure recovery or permission requirements, but nothing critical is missing.

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?

Schema description coverage is 100%, so the schema already documents all three parameters including the test-vs-reload distinction and the all/hostname exclusivity. The description largely restates those constraints rather than adding format or edge-case detail beyond them, which is the baseline-3 case.

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 opens with a specific verb and resource ("Reload configuration") plus the two targeting modes (one hostname or all=true), and it explicitly routes halting behavior to a named sibling ("Use stop_instances to halt"). An agent can distinguish this from stop_instances or update_config without opening any 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?

It states the mutual-exclusion rule ("never both"), explains the default test=true mode versus test=false, and names stop_instances as the alternative for halting. It does not, however, say when to prefer reload over a config update tool such as update_config, so guidance is strong but not exhaustive.

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