--- name: manage-works description: Use when a my-beautiful-choir user wants to add a work (a piece) to a choir's repertoire, or change its title, composer, arranger, voicing, sung languages or notes, show or search the repertoire, open a work, or delete a work, in personal mode. --- # Manage the works of a repertoire Works are managed with the tools of the my-beautiful-choir MCP server, in personal mode. ## Tools | Task | Tool | |---|---| | Add a work | `add_work(choir?, title, composer?, arranger?, voicing?, sung_languages?, notes?)` | | Search a choir's repertoire | `show_repertoire(choir?, search?)` | | Show a work and its scores | `show_work(work_id)` | | Change a work | `edit_work(work_id, ...)` | | Delete a work and its scores | `delete_work(work_id)` | ## Rules to follow - Only the title is required. Fill in only what the user gave; **never invent** a composer, an arranger or a voicing. - Without `choir`, the work goes to the default choir: tell the user which one. If no choir exists, use the `manage-choirs` skill first. - Sung languages are BCP 47 codes (`la` for Latin, `fr`, `en`, `de`...). - In `edit_work`, omit an attribute to keep it; give an empty value to clear it. `sung_languages` replaces the whole list. - A work is named by its id, given when it is added. - Two works may have the same title (for example two arrangements). - `delete_work` requests confirmation. If the host opens the **Deletion** view, ask the user to review the work and its scores and choose **Delete** or **Cancel**. If the deletion preview changes, review it again before confirming.