Create a gallery
Create an empty gallery in a folder, Private unless you say otherwise.
MCP tool smugmug_write → create_gallery
write
Creates the gallery with the settings of the Create Gallery form and returns its ID and link. The gallery is empty and notifies no one, so it needs no confirmation. Change who can see it later with set_gallery_privacy. Creating a gallery in a Private folder keeps it Private.
Parameters
| Name | Type | Description |
|---|---|---|
| title string required | string | Gallery title. |
| folder_id string | string | Folder ID from list_galleries. Leave out to create it at the top of your site. |
| description string | string | Gallery description. |
| visibility string | string | One of 'private' (default), 'unlisted' or 'public'. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "smugmug_write",
"arguments": {
"operation": "create_gallery",
"arguments": {
"title": "title"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"gallery_id": "Xk4RtP",
"title": "Smith wedding",
"folder_id": "Hm3vLq",
"visibility": "private",
"web_url": "https://studio.smugmug.com/Delivered-2026/Smith-wedding"
},
"isError": false
}