Skip to main content
Glama

Reload Configuration

reload_config
DestructiveIdempotent

Re-read configuration files without restarting the server and report added, removed, or changed routers and identities; use dryRun to preview changes.

Instructions

Re-read routers.yaml and identities.yaml without restarting the server (the same as sending it SIGHUP) and report which routers and identities were added, removed or changed, by id and field name. Both files are checked first: if either is missing or invalid, nothing changes and the error names the problem. Pooled connections and circuit breakers of changed or removed routers are dropped, so the next call connects with the new settings. Cached identity tokens are cleared, so a revoked token stops working. In HTTP mode a file with readonly or operator identities is refused unless MIKROMCP_CONFIRMATION_SECRET is set. Needs an admin or superadmin identity. With dryRun it reports what would change and changes nothing. Server settings (MIKROMCP_* environment variables, the HTTP port) are not reloaded.

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
dryRunNoCheck both files and report what would change, without changing the running server
confirmationTokenNoToken from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.18.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation: it discloses atomicity ('both files are checked first: if either is missing or invalid, nothing changes and the error names the problem'), concrete side effects (pooled connections and circuit breakers of changed/removed routers dropped, cached identity tokens cleared so a revoked token stops working), and the auth/confirmation preconditions. An agent knows the blast radius and failure mode before calling.

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?

Front-loaded with the core action, then ordered by increasing operational detail: diff reporting, atomicity, side effects, auth, HTTP restriction, dryRun, scope exclusions. Every sentence carries a distinct fact; there is no filler despite the length.

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 destructive, zero-required-param reload tool with no output schema, the description covers preconditions, atomicity, side effects, dry-run preview, and what is out of scope. Nothing an agent needs to decide or invoke safely 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% and both parameters are already documented in the schema, including dryRun's meaning and confirmationToken's APPROVAL_REQUIRED flow. The description's dryRun sentence duplicates the schema wording and it adds nothing about confirmationToken (the MIKROMCP_CONFIRMATION_SECRET note is a distinct mechanism), so baseline 3 applies.

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+resource ('Re-read routers.yaml and identities.yaml without restarting the server') and anchors it to a familiar equivalent (SIGHUP), then says exactly what it reports (added/removed/changed routers and identities by id and field). No ambiguity about what this does versus a restart or a config write.

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 clear operating conditions: needs an admin or superadmin identity, HTTP mode refuses readonly/operator identity files without MIKROMCP_CONFIRMATION_SECRET, and dryRun previews without changing anything. It also defines a scope exclusion (MIKROMCP_* env vars and HTTP port are not reloaded). It does not name a sibling as an alternative, but for this operation there is no obvious substitute, so the guidance is effectively complete.

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

Deploy Server

Other Tools