Skip to main content
Glama

Honeyfield Marketing MCP

Strapi: Get entry

strapi_get_entry
Read-only

Einen einzelnen Strapi-Eintrag abrufen. entry_id ist bei v4 die numerische id, bei v5 die documentId. locale wählt die Sprachversion (Strapi-v5-i18n, z. B. 'de'; ohne Angabe die Default-Locale). populate lädt Relationen und Medien mit: '' genau eine Ebene tief (Sektionen einer Dynamic Zone kommen mit, Medien und Repeatables INNERHALB der Sektionen fehlen), 'cover' oder 'cover,seo' gezielt. Tiefes Populate als Dict wie in der Strapi-Doku, z. B. populate={"content": {"populate": ""}} (entspricht populate[content][populate]=) — lädt jede Sektion einer Dynamic Zone eine Ebene tief (Medien, Relationen und Repeatables direkt in der Sektion); für Medien innerhalb von Repeatables tiefer verschachteln, z. B. per on-Strategie je Komponente populate={"content": {"on": {"sections.faq": {"populate": {"items": {"populate": ""}}}}}}. Vor dem Zurückschreiben per strapi_update_entry prüfen, dass alle Medien der Sektionen im GET enthalten sind. Der fertige Query-String 'populate[content][populate]=*' oder das Dict als JSON-String gehen ebenfalls. status wählt bei v5 die Version: 'draft' oder 'published'. Ohne status liefert v5 die VERÖFFENTLICHTE Version: ein noch nie publizierter Draft ergibt dann {"error": "http_error", "status": 404}, ein geänderter Draft erscheint als unveränderte Live-Version. Drafts nach create/update deshalb mit status='draft' zurücklesen (status wirkt nur bei v5; v4 ignoriert ihn). 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"): später erneut versuchen; bleibt es, Base-URL und Erreichbarkeit der Instanz prüfen. 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_get_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNo
statusNo
entry_idYes
populateNo
workspaceNo
collectionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover readOnly/openWorld, yet the description discloses the critical default: on v5 a GET without status returns the published version, so a never-published draft yields a 404 and an edited draft returns stale live content. It also enumerates error codes (invalid_collection, invalid_id, strapi_timeout, strapi_unreachable) and gives retry/escalation advice.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded and each paragraph is keyed to a parameter name, but it is a dense wall of text with long run-on sentences and some redundancy around the deep-populate JSON-string form. Most content earns its place given the zero schema coverage, though the nesting examples could be tightened.

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?

An output schema exists, so return values need not be described. Given six parameters with no schema documentation, v4/v5 divergence, and Single Type quirks, the description covers everything an agent needs to call it correctly, including the counterintuitive single-type behavior where entry_id is not validated.

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 is numeric id on v4 vs documentId on v5, locale selects the i18n version, collection must be an API-ID excluding plugin routes, and workspace is optional for single-workspace setups. The populate semantics are spelled out in unusual depth, including how '*' stops one level short inside dynamic-zone sections.

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?

The opening sentence gives a specific verb and resource ("einen einzelnen Strapi-Eintrag abrufen"), and the singular "einzelnen" implicitly contrasts with the list sibling. It does not explicitly name strapi_list_entries as the alternative, so it stops short of a 5.

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?

Strong conditional guidance: read drafts back with status='draft' after create/update, verify all media are present before calling strapi_update_entry, and note that status is ignored on v4. It names one sibling explicitly, but never states when to prefer strapi_list_entries or another read path.

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