Skip to main content
Glama

Publish an article

publish_article

Create a new article and make it live immediately, or schedule it for a future time.

This PUBLISHES: without schedule_at the article is world-readable the moment this returns, at the visibility you choose. If the piece is not ready, use create_draft instead and publish later. Each call creates a NEW article — it is not idempotent, so calling twice publishes twice; use update_article to change one that exists.

Requires an API key and consumes one publish from the account's plan quota; the response warns when the allowance is nearly spent. Returns the created article with its public url and editor_url.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoUp to 10 topic tags used for discovery and filtering.
titleYesHeadline, 1-250 characters.
visibilityNoAudience: 'public' anyone, 'subscribers' newsletter subscribers, 'paid' paying members, 'private' only you. Defaults to 'public'.public
schedule_atNoISO 8601 timestamp to publish at, e.g. '2026-09-01T09:00:00Z'. Omit to publish immediately. A past timestamp publishes immediately.
body_markdownYesComplete article body as Markdown. Images may be referenced by URL.
cover_image_urlNoAbsolute URL of the hero image. generate_cover_image returns a URL suitable here.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed6 schema fields changed
    • changedInput schema / properties / body_markdown / description
      Previous value: -"Full article body in Markdown"New value: +"Complete article body as Markdown. Images may be referenced by URL."
    • changedInput schema / properties / cover_image_url / description
      Previous value: -"URL of the cover image"New value: +"Absolute URL of the hero image. generate_cover_image returns a URL suitable here."
    • changedInput schema / properties / schedule_at / description
      Previous value: -"ISO 8601 timestamp to schedule. Omit to publish immediately."New value: +"ISO 8601 timestamp to publish at, e.g. '2026-09-01T09:00:00Z'. Omit to publish immediately. A past timestamp publishes immediately."
    • changedInput schema / properties / tags / description
      Previous value: -"Up to 10 tags"New value: +"Up to 10 topic tags used for discovery and filtering."
    • changedInput schema / properties / title / description
      Previous value: -"Article title"New value: +"Headline, 1-250 characters."
    • changedInput schema / properties / visibility / description
      Previous value: -"Who can read this article"New value: +"Audience: 'public' anyone, 'subscribers' newsletter subscribers, 'paid' paying members, 'private' only you. Defaults to 'public'."
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false. The description goes further: it reveals side effects (world-readable immediately), quota consumption, and a warning mechanism in the response ('response warns when the allowance is nearly spent'). Loses one point for not explicitly stating retry or rate-limit behavior, which would have made it a 5, but this is strong, non-annotation-redundant context.

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?

Three tight paragraphs: what it does, what to watch out for (non-idempotency), and operational specifics (quota, return values). Every sentence carries signal; no filler. Bolded 'PUBLISHES' effectively signals emphasis. Appropriate length for a high-stakes, non-idempotent, resource-consuming operation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-param tool with no output schema and no nested objects, the description covers the critical behaviors: immediate visibility, scheduling semantics, non-idempotency, quota, and return value fields (public url, editor_url). Slight deduction for not stating whether the quota applies per-request or per-publish (edge case) and not mentioning rate limits, but the description exceeds what a typical tool description offers at this complexity level.

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 100% with detailed per-parameter descriptions already. Description adds meaningful behavioral meaning beyond the schema: context for what 'published' means for schedule_at, the fact that omitting schedule_at publishes immediately, and that a past timestamp publishes immediately. This helps the agent reason about edge cases without re-stating what the schema already documents.

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?

Uses a specific verb+object construction ('Create a new article and make it live immediately, or schedule it') immediately followed by the operational implications. Clearly distinguishes from create_draft (the sibling) by stating what publishing means. The all-caps PUBLISHES reinforces the permanence and visibility semantics without redundancy.

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?

Explicitly provides when-to-use and when-not-to: 'If the piece is not ready, use create_draft instead and publish later.' Names the alternative tool, explains the consequence of misuse (double publish), and points to update_article for modifications. Also warns about non-idempotency, which is a usage red-flag with decision-relevant consequences.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Tools have clear, distinct purposes. Even similar tools like generate_title_seo and suggest_titles are clearly separated by input type (topic vs draft). The descriptions are exhaustive, preventing confusion.

Naming Consistency5/5

All tools use lowercase snake_case with verb-first naming. Slight inconsistency: 'upgrade' is a bare verb while others are verb_noun, but overall pattern is consistent.

Tool Count4/5

23 tools is a large but justifiable set for a full-featured blogging platform covering articles, series, reactions, newsletter, analytics, and AI assistance. It borders on the high end but remains scoped.

Completeness2/5

The tool set covers creation, publishing, updating, and listing of articles, but lacks delete operations for articles and series, and offers no comment management beyond reading. This leaves notable lifecycle gaps.