Skip to main content
Glama

Create post

create_post

Create a new blog post with title, HTML content, author, collection, tags, metadata, slug, image, and publishing options. status=published makes the post live. collection_id is optional; omit it to use the empty-slug default Posts collection. If that default does not exist, provide collection_id (call list_collections or create_collection).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugNoPost slug. Auto-generated from title when omitted.
tagsNoTag names. Maximum 10 tags.
imageNoOptional featured image path or URL. Use upload_image for local files.
titleYesPost title.
blogIdYesBlog ID. Use list_blogs to discover available blog IDs.
statusNoPublishing status. Default: draft.draft
contentYesPost HTML content.
authorIdNoOptional author user ID from list_blog_members. Assigning another member requires owner or admin access.
metadataNoCustom metadata entries as key/value objects. Maximum 20 entries; description should be 200 characters or fewer.
published_atNoOptional publish datetime in ISO 8601 format.
collection_idNoOptional collection ID. When omitted, the collection with an empty slug is used. If none exists, use list_collections to choose a collection_id, or create_collection to create one first.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / collection_id / description
      Previous value: -"Collection ID for the post."New value: +"Optional collection ID. When omitted, the collection with an empty slug is used. If none exists, use list_collections to choose a collection_id, or create_collection to create one first."
    • changedInput schema / required
      Previous value: -[
      -  "blogId",
      -  "title",
      -  "content",
      -  "collection_id"
      -]New value: +[
      +  "blogId",
      +  "title",
      +  "content"
      +]
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources