Skip to main content
Glama

Delete media

delete_media
Destructive

Permanently delete photos or videos from an event. Call first without confirm to see what would be deleted, show that to the creator, then call again with confirm: true.

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": {
      "mediaIds": "<mediaIds>"
    },
    "name": "delete_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to delete. Without it nothing changes and the result lists what would be deleted
mediaIdsYesMedia ids from list_media, 1 to 5 per call

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and a closed world, so the safety profile is known. The description adds genuinely useful beyond-annotation context—the calls are permanent and the no-confirm call is a non-mutating dry run—but it says nothing about rate limits, auth requirements, partial-failure behavior, or what actually happens to media after deletion.

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 tight sentences with the destructive scope front-loaded before the procedure. Nothing is wasted, though the sentence order means the safety critical "permanently" lands before the preview workflow it modifies.

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 destructive two-parameter tool with no output schema, the description covers purpose, ordering, and the preview result ("the result lists what would be deleted"). It is thinner on the confirmed path—what the response contains after a real deletion, and whether a partial set of ids can fail independently—which leaves a gap for a high-stakes mutation.

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

Parameters3/5

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

Schema coverage is 100% and both parameters are already documented in-schema, including the 1-to-5 id limit and the confirm gate. The description's only addition is the call ordering, so the baseline of 3 is correct.

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?

"Permanently delete photos or videos from an event" is a specific verb + resource + scope, and "permanently" distinguishes it from a soft-hide operation. An agent knows the operation and its blast radius without opening the 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?

The description prescribes a concrete two-step procedure: call without confirm to preview, show that to the creator, then call again with confirm: true. It also ties parameter values to a sibling (media ids from list_media), so selection and sequencing are both explicit.

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