Skip to main content
Glama

Publish an article to the website

publish_article
DestructiveIdempotent

Publishes one written article to the user's live website through its connected platform (WordPress, Webflow, Wix, Framer, Shopify, GitHub or webhook), then resubmits the sitemap. Only for articles with status written. Visible to the public once done: confirm with the user first.

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_idYesA written article, from list_articles with status written

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=true and a non-read-only operation, so the safety profile is known. The description still adds real value the annotations cannot: the effect is publicly visible, a sitemap resubmission is triggered as a side effect, and user confirmation is required beforehand. It does not describe failure or partial-failure behavior (e.g. publish succeeds but sitemap resubmit fails).

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 short sentences, each load-bearing: what it does and where, the eligibility gate, and the public-visibility warning with the confirmation requirement. The most important caveat is front-loaded and nothing is repeated from the schema verbatim without purpose.

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 single-parameter, no-output-schema mutation, the description covers destination, side effects, eligibility and the confirmation requirement, which is enough to call it correctly and safely. The remaining gaps are failure handling and whether repeated calls republish or no-op, which the idempotentHint implies but the text never confirms.

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 description coverage is 100% for the single parameter, and the schema already says it must be an article from list_articles with status written. The description restates the same status constraint but adds no format, idempotency-per-id, or error semantics beyond what the structured fields already convey. Baseline 3 applies when the schema carries the parameter burden.

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 ('Publishes one written article'), names the destination ('user's live website through its connected platform') and enumerates the platforms, then adds the post-publish step ('resubmits the sitemap'). The status gate ('Only for articles with status written') separates it from write_article, so an agent can tell what stage of the workflow this tool occupies.

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?

Gives an explicit precondition ('Only for articles with status written') and an explicit procedural instruction ('confirm with the user first'), which is the key guidance for a public mutation. It does not name alternative tools for the not-yet-written case, but the precondition plus the article_id description pointing at list_articles with status written covers the realistic path.

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.

Resources