Skip to main content
Glama

Publish an article to the site

publish_article
Destructive

Publish an article from the Seonix project to the user's connected website, now or at publish_at (write scope; every plan, Free included). This puts a page on the LIVE site, so two things are needed: the user has turned on publishing by an assistant for this site in the Seonix dashboard (off by default; the tool answers owner_setting_required with the link), and for each article you tell the user which article goes to which site and when, get their yes, then call with confirmed_by_owner=true. Needs a connected website channel (list_channels; the user connects one in the dashboard). Seonix publishes within a minute of the time; get_article then shows the publication and the live URL. For an article that is already live this pushes the stored text to the site again.

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": {
      "article_id": "<article_id>"
    },
    "name": "publish_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
article_idYesArticle id from save_article or list_articles.
channel_idNoChannel id from list_channels. May be omitted when the project has exactly one connected website channel.
project_idNoProject id or slug.
publish_atNoWhen to publish, RFC 3339 with a time zone (e.g. 2026-12-05T09:00:00+01:00). Empty = now.
confirmed_by_ownerNoSet true only after the user has seen which article goes to which site and when, and said yes to exactly that. Without it the tool answers what to show them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint and openWorldHint, and the description adds the concrete consequence: content lands on the LIVE site within a minute, the off-by-default owner setting produces an owner_setting_required response with a link, and re-publishing pushes the stored text to the site again. That last sentence is the real behavioral disclosure, since it tells the agent the operation overwrites live content.

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?

Purpose is front-loaded and every sentence carries operational content, but the single dense paragraph blends preconditions, confirmation flow, and edge cases. Slight redundancy between the prose about a connected website channel and the channel_id description keeps it from being a 5.

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 destructive live-site mutation with no output schema, the description covers the gate, the error path, the timing, and what to call afterward (get_article for the publication and live URL). Nothing an agent needs to call this safely is missing.

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 100%, so baseline is 3. The description goes beyond it by explaining the confirmation workflow behind confirmed_by_owner ("Without it the tool answers what to show them" is mirrored in the schema, but the description frames the required user-facing approval step) and by implying publish_at can be left empty for immediate publication.

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 ("Publish an article ... to the user's connected website") plus the timing option ("now or at publish_at"). This clearly separates it from save_article (draft storage) and get_article (reads the publication), so an agent can pick it without opening the schema.

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?

Gives explicit preconditions (owner must have enabled assistant publishing, a connected website channel must exist), names the exact gate ("you tell the user which article goes to which site and when, get their yes, then call with confirmed_by_owner=true"), and points to list_channels as the way to obtain a channel. It also states the already-live case, which is where an agent would otherwise misfire.

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.