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"}. workspace: Slug des Kunden-Workspace (optional bei nur einem Workspace).

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.9/5.0
Behavior5/5

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

Annotations only say non-readOnly, non-destructive, open-world; the description adds substantive behavior: drafts are invisible until a separate deliberate publish, locale silently falls back to default when omitted for localized content types, missing full file objects in Blocks rich text yield 400 ValidationError, and __component is auto-reordered to avoid 'Invalid key __component'. These are exactly the failure modes an agent would otherwise hit.

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?

The key fact (DRAFT, not public) is front-loaded and the dash-led paragraphs keep dense rules scannable. It is nonetheless long, and the landingpage section (Hero, Nutzen, FAQ, image sourcing) reads as editorial workflow guidance that could live in a prompt or sibling doc rather than a tool definition.

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?

For a 4-param mutation with nested free-form data, the description covers prerequisites (media IDs, full file objects), pitfalls (400s on __component and rich-text images), locale defaults, and the follow-up read pattern. An output schema exists, so response shape legitimately needn't be described.

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 must carry the load and does: data is the field-value object sent internally as {"data": ...}, locale selects the i18n version, workspace is the customer slug and optional for single-workspace setups, and collection is constrained (letters/digits/_/-, no plugin routes like users/upload/admin, else error invalid_collection). All four parameters gain meaning the schema does not provide.

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 neuen Strapi-Eintrag als DRAFT anlegen') and immediately scopes it: the entry is NOT public until strapi_publish_entry. That contrast with the publish sibling lets an agent place the tool without opening 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?

Names explicit alternatives and the conditions selecting them: use strapi_publish_entry for going live, strapi_get_entry(..., status='draft') to read back (noting v5 returns 404 without that status), and read strapi_list_entries/strapi_get_entry first when building landingpages. It also states when to ask the user for images rather than 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