Skip to main content
Glama

Publish Multiple

publish_multiple
DestructiveIdempotent

Publish multiple content items at once by ID list or all drafts, avoiding repeated single-item calls. Returns published IDs, skipped held/fork items, and failures.

Instructions

Publish multiple content items in a single call. Use this instead of calling publish_content in a loop.

Examples:

  • Publish specific pages: {"ids": ["abc123", "def456"]}

  • Publish all drafts at once: {"publish_all_drafts": true}

Held pages and fork copies are never published by this tool: they come back in "skipped" as {id, reason}. publish_all_drafts ignores fork copies entirely.

Returns published IDs, skipped items, and any failures.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNoList of content IDs to publish. Mutually exclusive with publish_all_drafts.
publish_all_draftsNoIf true, publish every unpublished (draft) content item in the site

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.2.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare idempotentHint, destructiveHint, and openWorldHint, so the safety/mutation profile is covered. The description adds genuinely non-obvious behavior beyond that: held pages and fork copies are never published and surface in 'skipped' as {id, reason}, and publish_all_drafts ignores fork copies entirely. These edge cases would be invisible from the schema alone.

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?

Front-loaded with the purpose and the routing directive, then compact examples, then the skip/return semantics. Every sentence carries distinct information and nothing is redundant with the schema.

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

Completeness5/5

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

No output schema exists, and the description compensates by naming the return payload (published IDs, skipped items, failures). Combined with the mutual-exclusivity note and skip rules, an agent has everything needed to call and interpret the result.

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 the baseline is 3, but the description earns above baseline: it illustrates the shape of 'ids' ({"ids": ["abc123", "def456"]}) and clarifies that publish_all_drafts silently ignores fork copies, which the schema property description does not say.

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+resource (bulk publish of content items) and immediately distinguishes itself from the sibling publish_content by routing the agent away from looping. An agent can identify the tool 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 Guidelines5/5

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

Explicitly names the alternative (publish_content) and the condition that selects this tool ('instead of calling publish_content in a loop'). The examples further demonstrate the two invocation modes, so the when-to-use decision is fully inferred.

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

Deploy Server

Other Tools