Skip to main content
Glama

update_schedule

Replace all settings of an existing schedule by sending every field, not just changes; run history is kept and paused schedules stay paused. Returns the updated schedule.

Instructions

Replace every setting of an existing schedule; send all fields, not only the changed ones. Its run history is kept and a paused schedule stays paused. Free; later runs use credits as in create_schedule. Returns the updated 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>",
      "schedule_id": "<schedule_id>"
    },
    "name": "update_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
schedule_idYesSchedule id returned by create_schedule or listed by list_schedules.
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. Changed10 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 / schedule_id / description
      Added value: +"Schedule id returned by create_schedule or listed by list_schedules."
    • 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 supplied, the description carries the burden and does real work: run history is preserved, a paused schedule remains paused, the call itself is free while later runs consume credits at the create_schedule rate, and the response is the updated schedule. Gaps remain around permissions and what happens to a run currently in progress during replacement.

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?

Four short sentences, each carrying distinct information: replacement semantics, data retention behavior, cost model, and return value. The most consequential fact (replace everything / send all fields) is front-loaded.

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 ten-parameter mutation with no annotations and no output schema, the definition covers the details an agent would otherwise guess wrong about: full replacement, history retention, pause-state retention, billing, and return value. Missing pieces such as validation failure behavior or effect on an in-flight run are minor rather than blocking.

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 100%, so baseline would be 3, but the description adds genuine semantic weight by stating that all fields must be supplied rather than only the changed ones — this changes how the agent fills the eight required parameters rather than restating them. It adds nothing further about individual field meaning, so it is not a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first clause names a specific verb and resource — 'Replace every setting of an existing schedule' — and the emphasis on 'every setting' makes the full-replacement semantics unmistakable, which is exactly the distinction that matters against a partial-update sibling. It does not explicitly name an alternative such as manage_schedule for partial edits, so it stops short of a 5.

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?

'Send all fields, not only the changed ones' is a concrete usage rule that tells the agent how to call this before it opens the schema, and 'existing schedule' implies creation is out of scope. It gives no explicit when-not guidance and never names the sibling to use for incremental edits.

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