Skip to main content
Glama

Honeyfield Marketing MCP

Strapi: Create entry

strapi_create_entry

Einen neuen Strapi-Eintrag als DRAFT anlegen — er ist danach NICHT öffentlich. Live geht der Eintrag erst über strapi_publish_entry (separater, bewusster Schritt). data enthält die Feldwerte (wird intern als {"data": ...} gesendet). Media-Felder (z. B. cover) nehmen die Media-ID aus strapi_upload_media bzw. strapi_check_upload_status; Bild-Nodes in Blocks-Rich-Text brauchen das komplette File-Objekt aus strapi_upload_media(full=True) bzw. strapi_list_media(ids=[...], full=True) (sonst 400 ValidationError). locale wählt die Sprachversion (Strapi-v5-i18n, z. B. 'de') — Achtung: ohne locale legt Strapi den Eintrag stillschweigend in der Default-Locale an; bei lokalisierten Content-Types locale immer explizit angeben. Dynamic Zones (z. B. content): jede Sektion ist ein Objekt mit __component (z. B. 'sections.hero') plus ihren Feldern; das Tool sortiert __component automatisch an die erste Stelle jeder Sektion (Strapi lehnt sonst mit 400 'Invalid key __component' ab). Medien in Sektionen als {"id": } oder als volles File-Objekt. Den angelegten Draft zurücklesen mit strapi_get_entry(..., status='draft') — ohne status liefert v5 für einen unveröffentlichten Draft 404. Landingpages: zuerst bestehende Einträge derselben Collection lesen (strapi_list_entries, strapi_get_entry) und dieselben Sektions-Komponenten in derselben Art nutzen. Ohne Vorlage eine vollständige Seite statt einer Kurzfassung (Hero mit CTA, Nutzen, Leistungen, Ablauf, Vertrauen, FAQ, Abschluss-CTA) — mit Bildern aus strapi_list_media oder per strapi_upload_media von Bild-URLs des Nutzers; fehlen Bilder, nachfragen statt fremde zu verwenden. collection: API-ID der Collection (Buchstaben, Ziffern, _ und -; keine Plugin-Routen wie users, upload, admin), sonst {"error":"invalid_collection"}. 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>",
      "data": "<data>"
    },
    "name": "strapi_create_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
localeNo
workspaceNo
collectionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true) only say 'write, non-destructive, external'; the description adds the operative facts the agent can't infer: drafts are invisible publicly, a missing locale silently falls back to the default locale, __component is auto-sorted to avoid a 400 'Invalid key __component', image nodes need full file objects or a 400 ValidationError, and on strapi_timeout/strapi_unreachable the agent must check state before retrying rather than blindly repeating the write.

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-loaded with the draft/publish distinction, and nearly every sentence carries operational information. It is nonetheless a dense, unbroken block of prose without bullets or paragraph breaks for a 330-word description, and the tail section prescribes editorial page structure (Hero, Nutzen, FAQ, Abschluss-CTA) that is content policy rather than tool-invocation guidance and could be trimmed.

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?

With an output schema present, return values need no explanation, and the description covers the remaining risk surface: locale fallback, media ID sources (strapi_upload_media, strapi_check_upload_status, strapi_list_media), dynamic zone shape, invalid_collection, and timeout recovery. For a nested-object write tool with 0% schema coverage, nothing an agent needs to call it safely is missing.

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 description coverage is 0%, so the description carries the full burden and does explain all four parameters: data (field values, wrapped as {"data": ...}), locale (i18n selection with the silent-default warning), collection (API-ID charset, no plugin routes, invalid_collection error) and workspace (slug, optional with a single workspace). However, the nested-object semantics of data (dynamic zone section shape, media ID vs. file object) are described only through examples rather than per-field rules, which leaves real gaps for arbitrary content types.

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?

Opens with a specific verb and resource plus the decisive qualifier: a new Strapi entry is created as a DRAFT and is explicitly NOT public until strapi_publish_entry is called. That single sentence separates it from sibling write tools (strapi_publish_entry, strapi_update_entry) without the agent needing to open any 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?

Explicit routing in both directions: publishing is named as a separate, deliberate follow-up step, and reading the draft back requires strapi_get_entry(..., status='draft') because v5 returns 404 otherwise. It also prescribes the workflow for landingpages (read existing entries of the same collection first, reuse the same section components) and when to ask the user for images instead of reusing foreign ones.

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