Skip to main content
Glama

Delete Film Project

delete_film_project
Destructive

Permanently delete a film project and its script/shot list, only after the user explicitly confirms. Set delete_media only if the user also asks to delete its currently linked library media. Media referenced by another film or Character is kept. Characters, voices and themes are kept. This cannot be undone. It does not cancel running generations or find historical media no longer linked to the project. If media cleanup fails, the project remains so deletion can be retried with the same id.

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": {
      "id": "<id>"
    },
    "name": "delete_film_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesFilm project ID to permanently delete.
confirmNoTrue only after the user explicitly confirms deletion of this film.
skills_usedNoOptional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs.
delete_mediaNoAlso delete currently linked owned media, only if explicitly requested. Defaults to keeping media.
expected_updated_atNoThe project's updatedAt from the preview. Rejects a stale deletion confirmation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and non-idempotent, but the description goes well beyond them: exact destruction scope, what survives (media referenced by another film or Character, characters, voices, themes), irreversibility, and failure semantics (if media cleanup fails the project remains and can be retried with the same id). The retry-with-same-id statement is a useful clarification of the transaction boundary rather than a contradiction of idempotentHint=false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Six short sentences, front-loaded with the destructive action and the confirmation gate, then scoping, exclusions, and failure behavior. No sentence is redundant; each carries a distinct decision-relevant fact.

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 high-risk mutation tool with no output schema, the definition covers confirmation gating, cascade scope, preserved objects, irreversibility, and recovery on partial failure — everything an agent needs to call it safely.

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 schema already documents each parameter; the description nonetheless adds decision-level meaning for delete_media (default keep, only on explicit request, cross-project media preserved) that the field text only partially conveys. Other params like confirm and expected_updated_at are not elaborated beyond the schema, so it stops short of a 5.

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?

States a specific verb and resource ("Permanently delete a film project") plus the dependent objects removed (script/shot list), and delineates scope by naming what is kept and what the tool does not do. An agent can distinguish it from delete_asset or delete_character without opening a schema.

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?

Gives explicit preconditions ("only after the user explicitly confirms") and conditional guidance for the optional flag ("Set delete_media only if the user also asks..."). It also names out-of-scope actions (does not cancel running generations, does not find unlinked historical media), which steers the agent away from misuse.

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.