Skip to main content
Glama

generate_blog_post

Generate a complete AI-written blog article for your publication. Specify topic, voice, and keywords to get a draft ready for editing or publishing.

Instructions

Generate a full AI blog article. Requires a publicationId (from list_blogs or create_publication). Pass a voiceProfileId to write in a specific person's style (IDs from list_voices). Returns an articleId + operationId; generation is async — poll get_blog_status until completed, then get_blog_article. Use update_blog_article to edit, or publish_blog_article to push to external platforms. To make it live on your PostKing blog, call update_blog_article with status: 'published'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYesTopic or working title for the post
brandIdNoBrand ID (uses active brand if omitted)
targetLengthNomedium
publicationIdYesBlog publication ID
voiceProfileIdNoVoice profile ID for writing style (from list_voices)
generateAiImageNoGenerate an AI header image
primaryKeywordsNoSEO keywords to target
selectedAssetIdNoID of the brand asset to use for the header image
skipBrandContextNoOmit brand context from the generation prompt when true
attachVisualAssetNoUse a brand visual asset (with branding) for the header image
readabilityTargetNoReadability level for the writing, e.g. 'grade-8'
secondaryKeywordsNoSecondary SEO keywords to target
imageVariationCountNoNumber of AI image variations to generate (1-5). Only used when generateAiImage is true.
Behavior4/5

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

With no annotations, the description carries the full burden and discloses key behaviors: async generation requiring polling, return of articleId and operationId, and the exact follow-up calls. It doesn't mention failure modes or side effects like credit consumption, but the critical async behavior is well covered.

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

Conciseness5/5

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

Every sentence is packed with actionable information: prerequisites, async behavior, follow-up tools, and publication steps. No fluff or repetition; it's concise and clearly structured.

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?

The description covers the full lifecycle for a complex async tool: prerequisites, input sources, output identifiers, polling, retrieval, editing, and publishing. It's complete enough even without an output schema, and the sibling references orient the agent within the broader toolset.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 92%, so the baseline is 3. The description adds meaningful value beyond the schema by explaining the provenance of publicationId and voiceProfileId, and reinforcing the async flow. It doesn't just restate parameter descriptions.

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?

The description opens with 'Generate a full AI blog article,' using a specific verb and resource. It clearly distinguishes itself from sibling tools like generate_post (social posts) and generate_text by focusing on blog articles with a publicationId requirement.

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?

Provides clear context: requires publicationId from list_blogs or create_publication, voiceProfileId from list_voices, and explains the async workflow with next steps (poll status, retrieve, edit, publish). It doesn't explicitly say when not to use this tool versus alternatives, but gives strong contextual guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bitsandtea/postking-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server