Skip to main content
Glama

delete_character

Remove a character from the cast, with their portrait and voice. Destructive: only call after the user has explicitly asked to delete the character. The first call never deletes: it answers needsConfirmation with what is lost (on an episode of a series, from EVERY episode). In the Promvie studio chat the server shows the user this question in its own words and does it only on their plain yes: never ask it yourself, never say it was done, and never call again with the confirm flag there. Through the API, tell your user exactly what is lost and, only after they agree in a later message, call again with the confirm flag and the confirmId it gave. Does NOT remove the character from existing shot rows; those keep the name reference until the user regenerates them.

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": {
      "movieId": "<movieId>",
      "characterId": "<characterId>"
    },
    "name": "delete_character"
  }
}

Input Schema

NameRequiredDescriptionDefault
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.
confirmIdNoThrough the API: the confirmId from the needsConfirmation answer, sent back with confirmDelete. It confirms that one question, once.
characterIdYesCharacter id to delete.
confirmDeleteNoThrough the API only. Leave unset on the first call. Set true ONLY after this tool answered needsConfirmation and your user, told that the character, their portrait and their voice will be deleted (from every episode on a series), agreed in a later message, in a separate later call that also sends the confirmId. In the studio chat the server answers the question itself: never set it there.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it declares destructiveness, the two-phase needsConfirmation protocol, that the first call never deletes, that loss spans EVERY episode of a series, and that shot rows retain the name reference until regenerated. The only gap is that it does not say whether the operation is reversible or discuss any response payload beyond needsConfirmation.

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 destructive warning and the identity of the tool are front-loaded, and every sentence carries a real constraint. The middle passage is dense and slightly tangled in switching between studio-chat and API audiences, but the wording is not padded and repetition of "never" is warranted for a destructive action.

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?

For a destructive, unannotated, no-output-schema tool, the description supplies the whole safety envelope: confirmation semantics, what is destroyed, scope across episodes, and the known residual side effect on existing shot rows. No output schema exists, so the lack of return-value detail is expected rather than a gap.

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, but the description adds the protocol that gives confirmDelete and confirmId their meaning: first call unset, second call in a separate later message carrying the confirmId, and never in studio chat. That goes beyond restating the field descriptions, though it does not add format or validation detail for movieId/characterId.

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?

"Remove a character from the cast, with their portrait and voice" states a specific verb and resource plus the collateral assets removed. It is trivially distinguishable from siblings like add_character, update_character, write_character_description, and delete_location/delete_prop.

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?

Explicitly gates invocation on the user having asked for deletion, then splits guidance by surface: in the Promvie studio chat the server owns the confirmation, while through the API the agent must relay what is lost and re-call with the confirm flag in a later message. It also names an explicit when-not (do not set the confirm flag in studio chat).

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