Skip to main content
Glama

Create Post

inblog_create_post

Create an unpublished draft blog post with a required title and unique slug, plus optional HTML content and SEO metadata; publish it separately after creation.

Instructions

Create a new blog post. The post is created as a draft (unpublished). Use inblog_publish_post to publish it after creation.

Args: title (string, required): Post title slug (string, required): URL slug (e.g., 'my-first-post'). Must be unique. content_html (string, optional): Post body as HTML (TipTap editor format) meta_title (string, optional): SEO meta title. Falls back to title. meta_description (string, optional): SEO meta description. Recommended 150-160 chars. image (string URL, optional): Featured image URL. inblog auto-uploads to R2 storage. head_start_script (string, optional): JavaScript injected at start (e.g., hreflang script). json_ld_script (string, optional): Raw JSON-LD for BlogPosting schema (not a script tag). faq_json_ld_script (string, optional): Raw JSON-LD for FAQPage schema. Auto-wrapped in injection.

Returns: Created post with id, title, slug, and status.

Examples: Minimal: {title: "My Post", slug: "my-post"} Full: {title: "AI Guide", slug: "ai-guide", content_html: "Hello", meta_title: "AI Guide | My Blog", meta_description: "Learn about AI..."}

Errors: 401 (auth), 422 (validation — check title/slug), 500 (server)

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": {
      "title": "<title>",
      "slug": "<slug>"
    },
    "name": "inblog_create_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesURL slug for the post (e.g., 'my-first-post'). Required. Must be unique.
imageNoFeatured image URL. inblog auto-uploads to R2 storage.
titleYesPost title. Required.
meta_titleNoSEO meta title. Falls back to title if omitted.
content_htmlNoPost body as HTML (TipTap editor format). Optional.
json_ld_scriptNoJSON-LD string for BlogPosting schema. Injected as <script type='application/ld+json'>. Pass the raw JSON object string, not a script tag.
meta_descriptionNoSEO meta description. Recommended 150-160 chars.
head_start_scriptNoJavaScript injected at <head> start. Use for hreflang alternate links (e.g., hreflang injection script).
faq_json_ld_scriptNoJSON-LD string for FAQPage schema. Automatically wrapped in a <script type='application/ld+json'> injection and stored in head_end_script. Pass the raw JSON object string.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare non-read-only, open-world, non-idempotent, non-destructive, so the bar is lower, yet the description still adds real behavior: the post lands unpublished, the slug must be unique (reinforcing the non-idempotent hint), the image is auto-uploaded to R2, and the FAQ JSON-LD is auto-wrapped and stored in head_end_script. It also lists return shape (id/title/slug/status) and the 401/422/500 failure modes.

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 purpose and draft status, then organized into Args, Returns, Examples, and Errors sections that are easy to scan. There is mild duplication between the Args list and the schema descriptions, and the examples add modest value, but nothing is wasted at length.

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 9-parameter mutation with no output schema, the description compensates by stating the return shape, the draft lifecycle, uniqueness constraints, script-injection side effects, and the error classes. An agent has enough to call this correctly and to know what to do next.

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 coverage is 100% and the schema descriptions essentially mirror the Args block verbatim, so the description mostly restates structured data rather than adding to it. The few genuine additions (meta_description length guidance, "raw JSON-LD, not a script tag", fallback of meta_title to title) already appear in the schema text. Baseline 3 applies when the schema carries the parameter detail.

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 ("Create a new blog post") and immediately qualifies the resulting state ("created as a draft (unpublished)"), which is the key distinction from a publish action. It names inblog_publish_post as the follow-up, so an agent can separate this from the publish sibling without opening either schema.

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?

Explicitly routes the agent: create here, then use inblog_publish_post to make it live. That is a concrete when-to-use/when-to-use-next signal. It does not address create-vs-update for an existing slug, so it falls short of the full explicit rubric tier, but the guidance it gives is actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.