Skip to main content
Glama

Manage system

manage_system
Destructive

Use this when the task concerns operating-system or ReMCP runtime state: system/runtime/process facts, runtime preferences, services, event logs, networking, installed apps, environment, audio, or explicit power actions. Fact, log, and inventory operations only observe state; process termination, runtime preference changes, service/audio changes, restart, and shutdown can interrupt work or change the machine. Choose one operation and pass only its validated parameters. Use run_terminal for general shell commands and ReMCP terminal sessions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceYesReMCP device id returned by list_devices.
operationYesConcrete runtime operation to perform inside this domain.
parametersNoArguments for the selected operation. The selected operation keeps its original closed input schema.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoOptional structured result data for follow-up reasoning and tool calls.
textYesConcise human-readable result of the tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / allOf
      Previous value: -[
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "get_system_info"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "properties": {},
      -          "type": "object"
      -        }
      -      }
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "list_processes"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "limit": {
      -              "description": "Maximum number of processes to return. Default 100, maximum 1000.",
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        }
      -      }
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "kill_process"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "pid": {
      -              "description": "Process id to terminate.",
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "pid"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [
      -        "parameters"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "get_runtime_info"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "properties": {},
      -          "type": "object"
      -        }
      -      }
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "get_runtime_stats"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "properties": {},
      -          "type": "object"
      -        }
      -      }
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "set_config_value"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "key": {
      -              "description": "telemetryEnabled (true/false), maxReadLines, maxBufferedLines or maxOutputBytes.",
      -              "type": "string"
      -            },
      -            "value": {
      -              "description": "New value: a boolean for telemetryEnabled, a number for the limits."
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "value"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [
      -        "parameters"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "service"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "if": {
      -                "properties": {
      -                  "action": {
      -                    "enum": [
      -                      "status",
      -                      "start",
      -                      "stop",
      -                      "restart"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "action"
      -                ]
      -              },
      -              "then": {
      -                "required": [
      -                  "name"
      -                ]
      -              }
      -            }
      -          ],
      -          "properties": {
      -            "action": {
      -              "description": "Operation to perform; choose the narrowest action that directly matches the requested outcome.",
      -              "enum": [
      -                "list",
      -                "status",
      -                "start",
      -                "stop",
      -                "restart"
      -              ],
      -              "type": "string"
      -            },
      -            "name": {
      -              "description": "Service/unit/launchd label.",
      -              "type": "string"
      -            },
      -            "scope": {
      -              "description": "Scope of the operation; choose user scope unless the task explicitly requires a system service.",
      -              "enum": [
      -                "user",
      -                "system"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "action"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [
      -        "parameters"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "event_log"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "filter": {
      -              "description": "Optional bounded filter expression or text used to reduce returned results.",
      -              "type": "string"
      -            },
      -            "limit": {
      -              "description": "Maximum number of results to return.",
      -              "type": "number"
      -            },
      -            "log": {
      -              "description": "Windows log name.",
      -              "type": "string"
      -            },
      -            "query": {
      -              "description": "Optional platform-specific query used to reduce returned log results.",
      -              "type": "string"
      -            },
      -            "since": {
      -              "description": "Time window such as 30s, 10m, 2h, or 1d.",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        }
      -      }
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "network"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "if": {
      -                "properties": {
      -                  "action": {
      -                    "const": "test"
      -                  }
      -                },
      -                "required": [
      -                  "action"
      -                ]
      -              },
      -              "then": {
      -                "required": [
      -                  "host",
      -                  "port"
      -                ]
      -              }
      -            }
      -          ],
      -          "properties": {
      -            "action": {
      -              "description": "Operation to perform; choose the narrowest action that directly matches the requested outcome.",
      -              "enum": [
      -                "summary",
      -                "interfaces",
      -                "dns",
      -                "routes",
      -                "listeners",
      -                "test"
      -              ],
      -              "type": "string"
      -            },
      -            "host": {
      -              "description": "Host name or IP address for a bounded connectivity test.",
      -              "type": "string"
      -            },
      -            "port": {
      -              "description": "TCP port number for a connectivity test.",
      -              "type": "number"
      -            },
      -            "timeout_ms": {
      -              "description": "Bounded timeout in milliseconds.",
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        }
      -      }
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "installed_apps"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "filter": {
      -              "description": "Name substring.",
      -              "type": "string"
      -            },
      -            "limit": {
      -              "description": "Maximum results; default 1000.",
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        }
      -      }
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "environment"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "include_env": {
      -              "description": "Include sanitized environment variables; default false.",
      -              "type": "boolean"
      -            }
      -          },
      -          "type": "object"
      -        }
      -      }
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "audio"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "if": {
      -                "properties": {
      -                  "action": {
      -                    "const": "set_volume"
      -                  }
      -                },
      -                "required": [
      -                  "action"
      -                ]
      -              },
      -              "then": {
      -                "required": [
      -                  "volume"
      -                ]
      -              }
      -            }
      -          ],
      -          "properties": {
      -            "action": {
      -              "description": "Operation to perform; choose the narrowest action that directly matches the requested outcome.",
      -              "enum": [
      -                "status",
      -                "set_volume",
      -                "mute",
      -                "unmute"
      -              ],
      -              "type": "string"
      -            },
      -            "volume": {
      -              "description": "0..100 for set_volume.",
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "action"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [
      -        "parameters"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "const": "power_action"
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "parameters": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "action": {
      -              "description": "Operation to perform; choose the narrowest action that directly matches the requested outcome.",
      -              "enum": [
      -                "lock",
      -                "sleep",
      -                "restart",
      -                "shutdown"
      -              ],
      -              "type": "string"
      -            },
      -            "delay_seconds": {
      -              "description": "Optional delay, maximum 3600 seconds.",
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "action"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [
      -        "parameters"
      -      ]
      -    }
      -  }
      -]New value: +[
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "get_system_info"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "properties": {},
      +          "type": "object"
      +        }
      +      }
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "list_processes"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "limit": {
      +              "description": "Maximum number of processes to return. Default 100, maximum 1000.",
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      }
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "kill_process"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "pid": {
      +              "description": "Process id to terminate.",
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "pid"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "parameters"
      +      ]
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "get_runtime_info"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "properties": {},
      +          "type": "object"
      +        }
      +      }
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "get_runtime_stats"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "properties": {},
      +          "type": "object"
      +        }
      +      }
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "set_config_value"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "key": {
      +              "description": "telemetryEnabled (true/false), maxReadLines, maxBufferedLines or maxOutputBytes.",
      +              "type": "string"
      +            },
      +            "value": {
      +              "description": "New value: a boolean for telemetryEnabled, a number for the limits."
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "value"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "parameters"
      +      ]
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "service"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "if": {
      +                "properties": {
      +                  "action": {
      +                    "enum": [
      +                      "status",
      +                      "start",
      +                      "stop",
      +                      "restart"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "action"
      +                ]
      +              },
      +              "then": {
      +                "required": [
      +                  "name"
      +                ]
      +              }
      +            }
      +          ],
      +          "properties": {
      +            "action": {
      +              "description": "Operation to perform; choose the narrowest action that directly matches the requested outcome.",
      +              "enum": [
      +                "list",
      +                "status",
      +                "start",
      +                "stop",
      +                "restart"
      +              ],
      +              "type": "string"
      +            },
      +            "name": {
      +              "description": "Service/unit/launchd label.",
      +              "type": "string"
      +            },
      +            "scope": {
      +              "description": "Scope of the operation; choose user scope unless the task explicitly requires a system service.",
      +              "enum": [
      +                "user",
      +                "system"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "action"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "parameters"
      +      ]
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "event_log"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "filter": {
      +              "description": "Optional bounded filter expression or text used to reduce returned results.",
      +              "type": "string"
      +            },
      +            "limit": {
      +              "description": "Maximum number of results to return.",
      +              "type": "number"
      +            },
      +            "log": {
      +              "description": "Windows log name.",
      +              "type": "string"
      +            },
      +            "query": {
      +              "description": "Optional platform-specific query used to reduce returned log results.",
      +              "type": "string"
      +            },
      +            "since": {
      +              "description": "Time window such as 30s, 10m, 2h, or 1d.",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      }
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "network"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "if": {
      +                "properties": {
      +                  "action": {
      +                    "const": "test"
      +                  }
      +                },
      +                "required": [
      +                  "action"
      +                ]
      +              },
      +              "then": {
      +                "required": [
      +                  "host",
      +                  "port"
      +                ]
      +              }
      +            }
      +          ],
      +          "properties": {
      +            "action": {
      +              "description": "Operation to perform; choose the narrowest action that directly matches the requested outcome.",
      +              "enum": [
      +                "summary",
      +                "interfaces",
      +                "dns",
      +                "routes",
      +                "listeners",
      +                "test"
      +              ],
      +              "type": "string"
      +            },
      +            "host": {
      +              "description": "Host name or IP address for a bounded connectivity test.",
      +              "type": "string"
      +            },
      +            "port": {
      +              "description": "TCP port number for a connectivity test.",
      +              "type": "number"
      +            },
      +            "timeout_ms": {
      +              "description": "Bounded timeout in milliseconds.",
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      }
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "installed_apps"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "filter": {
      +              "description": "Name substring.",
      +              "type": "string"
      +            },
      +            "limit": {
      +              "description": "Maximum results; default 1000.",
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      }
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "environment"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "include_env": {
      +              "description": "Include sanitized environment variables; default false.",
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      }
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "audio"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "if": {
      +                "properties": {
      +                  "action": {
      +                    "const": "set_volume"
      +                  }
      +                },
      +                "required": [
      +                  "action"
      +                ]
      +              },
      +              "then": {
      +                "required": [
      +                  "volume"
      +                ]
      +              }
      +            }
      +          ],
      +          "properties": {
      +            "action": {
      +              "description": "Operation to perform; choose the narrowest action that directly matches the requested outcome.",
      +              "enum": [
      +                "status",
      +                "set_volume",
      +                "mute",
      +                "unmute"
      +              ],
      +              "type": "string"
      +            },
      +            "volume": {
      +              "description": "0..100 for set_volume.",
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "action"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "parameters"
      +      ]
      +    }
      +  },
      +  {
      +    "if": {
      +      "properties": {
      +        "operation": {
      +          "const": "power_action"
      +        }
      +      },
      +      "required": [
      +        "operation"
      +      ]
      +    },
      +    "then": {
      +      "properties": {
      +        "parameters": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "action": {
      +              "description": "Operation to perform; choose the narrowest action that directly matches the requested outcome.",
      +              "enum": [
      +                "lock",
      +                "sleep",
      +                "restart",
      +                "shutdown"
      +              ],
      +              "type": "string"
      +            },
      +            "delay_seconds": {
      +              "description": "Optional delay in seconds, maximum 90. Longer delays are rejected because hosted calls expire before they can complete safely.",
      +              "maximum": 90,
      +              "minimum": 0,
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "action"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "parameters"
      +      ]
      +    }
      +  }
      +]
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false for the tool as a whole, so the description's real contribution is partitioning the 13 operations into observe-only (facts, logs, inventory) versus state-changing/interrupting (kill_process, config changes, service/audio changes, restart, shutdown). That per-operation nuance is genuinely beyond the coarse annotations, though it stops short of permissions, failure modes, or reversibility detail.

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?

Four sentences, front-loaded with scope, then read/write classification, then invocation rule, then the sibling route. The long enumeration of domains is dense but each item maps to a real operation, so little is wasted.

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 13-operation dispatcher with an output schema present (so returns need not be explained here), the description supplies scope, safety partitioning, invocation rule, and sibling routing. It is nearly complete; the only gap is any per-operation failure or privilege context the agent might want before destructive calls.

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 every operation's nested parameters are documented inline, so the schema carries the parameter burden. The description only adds the dispatcher rule ('choose one operation and pass only its validated parameters'), which largely restates what the if/then allOf and additionalProperties:false already encode. Baseline 3 is correct.

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 names a specific domain (operating-system and ReMCP runtime state) and enumerates the operation families it covers: system/runtime/process facts, preferences, services, event logs, networking, apps, environment, audio, power. An agent can immediately tell this is the system-domain dispatcher rather than a sibling like run_terminal or manage_files.

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance (task concerns OS/runtime state), tells the agent how to invoke it (choose exactly one operation, pass only that operation's validated parameters), and names the alternative with its condition: 'Use run_terminal for general shell commands and ReMCP terminal sessions.' That is a full routing rule, not a hint.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources