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
agentNoYour name, on every write: Duet/<channel name> or Grok Bot/<bot name>.
domainNo
confirmNo
site_idNo
override_brand_voiceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

With no annotations at all, the description carries the full burden and does so well: it discloses that this is a live mutation, the confirmation requirement and its exact failure mode, that a scheduled post's schedule is destroyed, and that a brand-voice gate can block publishing. These are precisely the side effects and preconditions an agent needs before invoking a write tool.

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?

Front-loaded with the core action, then conditions in descending order of importance; nearly every clause adds operational value. The dated-connection caveat is verbose but genuinely load-bearing, so it earns its space.

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?

For a no-annotation mutation tool with no output schema and 17% schema coverage, the description covers confirmation, failure modes, and the brand-voice gate well, but says nothing about what publishing returns, whether it is idempotent on an already-published post, or what site_id/domain control. Those gaps keep it at minimum-viable-plus rather than complete.

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 only 17%, so the description must compensate, and it explains the meaning and consequences of confirm and override_brand_voice plus the purpose of id. However, domain and site_id are left entirely undefined in both schema and description, leaving real gaps for a 6-parameter tool.

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 ('Publish a draft blog post, making it live on the site') and implicitly separates this from the scheduling path by noting that publishing a scheduled post fires immediately and clears the schedule. It does not explicitly name a sibling alternative, so it lands just short of the top score.

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?

It gives concrete conditional guidance: confirm must be true, may be omitted only on a 2026-07-28 connection whose client declares form elicitation, otherwise omission fails, and override_brand_voice is the escape hatch when a publish fails the brand-voice gate. What's missing is a direct statement of when to choose this over post_posts_by_id_schedule or patch_posts_by_id.

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.