Skip to main content
Glama

Publish Article

publish_article
Destructive

Schedule a ready article for automatic public publication. Once due, it may also distribute a post to connected social accounts. Optionally provide a scheduled_at datetime.

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 to publish
scheduled_atNoISO 8601 datetime (defaults to now)

Output Schema

NameRequiredDescriptionDefault
statusYes
article_idYes
scheduled_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is largely covered. The description adds genuinely useful context beyond that: publication is public and a social post may be distributed as a side effect. However, it never explains why the operation is destructive — e.g. that publishing is not readily reversible, what happens if the article is already live, or whether the social distribution is automatic or conditional ("may also distribute" is ambiguous).

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?

Three short sentences, front-loaded with the core action and consequences, with no filler. The final sentence on scheduled_at is largely redundant with the schema, which slightly dilutes an otherwise tight definition.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and annotations cover the safety hints. Still missing for a destructive, open-world publish action: prerequisites (article state/readiness, permissions), irreversibility, and the conditions under which social distribution fires. Adequate but with clear gaps.

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 both parameters are already documented in the schema including the "defaults to now" behavior. The description's "Optionally provide a scheduled_at datetime" restates the schema rather than adding meaning, such as timezone handling, whether past datetimes are rejected, or what happens when the field is omitted (immediate publish vs. queued).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ("Schedule a ready article for automatic public publication") and hints at scope with "ready article", which implicitly separates it from trigger_generation and refresh_article in the sibling list. It is clear what the tool does, but it never names an alternative sibling to sharpen the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is only implied: "ready article" suggests a prerequisite (the article must already exist and be complete), and "once due" implies a scheduling model. There is no explicit when-to-use/when-not-to-use guidance, no statement of what to do instead for drafts or regeneration, and no mention of required permissions.

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