Skip to main content
Glama

Schedule a post

schedule
Destructive

Queue a draft to post at a later time, to every account in it. Call it only after the user said yes to this post and this time. Answers one delivery per account in state queued; a warning on a delivery means that account’s connection will lapse before then and the user should reconnect it. Refused when the time is further ahead than the plan schedules (usage_get says how far).

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": {
      "id": "<id>",
      "version": "<version>",
      "idempotencyKey": "<idempotencyKey>",
      "scheduledAt": "<scheduledAt>"
    },
    "name": "schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe draft id.
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.
versionYesThe draft’s version as you last read it. A different number is refused, so nothing goes out with content the user did not see.
scheduledAtYesWhen to post, in UTC and ending in Z, for example 2026-11-06T14:00:00Z. Work it out from the user’s local time (usage_get names the workspace time zone). It must be in the future.
idempotencyKeyYesA key you make up for this one request, 8 to 200 characters (a UUID works). Repeating the request with the same key answers the same deliveries and never posts twice, so reuse it after a timeout. A key already used for another draft, version or time is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Goes beyond the annotations (which only say destructive/open-world/non-read-only) by disclosing the response shape ('one delivery per account in state queued'), the meaning of a warning on a delivery (connection will lapse, user should reconnect), and the plan-horizon refusal. It does not say what happens to the draft's own state after scheduling, which is the main remaining behavioral unknown.

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?

Four tight sentences, front-loaded with the action, then the precondition, then the return and refusal semantics. Every sentence carries decision-relevant information; the delivery-warning sentence is the longest but it is not padding.

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 covers the return value (one delivery per account, queued state, possible warning) and the documented refusal path, which is what an agent needs to interpret success and failure. Minor gaps: no mention of partial failure when only some accounts' connections lapse, and no note on what the draft looks like afterwards.

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 each parameter is already documented in detail (version mismatch refusal, UTC/Z format via usage_get time zone, idempotencyKey reuse after timeout). The description only reinforces the time concept and the all-accounts scope; it adds no parameter syntax or validation beyond the schema.

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 and resource ('Queue a draft to post at a later time') plus the scope ('to every account in it'), which tells an agent exactly what the call commits to and that there is no per-account selection at this step. The distinction from a plain draft edit is implicit in 'later time' and the fan-out to all accounts.

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?

Gives an explicit gating condition — 'Call it only after the user said yes to this post and this time' — plus a refusal condition (time beyond the plan horizon) and points at usage_get for the horizon. It does not contrast against sibling hold/scheduling tools, so a small routing gap remains.

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.