Skip to main content
Glama

Preview publication reschedule batch

preview_reschedule_publications
Read-onlyIdempotent

Previews moving up to 100 existing future scheduled publications and uncompiled planned slots. Each publication requires its exact scheduleId and expectedUpdatedAt; each planned slot requires its exact slotId and expectedRevision. Every item has its own localDateTime and IANA timezone. Compiled slots are synchronized with their schedule atomically; copy the compiledSlot slotId and expectedRevision from the preview into the apply call. The preview reports old and destination times, current and resulting approval state, and a previewHash. It checks collisions among selected batch items, but external calendar collisions are checked per item during apply; an external collision can make the result partial while other eligible items succeed. It creates no jobs, does not approve pending publications, and does not publish.

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": {
      "idempotencyKey": "<idempotencyKey>",
      "schedules": "<schedules>",
      "plannedSlots": "<plannedSlots>"
    },
    "name": "preview_reschedule_publications"
  }
}

Input Schema

NameRequiredDescriptionDefault
schedulesYes
plannedSlotsYes
idempotencyKeyYes

Output Schema

NameRequiredDescriptionDefault
schedulesYes
previewHashYes
plannedSlotsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint true and destructiveHint false, and the description reinforces rather than repeats them: it creates no jobs, approves nothing, publishes nothing. It adds materially new behavior that annotations cannot express — batch-internal collision checks versus external calendar collisions checked per item at apply time, the risk of a partial result, and the exact preview payload (old/destination times, approval state, previewHash).

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 scope and size cap, then per-item requirements, then guarantees. Nearly every sentence carries information, though the collision sentence is long and could be split for faster scanning.

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 3-parameter, nested-array preflight tool the definition covers scope, per-item identifiers, atomic synchronization semantics, collision behavior, and side-effect guarantees, while an output schema handles return shape. The one substantive omission is idempotencyKey, leaving an agent without guidance on how to supply or reuse it.

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?

With 0% schema description coverage in the schema, the description does the heavy lifting: it explains that schedules need scheduleId plus expectedUpdatedAt, plannedSlots need slotId plus expectedRevision, each item carries its own localDateTime and IANA timezone, and the nested compiledSlot values must be copied from a prior preview. The gap is idempotencyKey, a required top-level parameter that is never mentioned, and dstDisambiguation is also unaddressed.

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 ('Previews') plus a precisely scoped resource: moving up to 100 already-scheduled publications and uncompiled planned slots. The name/resource pairing and the 'copy ... into the apply call' phrasing let an agent distinguish this dry-run from reschedule_publications without opening either 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?

Usage context is clear: this is a preflight for a later apply call, and the agent should carry previewHash and compiledSlot slotId/expectedRevision forward. It never names the sibling apply tool explicitly, but the sequence is stated well enough that no alternative would be picked by mistake.

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