Skip to main content
Glama

Publish Post

post_posts_by_id_publish

Publish a draft blog post, making it live on the site. Requires confirm: true. On a 2026-07-28 connection whose client declares form elicitation you may omit it and the user confirms in a dialog; anywhere else, omitting it fails. Publishing a scheduled post publishes it immediately and clears the schedule. Pass override_brand_voice: true to bypass the brand-voice gate when a publish fails that check.

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": {
      "id": "<id>"
    },
    "name": "post_posts_by_id_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
domainNo
confirmNo
site_idNo
override_brand_voiceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the confirmation requirement, the exact environment where the requirement can be waived and that failure follows elsewhere, the side effect on scheduled posts, and the brand-voice gate plus its bypass. That is unusually rich mutation and failure-mode context.

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 tight sentences, front-loaded with the core action before the conditional confirmation rules. The date-versioned elicitation clause is dense but necessary and no sentence is wasted.

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 five-parameter mutation tool with no annotations and no output schema, the description covers the critical invocation risks (confirmation, schedule clearing, brand-voice gate). The remaining gap is the unexplained domain and site_id parameters and the lack of any statement about the response.

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 0%, so the description must compensate. It explains confirm and override_brand_voice in behavioral terms and implies id from the tool name, but says nothing about domain or site_id, leaving two of five parameters with no meaning beyond their names.

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?

States a specific verb and resource: 'Publish a draft blog post, making it live on the site.' An agent can distinguish this from post_posts (create) and post_posts_by_id_schedule. It does not explicitly name those siblings, so the differentiation is implied rather than stated.

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 concrete when-to-use conditions: confirm: true is required, omitting it only works on a 2026-07-28 connection with form elicitation, and published-scheduled posts are published immediately with the schedule cleared. It does not point to sibling tools (e.g. schedule vs. publish) as alternatives, which keeps it short of a 5.

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