Skip to main content
Glama

Schedule Drafts at Planned Times

aidelly_schedule_drafts

Schedule up to 25 of your drafts as real posts, one per selected platform, each at its draft_planned_for time (or an overrides entry). Drafts with a missing, past or under-5-minutes time are skipped and reported, never published now; so are drafts already scheduled, in approval, rejected or queued. Run dry_run first and confirm the times, platforms and accounts with the user; the real run needs a NEW idempotency_key. Change times via overrides only. When the workspace requires approval the posts are held, and a held post whose time has passed publishes when approved. At most 50 posts per call. The whole call is refused up front, before anything is written, if it would exceed the daily scheduling limit or an X plan cap; an X API budget refusal is reported per draft instead (status failed).

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": {
      "idempotency_key": "<idempotency_key>",
      "draft_ids": "<draft_ids>"
    },
    "name": "aidelly_schedule_drafts"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoOptional body override for endpoints with sparse parameter schemas.
queryNoOptional query overrides for endpoints with sparse parameter schemas.
dry_runNoReport what would be scheduled without writing anything.
accountsNoThe account to post to per platform (account_id from aidelly_list_social_connections). Platforms left out use the workspace default account.
brand_idNo
draft_idsYesIds of your open drafts to schedule (from aidelly_list_drafts / GET /drafts). Max 25, no repeats.
overridesNoPer-draft times that replace draft_planned_for. Each draft_id must also be in draft_ids. The draft itself is not edited.
workspace_idNoWorkspace to operate in: the `id` of a workspace returned by aidelly_list_workspaces. Optional for read operations; required when creating content.
idempotency_keyYes

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?

The description discloses many behaviors beyond the annotations: which drafts are skipped, that missed drafts are never published immediately, that approval-held posts publish after approval if their time has passed, and that the whole call is refused up front for daily or X plan limits. It also distinguishes call-level refusal from per-draft X API budget failure. This is substantial behavioral context for a non-read-only, open-world operation.

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?

The description is front-loaded with the core action and then packs in skip rules, dry-run guidance, approval behavior, and limits. It is dense but every sentence carries operational value. Light structuring would improve readability, but there is little wasted wording.

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 complex scheduling tool with nested parameters, approval states, rate caps, and no output schema, the description covers the critical invocation and failure semantics well. It does not describe the response shape or some remaining parameters, but an agent has enough information to call it correctly and safely with dry_run.

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 78%, so the schema already documents most parameters. The description adds useful operational meaning for overrides, the need for a fresh idempotency_key on real runs, and dry_run sequencing. It leaves brand_id, body, query, and workspace_id unaddressed, preventing a top score.

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 states a specific verb and resource: schedule existing drafts as real posts at their planned times. It also scopes the operation to up to 25 drafts, one per selected platform, which clearly separates it from sibling tools such as creating posts or bulk-creating posts.

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 gives clear operational usage guidance: run dry_run first, confirm times/platforms/accounts with the user, and use a new idempotency_key for the real run. It also says to change times via overrides only. It does not explicitly name alternative tools for cases where scheduling drafts is not appropriate, so it falls short of a full when/when-not/alternatives statement.

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.