Skip to main content
Glama
Supervisord MCP

Supervisord MCP

add_process

Creates a new Supervisord process configuration with command, working directory, and restart policy, then reloads configuration to register it.

Instructions

Add a new process to Supervisord (requires config reload)

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": {
      "name": "<name>",
      "command": "<command>"
    },
    "name": "add_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesProcess name
commandYesCommand to run
numprocsNoNumber of processes
autostartNoStart automatically on boot
directoryNoWorking directory
autorestartNoRestart policy (true, false, unexpected)unexpected

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does add one genuinely valuable behavioral fact — that a config reload is needed — but omits whether the definition is persisted to disk, whether the process starts immediately, whether duplicate names error out, or what permissions Supervisord requires.

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?

A single short sentence, front-loaded with the verb+resource and appending the one operational caveat. Nothing is wasted and nothing needs to be scanned past to find the core action.

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

Completeness3/5

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

For a 6-parameter mutation tool with no annotations and no output schema, the definition covers the essentials but leaves notable gaps: return shape, duplicate-name behavior, and whether the new process starts running before or only after reload. It is minimally viable rather than complete.

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 all six parameters (name, command, numprocs, autostart, directory, autorestart) are already documented in the schema. The description adds no format examples or constraints beyond the schema, so baseline 3 applies.

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 names a specific verb and resource ("Add a new process to Supervisord"), which clearly separates it from lifecycle siblings like start_process or restart_process — this one creates a definition rather than changing runtime state. It stops short of naming those siblings explicitly, so the differentiation is implied rather than stated.

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

Usage Guidelines3/5

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

The parenthetical "requires config reload" gives a useful precondition for the change to take effect and implicitly points at the reload_config sibling, but the description never states when to choose this over start_process or restart_process, nor what happens if the process already exists.

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