Skip to main content
Glama

create_task_schedule

Schedule one-time or recurring tasks that automatically create a thread or instantiate a recipe in a channel at the due time.

Instructions

Create a task schedule: when due, the sweeper creates a thread titled title in channel_id (or, when recipe_id is set, instantiates that recipe — parent + DAG children — instead). interval_secs omitted = one-shot; a positive value = recurring. first_run_at omitted = fire on the next tick.

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": {
      "channel_id": "<channel_id>",
      "title": "<title>"
    },
    "name": "create_task_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
recipe_idNowhen set, each firing instantiates this recipe instead of a bare thread (skipped if the prior run is still in flight)
channel_idYes
first_run_atNowhen to first fire (default: now)
interval_secsNorecurrence period in seconds; omit for a one-shot

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare this is a non-destructive, non-idempotent write with no external reach; the description adds real behavioral context the agent couldn't otherwise know: a background sweeper performs the action later, recipe firings skip when the prior run is still in flight, and an omitted first_run_at fires on the next tick. That is exactly the kind of deferred-execution and edge-case disclosure annotations cannot carry.

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 purpose and the default behaviors are front-loaded in a single dense sentence, with each clause carrying information. The nested parentheses around the recipe branch make it slightly harder to parse than a short bulleted structure would be, but there is no 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 deferred-execution creation tool with no output schema, the description covers firing semantics, defaults, and the in-flight skip case well. It omits what the call returns (e.g., a schedule identifier) and any permission or channel-existence requirements, which are the remaining gaps.

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 60%, and the description compensates by explaining the undocumented title/channel_id pair (thread title and target channel) and adding semantics beyond the schema for interval_secs and recipe_id (parent + DAG children, skip-if-in-flight). It does not address edge values like zero/negative interval_secs or timezone handling for first_run_at, keeping it below 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 description opens with a specific verb+resource ('Create a task schedule') and immediately explains the resulting behavior: the sweeper creates a thread titled `title` in `channel_id`, or instantiates a recipe when `recipe_id` is set. That makes the tool distinguishable from delete_task_schedule, set_task_schedule_active, and list_task_schedules by what it actually does, though no sibling is named explicitly.

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 gives clear conditional guidance on the two modes (bare thread vs. recipe instantiation) and on interval_secs (omitted = one-shot, positive = recurring). What's missing is any when-not-to-use or routing to alternatives such as create_thread for a one-off thread, so it stops short of a full 5.

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

Deploy Server

Other Tools