Skip to main content
Glama

delete_media

Remove a media item and its file by med_ ID; require confirm=true to prevent accidental deletion.

Instructions

Forget a media item by its med_ id and remove its file. Without confirm=true nothing changes and the call fails with confirmation_required.

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_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
media_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 does disclose a real behavioral gate: without confirm=true nothing changes and the call returns `confirmation_required`. It also implies file-level destruction ('remove its file'). However, it says nothing about required permissions, whether the removal is irreversible, or what happens to references from other records.

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, zero waste, with the destructive effect and the confirmation gate front-loaded before any caveat.

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?

An output schema exists, so return values need no explanation, and the confirmation/error behavior is well covered for a 2-param mutation. Still missing for a destructive tool: permission requirements and a plain statement that the deletion cannot be undone.

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 0%, so the description must compensate, and it largely does: `confirm` is explained as the gate that must be true or the call fails, and `media_id` is documented as a `med_`-prefixed id. No format details for the id beyond the prefix, but both parameters get added meaning.

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 ('Forget a media item') plus the effect ('remove its file') and the id format (`med_`). An agent can tell this apart from read siblings like get_media/search_media, though it never names the closest alternative (delete_document) for contrast.

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?

Usage is only implied: you call it when you want a media item gone. There is no explicit when-to-use vs. siblings such as delete_document or when-not guidance (e.g., whether to prefer forget-style soft deletion over file removal).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.