Skip to main content
Glama

set_schedule

Configure a goal's interval, cron, or on-demand schedule to control when Quarterdeck runs it; intended for human use only.

Instructions

Sets a goal's schedule (interval, cron, or none) for the human. For the quarterdeck-goals plugin only: agents and the model must not call this.

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": {
      "goal_id": "<goal_id>",
      "schedule": "<schedule>"
    },
    "name": "set_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
goal_idYes
one_offNoWith schedule null: the goal runs once and is done when its run leaves nothing open
scheduleYesnull makes the goal run only on demand
run_scopeNoA goal run passes its run id here; anyone else leaves it out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.32.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / schedule / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "active_hours": {
      -        "description": "Only run inside this local-time window, e.g. \"08:00-20:00\"",
      -        "pattern": "^\\d{2}:\\d{2}-\\d{2}:\\d{2}$",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "interval",
      -        "type": "string"
      -      },
      -      "minutes": {
      -        "description": "Run every N minutes (at least 5)",
      -        "minimum": 5,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "minutes"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "expr": {
      -        "description": "5-field cron, local time",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "cron",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "expr"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "active_hours": {
      +        "description": "Only run inside this local-time window, e.g. \"08:00-20:00\"",
      +        "pattern": "^\\d{2}:\\d{2}-\\d{2}:\\d{2}$",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "interval",
      +        "type": "string"
      +      },
      +      "minutes": {
      +        "description": "Run every N minutes (at least 5)",
      +        "maximum": 9007199254740991,
      +        "minimum": 5,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "minutes"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "expr": {
      +        "description": "5-field cron, local time",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "cron",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "expr"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose a genuinely important access restriction (human/plugin-only, agents forbidden), which is real added context. But it says nothing about what changing a schedule does to in-flight or queued runs, whether it requires ownership/permissions, or what the call returns.

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?

Two sentences, front-loaded with the action, with no filler. The parenthetical mode list slightly duplicates the schema, but it earns its place by letting a reader grasp the three modes without opening the anyOf.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter mutation tool with no annotations and no output schema, the definition covers purpose and caller restriction but leaves the effect surface undocumented. An agent (or human reader) still cannot tell what happens to existing runs, whether errors are raised for invalid cron, or how the schedule interacts with run_scope.

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 75%, so the schema already explains minutes bounds, active_hours format, cron expr, null-as-on-demand, one_off, and run_scope. The description's '(interval, cron, or none)' only restates the anyOf branches and adds no syntax, defaults, or interaction detail (e.g., one_off only being meaningful with a null schedule).

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?

States a specific verb and resource ('Sets a goal's schedule') and enumerates the three accepted modes (interval, cron, none), which maps cleanly onto the schema's anyOf. It is clearly not any of the sibling status/item tools. The second sentence shifts from purpose to audience, so the functional statement is only one sentence long.

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 exclusion: 'For the quarterdeck-goals plugin only: agents and the model must not call this,' which is decisive routing guidance for an agent. However, it names no alternative for scheduling or explaining how a human is expected to invoke it, and it does not describe the preconditions (e.g., goal must exist) under which a legitimate caller would use it.

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