Skip to main content
Glama

Delete

delete
Destructive

Delete; confirm with the user first. A project or music track is deleted for good; an asset or segment_extra is removed to the bin. project: it and everything in it. asset: a character, environment or object. music_track: a background music track. segment_extra: a segment's sound effect or overlay, with its scene layers. A segment's image, clip and voiceover can't be deleted.

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": {
      "type": "<type>"
    },
    "name": "delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe asset, music track, or segment sound effect or overlay
typeYesproject: project_id; asset, music_track: id; segment_extra: project_id, segment_number, and id if the segment has several
project_idNoProject id
segment_numberNoSegment number (1-based, from storyboard_read)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds the substantive behavioral split the annotations cannot express: project and music_track deletes are permanent ('for good'), while asset and segment_extra go to a recoverable bin. It also discloses cascade behavior for projects ('it and everything in it') and that segment_extra takes its scene layers with it.

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 safety-critical instruction is front-loaded in the first clause, and every subsequent phrase maps to a distinct entity type or exclusion. It is dense and slightly telegraphic but has no filler sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter destructive tool with no output schema and full schema coverage, the description covers permanence, cascade scope, bin recovery, and non-deletable parts. It omits what the call returns (deleted object vs. status) and whether a binned item can be restored by another tool, which are the only remaining gaps.

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 an increment by defining what each enum value actually targets (asset = character/environment/object, segment_extra = sound effect or overlay) and by bounding the operation. It still relies on the schema for the id/project_id/segment_number pairing rules rather than restating them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (delete) and enumerates the exact resource types it accepts (project, asset, music_track, segment_extra), plus the sub-entity meaning of each. It doesn't need sibling differentiation because no other sibling is a delete operation, but it also doesn't state the target resource singularly that would push it to a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Confirm with the user first' gives an explicit precondition agents must satisfy before invoking, and the closing line establishes a negative case: a segment's image, clip and voiceover can't be deleted. It stops short of naming an alternative tool for the excluded cases, so no explicit sibling routing.

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