Skip to main content
Glama

Preview Batch Schedule

batch_preview_schedule
Read-onlyIdempotent

Dry-run scheduling many saved draft and account pairs at their slot times: returns the exact time for each pair, approval checks and a preview_token. Creates no queue entries. Queueing the batch requires access to batch_commit_schedule; use validate_delivery for a single draft.

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": {
      "items": "<items>",
      "etag": "<etag>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "batch_preview_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
etagYesETag returned by the preview or current workspace state.
itemsYesDraft and account pairs (up to 200), each with post_id and channel_id.
idempotency_keyYesCaller-chosen unique string of 8-128 characters. Retrying with the same key repeats the original result instead of creating a duplicate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, and the description reinforces this with 'Creates no queue entries,' which is the key behavioral guarantee. It also discloses the response contents (per-pair times, approval checks, preview_token), though it does not say how long a preview_token or approval result remains valid.

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?

Two tight sentences: the primary action and its no-op guarantee come first, followed by the commit/validate routing. No redundant restatement of the name or annotations.

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?

With no output schema, the description does the right thing by enumerating what the preview returns, and the etag parameter ties the preview into the commit workflow. The remaining gap is the lifecycle of preview_token and how approval failures are surfaced, which an agent would need for a full commit loop.

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 description coverage is 100%, so etag scaling, idempotency_key length bounds, and the 1-200 item limit are already documented in the schema. The description adds only the notion of 'saved draft and account pairs' and the no-side-effect behavior, which is adequate but not beyond baseline.

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?

The description gives a precise verb and scope: a dry-run that schedules many draft/account pairs at their slot times, returning per-pair times, approval checks, and a preview_token, while creating no queue entries. This clearly separates it from batch_commit_schedule (which queues) and validate_delivery (which handles a single draft).

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?

It explicitly names the escalation path to batch_commit_schedule for actually queueing and redirects single-draft checks to validate_delivery. Both the when-to-use and the alternative are stated rather than inferred.

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