Skip to main content
Glama

Outbox: publish a draft

outbox_go_live
DestructiveIdempotent

Publish a draft page to restore its stored visibility and make unlisted or public pages visible to others. Set draft:true to return it to draft mode and generate a share preview link.

Instructions

Takes a page out of draft mode so it gets its stored visibility (private/unlisted/public) and emits page.published; unlisted/public pages become visible to others. draft:true turns it back into a draft and returns a previewUrl (a share link that expires in 7 days). Without share|template scope on the slug the draft is still set but no link is created and the response carries previewSkipped:'missing_share_scope' (tell the user to review it on the web).

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": {
      "slug": "<slug>"
    },
    "name": "outbox_go_live"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug of the draft page
userNoPage owner username (default: the connected account)
draftNofalse (default) = go live; true = back to draft

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.2/5.0
Behavior5/5

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

Adds a lot beyond the annotations: the emitted event page.published, that unlisted/public pages become visible to others, that the returned previewUrl expires in 7 days, and that a missing share scope yields previewSkipped:'missing_share_scope' rather than an error. These are exactly the side effects an agent needs before calling a destructiveHint 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 primary action, then the reverse mode, then the failure mode in a logical order. Dense with parentheticals but virtually every clause carries operational meaning; a slightly cleaner split of the scope-warning sentence would improve it.

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?

No output schema exists, yet the description documents the notable return values (page.published, previewUrl, previewSkipped) and their lifetimes. Minor gaps: no mention of interaction with page passwords or whether publishing is reversible beyond draft:true.

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 further by explaining the consequence of draft:true (returns a previewUrl) and the fallback when scope is missing. The 'user' parameter is left entirely to the schema, which is fine at full coverage.

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: 'Takes a page out of draft mode so it gets its stored visibility (private/unlisted/public).' The inverse mode (draft:true) is also defined. It does not explicitly distinguish itself from the sibling outbox_publish, which is the most likely confusion point, so it stops short of a 5.

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 clear conditions: default call publishes the draft, draft:true reverts it, and when share|template scope is missing it tells the agent what to do ('tell the user to review it on the web'). No explicit exclusion against the publish/set_visibility siblings, so not a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.