Skip to main content
Glama

Honeyfield Marketing MCP

Strapi: Delete media

strapi_delete_media
Destructive

Eine Datei aus der Strapi-Medienbibliothek löschen (file_id aus strapi_list_media / strapi_upload_media). file_id: numerische ID (aus strapi_list_media), sonst {"error":"invalid_id"}. Antwortet Strapi nicht ({"error": "strapi_timeout"} bzw. "strapi_unreachable"), ist offen, ob die Änderung angekommen ist: erst nachsehen, nicht blind wiederholen. workspace: Slug des Kunden-Workspace (optional bei nur einem Workspace).

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": {
      "file_id": "<file_id>"
    },
    "name": "strapi_delete_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes
workspaceNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds genuinely non-obvious behavior: the invalid_id error shape and, importantly, that a timeout/unreachable leaves the deletion outcome uncertain, so the agent should re-check rather than retry blindly.

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?

Front-loads the action, then the parameter semantics, then failure handling, with no filler sentences. The inline error literals make it slightly dense but each clause carries operational information.

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?

Output schema exists, so return values needn't be spelled out, yet the description still documents the relevant error modes and the ambiguous post-timeout state. Combined with annotations, an agent has what it needs to invoke and recover correctly.

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 carry the load. It documents file_id (numeric ID, provenance, invalid_id error) and workspace (customer slug, optional for single-workspace setups), which covers both parameters meaningfully. Minor caveat: file_id is typed string in the schema but described as numeric, which could cause slight confusion.

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?

States a specific verb+resource ('Eine Datei aus der Strapi-Medienbibliothek löschen') and points to the sibling tools that supply the required file_id (strapi_list_media / strapi_upload_media). An agent can distinguish it from strapi_update_media or strapi_upload_media without opening a schema.

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?

Explains where file_id comes from and gives explicit recovery guidance after a timeout ('erst nachsehen, nicht blind wiederholen'). It also clarifies the optionality of workspace when only one workspace exists. No explicit when-not-to-use statement, but the sourcing guidance effectively routes the 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