Skip to main content
Glama

Delete dossier media

delete_dossier_media
DestructiveIdempotent

Remove a video from the dossier and from storage. Says how many documents still carry its reference — those will show a named gap rather than a player, which is the intended behaviour: a deleted video should be visible as deleted, not silently absent.

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": {
      "media_id": "<media_id>"
    },
    "name": "delete_dossier_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
media_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true, so the safety profile is covered. The description earns credit by adding non-obvious behavior: the storage copy is removed permanently, and documents referencing the video are not broken but render a visible named gap, explicitly framed as intended. Auth requirements and failure modes for a missing media_id remain unstated.

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?

Two sentences, front-loaded with the action, and the second sentence's length is justified because it explains the user-visible consequence. No filler or restatement of the title.

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 single-parameter destructive tool with no output schema and annotations covering the safety hints, the description supplies the two things an agent most needs: what is permanently destroyed and what happens to dependent documents. Only identifier provenance and permission/error behavior are missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter is an undescribed string. The description never addresses media_id itself – no format, no indication of where to obtain a valid id (e.g. from list_dossier_media). Only the phrase "a video" hints at what the identifier denotes, so the schema gap is largely uncompensated.

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?

"Remove a video from the dossier and from storage" gives a concrete verb plus resource and clarifies that the deletion spans both the dossier record and the underlying storage object. It implicitly distinguishes itself from delete_dossier and delete_dossier_image by naming the specific asset type, though it never explicitly routes the agent away from those siblings.

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?

There is no explicit when-to-use/when-not-to-use guidance and no mention of preconditions such as permissions or what happens if the video is the only media in a dossier. Usage is only implied by the description of the effect, which does at least make the intent clear to an agent.

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