Skip to main content
Glama

Honeyfield Marketing MCP

Strapi: Delete entry

strapi_delete_entry
Destructive

Einen Strapi-Eintrag löschen. entry_id ist bei v4 die numerische id, bei v5 die documentId. locale wählt die zu löschende Sprachversion (Strapi-v5-i18n, z. B. 'en'); locale='*' löscht ALLE Sprachversionen des Dokuments. Ohne locale löscht v5 nur die Default-Locale-Version — andere Sprachversionen bleiben bestehen (auch live); die Rückgabe enthält dann einen entsprechenden hint. Bei lokalisierten Content-Types locale deshalb immer explizit angeben. Die Rückgabe {"deleted": entry_id, "collection", "locale"?} bestätigt nur den Aufruf; Ergebnis mit strapi_list_entries(locale=...) prüfen. Single Types (z. B. 'impressum', 'footer'): Singular-API-ID als collection; der Server spricht sie automatisch über ihre ID-lose Route an. entry_id wird dabei NICHT geprüft (ein Single Type hat nur ein Dokument) — die documentId aus dem Lesen mitgeben, sie dient nur als Platzhalter. collection: API-ID der Collection (Buchstaben, Ziffern, _ und -; keine Plugin-Routen wie users, upload, admin), sonst {"error":"invalid_collection"}. entry_id: documentId bzw. numerische ID (Buchstaben, Ziffern, _ und -), 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": {
      "collection": "<collection>",
      "entry_id": "<entry_id>"
    },
    "name": "strapi_delete_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNo
entry_idYes
workspaceNo
collectionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say destructive/openWorld; the description adds far more — that locale='*' removes every language version, that omitting locale leaves other locales live, that the response only confirms the call rather than the outcome, and that a timeout leaves the mutation in an unknown state so retrying blindly is wrong. These are exactly the operational hazards an agent needs before a destructive call.

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 and keeps nearly every sentence load-bearing, including the important Single Type placeholder caveat. It is dense prose rather than segmented structure, so the locale pitfalls and the parameter rules blur together, but there is little genuine padding.

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

Completeness5/5

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

Covers the edge cases that matter for a destructive Strapi delete: v4 vs v5 identifiers, i18n partial deletion, Single Types where entry_id is ignored, invalid_collection/invalid_id errors, and timeout ambiguity. Given an output schema exists, restating the return shape is minor and the added "only confirms the call" caveat justifies it.

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full burden and does: entry_id's version-dependent meaning and allowed characters, locale's semantics including the '*' wildcard, collection's API-ID charset and the exclusion of plugin routes (users, upload, admin), plus the corresponding error payloads, and workspace's optionality when only one workspace exists.

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 and resource ("Einen Strapi-Eintrag löschen") and immediately scopes it with the distinction between numeric id (v4) and documentId (v5). It also routes the agent to strapi_list_entries for verification, so it is separable from the read/update siblings without opening their schemas.

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?

Gives concrete when-to guidance around locale: specify it explicitly for localized content types, use '*' to delete all language versions, and omit it only when the default-locale-only behavior is intended. Verification via strapi_list_entries(locale=...) is prescribed. No explicit exclusion against strapi_unpublish_entry or strapi_update_entry, but delete semantics are unambiguous.

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