Skip to main content
Glama

Reschedule existing publications

reschedule_publications
Idempotent

Moves only the exact existing future publication jobs and uncompiled planned slots included in the matching batch preview. Requires the same idempotencyKey, the exact previewHash, compiledSlot IDs/revisions from the preview where shown, and confirmation=CONFIRM_RESCHEDULE_BATCH as authorization for these exact IDs and destination-specific times. Each schedule and compiled slot use compare-and-set revisions in one transaction. The server rechecks external calendar collisions per item during apply; a collision can fail that item while other eligible items succeed, and the item-wise receipt can be partial. The receipt reports every applied, already-at-target, or failed object. A previously human-approved publication keeps its approval only when its saved variant remains approved with the same content hash; other jobs remain pending_approval and are never auto-approved by this operation. Planned slots stay planned. No replacement job, draft, approval decision, or publish dispatch is created.

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>",
      "expectedPreviewHash": "<expectedPreviewHash>",
      "confirmation": "<confirmation>"
    },
    "name": "reschedule_publications"
  }
}

Input Schema

NameRequiredDescriptionDefault
schedulesYes
confirmationYes
plannedSlotsYes
idempotencyKeyYes
expectedPreviewHashYes

Output Schema

NameRequiredDescriptionDefault
statusYes
schedulesYes
failedCountYes
previewHashYes
plannedSlotsYes
rescheduledCountYes
alreadyAtTargetCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses atomic compare-and-set revision checks in one transaction, per-item re-checking of external calendar collisions that can produce a partial item-wise receipt, and explicit approval semantics (approvals preserved only with identical approved variant and content hash, otherwise pending_approval, never auto-approved). This is consistent with destructiveHint=false and idempotentHint=true and even reinforces them by explaining that no replacement job, draft, approval, or publish dispatch is created.

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?

Dense but front-loaded: prerequisites and authorization first, then transactional behavior, then failure/partial-receipt semantics, then negative guarantees. Every sentence is informative, though the single paragraph of long clauses could be split for scanability.

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?

For a high-stakes batch mutation with 5 required parameters and nested revision objects, the description covers prerequisites, concurrency, partial failure, approval side effects, and what is explicitly not created; an output schema exists for the receipt, so return-value detail need not be restated.

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, the description carries the burden and does well: it explains that idempotencyKey must be the same, expectedPreviewHash must be the exact preview hash, compiledSlot IDs/revisions come from the preview "where shown", confirmation must equal CONFIRM_RESCHEDULE_BATCH, and destination-specific times are part of each item. It does not clarify localDateTime/timezone formatting or dstDisambiguation behavior, leaving some semantics to the schema patterns.

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?

"Moves only the exact existing future publication jobs and uncompiled planned slots included in the matching batch preview" gives a precise verb, resource, and scope, and the phrase "included in the matching batch preview" implicitly separates it from preview_reschedule_publications and from the decision/publish tools. An agent knows this is the apply step for a reschedule batch, not a general edit.

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?

The description clearly states the prerequisite context: a matching batch preview must exist and its hash, compiled-slot revisions, and confirmation token must be passed. It does not name the preview tool explicitly nor state when not to use this operation (e.g., single-item edits), but the gating condition is unambiguous.

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