Skip to main content
Glama

create_schedule

Create a recurring social media research schedule for up to 100 targets, running an operation once, daily, weekly or monthly in a chosen timezone to track changes over time.

Instructions

Create a schedule that runs one operation for up to 100 targets once, daily, weekly or monthly in a chosen timezone, to track changes over time. Creating it is free; each run starts jobs billed like create_batch, with credits for each delivered result and nothing for failed or empty runs. If a run is still going when the next is due, the next one is skipped. Each call creates a new schedule. Returns the schedule with its id and next_run_at; change it with update_schedule or manage_schedule.

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": {
      "name": "<name>",
      "platform": "<platform>",
      "operation": "<operation>",
      "targets": "<targets>",
      "frequency": "<frequency>",
      "timezone": "<timezone>",
      "starts_at": "<starts_at>"
    },
    "name": "create_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesSchedule name shown in lists, 1-120 characters. Example: Nike weekly posts
limitNoMaximum results to collect per target, from 1 up to the operation's max_results in discover_platforms. Default 12. Single-item operations (profile, post, video, transcript, playlist, adlibrary_ad, adlibrary_ad_transcript, profile_analytics) always count as 1; Instagram highlights, highlight_items and stories ignore limit. Example: 50
targetsYesTargets to run the operation for, 1-100, each in the same format as target and up to 255 characters; duplicates (ignoring case) are rejected. Example: ["nike", "adidas"]
platformYesPlatform name from discover_platforms: instagram, tiktok, youtube, x or facebook. Example: instagram
timezoneYesIANA timezone the schedule follows, so runs keep the same local time. Example: America/New_York
frequencyYesHow often to run: once, daily, weekly or monthly.
operationYesOperation name from discover_platforms for the chosen platform, such as profile, posts, comments, followers, hashtag, search or adlibrary_search. Example: posts
starts_atYesFirst run time in ISO 8601 with a UTC offset or Z. Example: 2026-12-02T09:00:00Z
include_postsNoOnly for operation profile: also return this many recent posts, 0 up to the posts operation's max_results (200 at most; 50 at most in extract_now), billed at the posts rate. Default 0. Example: 12

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.1.1
    • addedInput schema / properties / frequency / description
      Added value: +"How often to run: once, daily, weekly or monthly."
    • addedInput schema / properties / include_posts / description
      Added value: +"Only for operation profile: also return this many recent posts, 0 up to the posts operation's max_results (200 at most; 50 at most in extract_now), billed at the posts rate. Default 0. Example: 12"
    • addedInput schema / properties / limit / description
      Added value: +"Maximum results to collect per target, from 1 up to the operation's max_results in discover_platforms. Default 12. Single-item operations (profile, post, video, transcript, playlist, adlibrary_ad, adlibrary_ad_transcript, profile_analytics) always count as 1; Instagram highlights, highlight_items and stories ignore limit. Example: 50"
    • addedInput schema / properties / name / description
      Added value: +"Schedule name shown in lists, 1-120 characters. Example: Nike weekly posts"
    • changedInput schema / properties / operation / description
      Previous value: -"Operation returned by discover_platforms"New value: +"Operation name from discover_platforms for the chosen platform, such as profile, posts, comments, followers, hashtag, search or adlibrary_search. Example: posts"
    • changedInput schema / properties / platform / description
      Previous value: -"Platform returned by discover_platforms"New value: +"Platform name from discover_platforms: instagram, tiktok, youtube, x or facebook. Example: instagram"
    • addedInput schema / properties / starts_at / description
      Added value: +"First run time in ISO 8601 with a UTC offset or Z. Example: 2026-12-02T09:00:00Z"
    • addedInput schema / properties / targets / description
      Added value: +"Targets to run the operation for, 1-100, each in the same format as target and up to 255 characters; duplicates (ignoring case) are rejected. Example: [\"nike\", \"adidas\"]"
    • addedInput schema / properties / timezone / description
      Added value: +"IANA timezone the schedule follows, so runs keep the same local time. Example: America/New_York"
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: creation is free, each run bills like create_batch with credits only for delivered results, failures and empty runs cost nothing, and a run still in progress causes the next run to be skipped. These are non-obvious consequences an agent could not infer from the schema. Missing pieces are prerequisite/permission or plan requirements, but the billing and overlap semantics are well disclosed.

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?

Purpose is front-loaded and each subsequent sentence carries a distinct fact (billing, skip-on-overlap, no dedupe, return value, update alternatives), so there is no filler. The billing sentence is clause-dense and could be split for readability, which keeps this from a 5.

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 9-parameter mutation with no output schema, the description supplies what the schema cannot: cost model, overlap behavior, duplicate-creation risk, and the returned fields (id, next_run_at). Remaining gaps are access/plan prerequisites and how target limits interact with operation-level max_results, though the latter is partly covered in the schema.

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%, including examples for name, targets, platform, operation, limit and starts_at, so the structured field already does the heavy lifting. The description adds only marginal parameter meaning ('one operation,' 'up to 100 targets') that repeats or lightly paraphrases the schema; it adds no formatting or constraint detail beyond it.

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 first sentence states a specific verb and resource (create a schedule) plus the operating envelope: one operation, up to 100 targets, frequencies, timezone, and the goal of tracking changes over time. It also implicitly separates this from create_batch (one-off runs, referenced only for billing) and from update_schedule/manage_schedule (for changes).

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?

It clearly routes modification work away from this tool: 'change it with update_schedule or manage_schedule,' and warns 'Each call creates a new schedule,' which prevents duplicate-creation mistakes. It does not, however, tell an agent when to prefer a one-off run (create_batch / extract_now) over a recurring schedule, so the creation-side alternative is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.