Skip to main content
Glama

reload-config

Destructive

Report the SSH server's configuration status or validate and apply config-file changes; a failed validation leaves the running configuration unchanged.

Instructions

Report or reload the server's config file. action="status" (the default) shows the config path, when it was loaded, the sha256 of its bytes and the result of the last reload; never the contents. action="reload" re-reads the file, validates it exactly as startup does, and applies it only if every check passes; a refused reload changes nothing. Command-line flags are never reloaded. Applying closes connections, with their sessions, whose profile was removed or whose connection fields changed, and clears approval grants.

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-config"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNo"status" (default) reports the loaded config; "reload" re-reads and applies the file

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.31.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv2.21.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes far beyond the lone destructiveHint annotation: status never returns file contents, reload validates exactly as startup does and is atomic ('a refused reload changes nothing'), command-line flags are never reloaded, and applying closes affected connections with their sessions and clears approval grants. That is precisely the collateral-damage disclosure an agent needs before invoking a destructive action.

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?

Front-loads the two actions and their consequences in one dense paragraph with no filler sentences; each clause carries either a scope limit or a side effect. It is somewhat run-on in a single block, which slightly hurts scanability.

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?

With no output schema, the description correctly enumerates what status returns (path, load time, sha256, last reload result) and covers reload's failure mode. It stops short of saying what a successful reload response contains, which is the one remaining hole for a single-parameter tool.

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

Parameters4/5

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

Schema coverage is 100% and the enum already documents both values, but the description adds real meaning: the default value, what status reports back, and the exact validation/apply semantics of reload. Minor gap only in not describing the shape of a reload response.

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?

States a specific verb pair and resource ('Report or reload the server's config file') and immediately splits the two modes into named action values, so an agent knows exactly what the tool offers without reading the 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?

Explains that action='status' is the default read-only reporting path and action='reload' is the applying path with validation, which effectively tells an agent when to pick each. No sibling in the catalog handles config, so no cross-tool routing is needed; still, there is no explicit 'do not use this to change settings' exclusion.

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