Skip to main content
Glama

Retrouver et ranger les sorties

manage_outputs
DestructiveIdempotent

List, archive, and restore SoundMCP output files in a chosen output directory. Filter results by type and state, paginate listings, and move or recover files by file_id.

Instructions

Liste, archive ou restaure les fichiers enregistrés par SoundMCP dans output_dir. Pour déplacer un fichier, associe son file_id au dossier du rendu qui l’a émis. list combine file_type et state et renvoie les résultats du plus récent au plus ancien. Passe next_offset dans offset avec les mêmes filtres pour continuer. Pour retrouver un projet à rouvrir dans preview_music, choisis file_type=project et state=active. Sur demande de l’utilisateur, archive déplace le fichier dans l’archive locale du dossier. restore le remet à son emplacement d’origine. Ces actions exigent des droits d’écriture, sont sûres à répéter et échouent si un autre fichier occupe la destination.

Input Schema

NameRequiredDescriptionDefault
limitNoNombre maximal de fichiers renvoyés par list.
stateNoPour list, limite les résultats aux fichiers actifs ou archivés. Par défaut, inclut les deux états.
actionYeslist retrouve les sorties, archive déplace un fichier, restore le remet à son chemin d’origine.
offsetNoPosition de départ parmi les résultats filtrés pour list.
file_idNoIdentifiant renvoyé par list ou managed_outputs.files dans ce dossier. Requis pour archive et restore.
file_typeNoPour list, ne retourne que les projets musicaux éditables enregistrés par SoundMCP.
output_dirNoValeur managed_outputs.output_dir du rendu ou output_dir de list. Sans valeur, utilise le dossier de sortie par défaut.

Output Schema

NameRequiredDescriptionDefault
pathNoChemin d’origine, y compris après archivage. Pour un projet actif, réutilise-le comme project_path.
toolNo
filesNo
stateNoEmplacement actuel du fichier, au chemin d’origine ou dans l’archive.
totalNoNombre de sorties correspondant aux filtres sur toutes les pages.
file_idNoPour reprendre un effet ou une ambiance, passe file_id comme source_file_id et output_dir comme source_output_dir à l’outil qui a créé le WAV.
created_atNo
output_dirYes
next_offsetNoÀ passer dans offset avec les mêmes filtres, ou null à la dernière page.
archive_pathNoChemin actuel du fichier lorsqu’il est archivé.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv2.4.1
    • changedInput schema / properties / file_id / description
      Previous value: -"Identifiant du fichier pour archive ou restore."New value: +"Identifiant renvoyé par list ou managed_outputs.files dans ce dossier. Requis pour archive et restore."
    • addedInput schema / properties / offset / default
      Added value: +0
    • changedInput schema / properties / offset / description
      Previous value: -"Pour la page suivante, reprends next_offset en conservant le filtre."New value: +"Position de départ parmi les résultats filtrés pour list."
    • changedInput schema / properties / output_dir / description
      Previous value: -"Dossier utilisé lors de la génération, renvoyé dans managed_outputs."New value: +"Valeur managed_outputs.output_dir du rendu ou output_dir de list. Sans valeur, utilise le dossier de sortie par défaut."
    • addedOutput schema / if
      Added value: +{
      +  "properties": {
      +    "state": {
      +      "const": "archived"
      +    }
      +  },
      +  "required": [
      +    "state"
      +  ]
      +}
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "files": {
      -        "items": {
      -          "properties": {
      -            "archive_path": {
      -              "description": "Chemin actuel du fichier lorsqu’il est archivé.",
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "created_at": {
      -              "type": "string"
      -            },
      -            "file_id": {
      -              "description": "Identifiant de la sortie dans son output_dir. Pour reprendre un effet ou une ambiance, donne cet identifiant comme source_file_id au même outil de création.",
      -              "type": "string"
      -            },
      -            "path": {
      -              "description": "Chemin d’origine. Pour un projet actif, réutilise-le comme project_path.",
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "state": {
      -              "description": "Emplacement actuel du fichier, au chemin d’origine ou dans l’archive.",
      -              "enum": [
      -                "active",
      -                "archived"
      -              ],
      -              "type": "string"
      -            },
      -            "tool": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "file_id",
      -            "path",
      -            "state"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "next_offset": {
      -        "description": "À passer dans offset avec les mêmes filtres, ou null à la dernière page.",
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "output_dir": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "total": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "output_dir",
      -      "files",
      -      "total",
      -      "next_offset"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "archive_path": {
      -        "description": "Chemin actuel du fichier lorsqu’il est archivé.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "created_at": {
      -        "type": "string"
      -      },
      -      "file_id": {
      -        "description": "Identifiant de la sortie dans son output_dir. Pour reprendre un effet ou une ambiance, donne cet identifiant comme source_file_id au même outil de création.",
      -        "type": "string"
      -      },
      -      "output_dir": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "path": {
      -        "description": "Chemin d’origine. Pour un projet actif, réutilise-le comme project_path.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "state": {
      -        "description": "Emplacement actuel du fichier, au chemin d’origine ou dans l’archive.",
      -        "enum": [
      -          "active",
      -          "archived"
      -        ],
      -        "type": "string"
      -      },
      -      "tool": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "output_dir",
      -      "file_id",
      -      "path",
      -      "state"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "files",
      +      "total",
      +      "next_offset"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "file_id",
      +      "path",
      +      "state"
      +    ]
      +  }
      +]
    • addedOutput schema / properties
      Added value: +{
      +  "archive_path": {
      +    "description": "Chemin actuel du fichier lorsqu’il est archivé.",
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "created_at": {
      +    "type": "string"
      +  },
      +  "file_id": {
      +    "description": "Pour reprendre un effet ou une ambiance, passe file_id comme source_file_id et output_dir comme source_output_dir à l’outil qui a créé le WAV.",
      +    "type": "string"
      +  },
      +  "files": {
      +    "items": {
      +      "if": {
      +        "properties": {
      +          "state": {
      +            "const": "archived"
      +          }
      +        },
      +        "required": [
      +          "state"
      +        ]
      +      },
      +      "properties": {
      +        "archive_path": {
      +          "description": "Chemin actuel du fichier lorsqu’il est archivé.",
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "created_at": {
      +          "type": "string"
      +        },
      +        "file_id": {
      +          "description": "Pour reprendre un effet ou une ambiance, passe file_id comme source_file_id et output_dir comme source_output_dir à l’outil qui a créé le WAV.",
      +          "type": "string"
      +        },
      +        "path": {
      +          "description": "Chemin d’origine, y compris après archivage. Pour un projet actif, réutilise-le comme project_path.",
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "state": {
      +          "description": "Emplacement actuel du fichier, au chemin d’origine ou dans l’archive.",
      +          "enum": [
      +            "active",
      +            "archived"
      +          ],
      +          "type": "string"
      +        },
      +        "tool": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "file_id",
      +        "path",
      +        "state"
      +      ],
      +      "then": {
      +        "required": [
      +          "archive_path"
      +        ]
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "next_offset": {
      +    "description": "À passer dans offset avec les mêmes filtres, ou null à la dernière page.",
      +    "type": [
      +      "integer",
      +      "null"
      +    ]
      +  },
      +  "output_dir": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "path": {
      +    "description": "Chemin d’origine, y compris après archivage. Pour un projet actif, réutilise-le comme project_path.",
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "state": {
      +    "description": "Emplacement actuel du fichier, au chemin d’origine ou dans l’archive.",
      +    "enum": [
      +      "active",
      +      "archived"
      +    ],
      +    "type": "string"
      +  },
      +  "tool": {
      +    "type": "string"
      +  },
      +  "total": {
      +    "description": "Nombre de sorties correspondant aux filtres sur toutes les pages.",
      +    "minimum": 0,
      +    "type": "integer"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "output_dir"
      +]
    • addedOutput schema / then
      Added value: +{
      +  "required": [
      +    "archive_path"
      +  ]
      +}
  2. Changed1 schema field changedv2.1.1
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "files": {
      -        "items": {
      -          "properties": {
      -            "archive_path": {
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "created_at": {
      -              "type": "string"
      -            },
      -            "file_id": {
      -              "description": "Identifiant de la sortie dans son output_dir. Pour reprendre un effet ou une ambiance, donne cet identifiant comme source_file_id au même outil de création.",
      -              "type": "string"
      -            },
      -            "path": {
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "state": {
      -              "enum": [
      -                "active",
      -                "archived"
      -              ],
      -              "type": "string"
      -            },
      -            "tool": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "file_id",
      -            "path",
      -            "state"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "next_offset": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "output_dir": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "total": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "output_dir",
      -      "files",
      -      "total",
      -      "next_offset"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "archive_path": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "created_at": {
      -        "type": "string"
      -      },
      -      "file_id": {
      -        "description": "Identifiant de la sortie dans son output_dir. Pour reprendre un effet ou une ambiance, donne cet identifiant comme source_file_id au même outil de création.",
      -        "type": "string"
      -      },
      -      "output_dir": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "path": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "state": {
      -        "enum": [
      -          "active",
      -          "archived"
      -        ],
      -        "type": "string"
      -      },
      -      "tool": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "output_dir",
      -      "file_id",
      -      "path",
      -      "state"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "files": {
      +        "items": {
      +          "properties": {
      +            "archive_path": {
      +              "description": "Chemin actuel du fichier lorsqu’il est archivé.",
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "created_at": {
      +              "type": "string"
      +            },
      +            "file_id": {
      +              "description": "Identifiant de la sortie dans son output_dir. Pour reprendre un effet ou une ambiance, donne cet identifiant comme source_file_id au même outil de création.",
      +              "type": "string"
      +            },
      +            "path": {
      +              "description": "Chemin d’origine. Pour un projet actif, réutilise-le comme project_path.",
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "state": {
      +              "description": "Emplacement actuel du fichier, au chemin d’origine ou dans l’archive.",
      +              "enum": [
      +                "active",
      +                "archived"
      +              ],
      +              "type": "string"
      +            },
      +            "tool": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "file_id",
      +            "path",
      +            "state"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "next_offset": {
      +        "description": "À passer dans offset avec les mêmes filtres, ou null à la dernière page.",
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "output_dir": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "total": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "output_dir",
      +      "files",
      +      "total",
      +      "next_offset"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "archive_path": {
      +        "description": "Chemin actuel du fichier lorsqu’il est archivé.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "created_at": {
      +        "type": "string"
      +      },
      +      "file_id": {
      +        "description": "Identifiant de la sortie dans son output_dir. Pour reprendre un effet ou une ambiance, donne cet identifiant comme source_file_id au même outil de création.",
      +        "type": "string"
      +      },
      +      "output_dir": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "path": {
      +        "description": "Chemin d’origine. Pour un projet actif, réutilise-le comme project_path.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "state": {
      +        "description": "Emplacement actuel du fichier, au chemin d’origine ou dans l’archive.",
      +        "enum": [
      +          "active",
      +          "archived"
      +        ],
      +        "type": "string"
      +      },
      +      "tool": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "output_dir",
      +      "file_id",
      +      "path",
      +      "state"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed7 schema fields changedv2.1.0
    • addedInput schema / properties / action / description
      Added value: +"list retrouve les sorties, archive déplace un fichier, restore le remet à son chemin d’origine."
    • addedInput schema / properties / file_type
      Added value: +{
      +  "description": "Pour list, ne retourne que les projets musicaux éditables enregistrés par SoundMCP.",
      +  "enum": [
      +    "project"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / limit / default
      Added value: +30
    • addedInput schema / properties / limit / description
      Added value: +"Nombre maximal de fichiers renvoyés par list."
    • addedInput schema / properties / offset / description
      Added value: +"Pour la page suivante, reprends next_offset en conservant le filtre."
    • addedInput schema / properties / state
      Added value: +{
      +  "description": "Pour list, limite les résultats aux fichiers actifs ou archivés. Par défaut, inclut les deux états.",
      +  "enum": [
      +    "active",
      +    "archived"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "files": {
      -        "items": {
      -          "properties": {
      -            "archive_path": {
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "file_id": {
      -              "description": "Identifiant à passer dans file_id de manage_outputs, avec le même output_dir.",
      -              "type": "string"
      -            },
      -            "path": {
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "state": {
      -              "enum": [
      -                "active",
      -                "archived"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "file_id",
      -            "path",
      -            "state"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "next_offset": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "output_dir": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "total": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "output_dir",
      -      "files",
      -      "total",
      -      "next_offset"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "archive_path": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "file_id": {
      -        "description": "Identifiant à passer dans file_id de manage_outputs, avec le même output_dir.",
      -        "type": "string"
      -      },
      -      "output_dir": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "path": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "state": {
      -        "enum": [
      -          "active",
      -          "archived"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "output_dir",
      -      "file_id",
      -      "path",
      -      "state"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "files": {
      +        "items": {
      +          "properties": {
      +            "archive_path": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "created_at": {
      +              "type": "string"
      +            },
      +            "file_id": {
      +              "description": "Identifiant de la sortie dans son output_dir. Pour reprendre un effet ou une ambiance, donne cet identifiant comme source_file_id au même outil de création.",
      +              "type": "string"
      +            },
      +            "path": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "state": {
      +              "enum": [
      +                "active",
      +                "archived"
      +              ],
      +              "type": "string"
      +            },
      +            "tool": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "file_id",
      +            "path",
      +            "state"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "next_offset": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "output_dir": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "total": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "output_dir",
      +      "files",
      +      "total",
      +      "next_offset"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "archive_path": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "created_at": {
      +        "type": "string"
      +      },
      +      "file_id": {
      +        "description": "Identifiant de la sortie dans son output_dir. Pour reprendre un effet ou une ambiance, donne cet identifiant comme source_file_id au même outil de création.",
      +        "type": "string"
      +      },
      +      "output_dir": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "path": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "state": {
      +        "enum": [
      +          "active",
      +          "archived"
      +        ],
      +        "type": "string"
      +      },
      +      "tool": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "output_dir",
      +      "file_id",
      +      "path",
      +      "state"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Addedv2.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=true, and the description reinforces the repeat-safety while adding genuinely new context: write permissions are required, archive relocates the file into the folder-local archive, restore returns it to its original path, and the operation fails if the destination is occupied. The only soft spot is that it restates idempotency rather than explaining consequences of archive (whether originals are preserved), leaving a small gap on the destructive side.

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?

The text is front-loaded with the overall purpose, then proceeds action by action with no filler. A couple of sentences are dense and slightly cryptic (the file_id/output_dir association, the trailing permission/failure sentence), but nothing is wasted.

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?

With 7 parameters, an output schema, and fully covered schema descriptions, the description supplies everything an agent still needs: action selection rules, pagination continuation, write-permission prerequisites, and failure conditions. Nothing material to correct invocation is missing.

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%, so the baseline is 3, and the description earns above that by explaining cross-parameter semantics the schema states only per-field: list combines file_type with state, offset must be fed from next_offset with unchanged filters, and file_id must be paired with the output_dir of the render that emitted it. It does not document limit or default-state behavior beyond what the schema already says.

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 three concrete actions (list, archive, restore) on a specific resource (files saved by SoundMCP in output_dir) and separates them explicitly, so an agent can tell what each action does without opening the schema. It also names a sibling use case (reopening a project in preview_music), reinforcing what the tool is for.

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 per-action guidance: list for retrieval with file_type+state combined, archive/restore on explicit user request, and a concrete routing rule — choose file_type=project and state=active to get a project for preview_music. Pagination guidance (pass next_offset into offset with the same filters) removes the main inference an agent would otherwise have to make.

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