Skip to main content
Glama

Publish a draft

publish_draft
Destructive

Immediately publish a DRAFT post to selected platforms. Publication is irreversible and publicly visible on the real social networks, so it needs the user's explicit confirmation in the current turn. Rejects non-DRAFT posts; get_posts(status=DRAFT) lists drafts.

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/openWorldHint annotations by stating the effect is irreversible and publicly visible on real networks, and adds a hard procedural requirement — explicit user confirmation in the current turn — that the annotations cannot express. It also discloses the rejection behavior for non-DRAFT posts.

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 tight sentences: action first, consequences and confirmation requirement second, lookup alternative last. No filler, and the most decision-relevant fact (irreversibility) is placed early.

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?

Output schema exists, so return values need not be explained, and the description covers safety, preconditions, and the confirmation gate. The one gap is retry/idempotency behavior, which matters for an irreversible action but is left entirely to the schema's idempotency_key field.

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 on the top-level parameter is 0%, but the nested request properties are extensively self-documented (post_id, platforms, idempotency_key binding rules, natural_posting). The description only echoes 'selected platforms'; it adds nothing about retry keys or platform-subset constraints, so the schema does the heavy lifting.

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 ('Immediately publish a DRAFT post to selected platforms') and distinguishes itself from read-side siblings by naming get_posts(status=DRAFT) as the listing tool. An agent can tell exactly what this does without opening the schema.

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 a clear precondition (post must be DRAFT, non-DRAFT is rejected) and routes to the correct sibling for finding drafts. It does not mention how this relates to schedule_post or review_post, which an agent choosing among publishing paths might also consider.

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