Skip to main content
Glama

delete_shot_media_ref

Delete shot media refs matching a mediaId and optional role. Optionally clears imageMediaId/videoMediaId when they point at the removed media.

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": {
      "workspaceId": "<workspaceId>",
      "editId": "<editId>",
      "shotId": "<shotId>",
      "mediaId": "<mediaId>"
    },
    "name": "delete_shot_media_ref"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoOptional role to narrow removal
editIdYesThe edit ID
shotIdYesThe shot ID
mediaIdYesMedia ID to remove from mediaRefs
workspaceIdYesThe workspace ID
clearPrimaryMediaIdNoClear imageMediaId/videoMediaId if it matches the removed media

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose a real side effect: imageMediaId/videoMediaId may be cleared when they point at the removed media. It does not state whether the deletion is reversible, what happens when nothing matches, or whether permissions are required, so the mutation profile is only partly covered.

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?

Two short sentences with zero padding: the primary action and its match criteria come first, the conditional side effect second. Nothing is repeated from the schema verbatim.

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

Completeness3/5

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

For a six-parameter destructive mutation with no annotations and no output schema, the description covers the core effect and the conditional clearing behavior but omits outcome information such as behavior on no match, reversibility, and what is returned. Adequate but visibly thin for a delete operation.

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 goes further by explaining the semantics of clearPrimaryMediaId (clearing imageMediaId/videoMediaId that match the removed media) and by characterizing role as a narrowing filter, adding meaning beyond the field labels.

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?

States a specific verb and resource (delete shot media refs) plus the identifying scope (mediaId and optional role), so it is plainly distinct from add_shot_media_ref and update_shot_media_ref. It stops short of naming any sibling explicitly, so an agent still infers the routing from the verb.

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

Usage Guidelines3/5

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

The description implies when the tool applies (removing a media reference from a shot, optionally narrowed by role) but offers no explicit when-to-use/when-not guidance and never points to update_shot_media_ref or add_shot_media_ref as the alternative for modifying rather than removing a ref.

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.