Skip to main content
Glama

manage_routine

Destructive

Autopilot: routines your AI runs on a schedule (e.g. "every Monday at 9, write 2 posts about X and schedule them").

action: list | get | create | update | pause | resume | delete | run_now. create needs name (1-80 characters), brief (what each run posts, 1-2000 characters: keep it to the topic, count and tone), account_ids and cadence; mode defaults to "draft" (drafts for the user's approval); update takes any of them. Every answer carries the routine's sentence (the routine in one line), setup and autopilotUrl.

Who starts each run (trigger.kind):

  • own_scheduler (default): the AI's own scheduled task runs it. Put setup.prompt in a recurring task on the cadence (ChatGPT Tasks, Grok Automations, Claude Code /schedule…); setup.steps says where.

  • claude_routine: Antwork starts the user's Claude routine. Needs its fire_url and token, which only the user can create (claude.ai/code/routines → Add trigger → API → Generate token). That Claude routine needs the Antwork connector and setup.prompt as its prompt.

  • chatgpt_events: Antwork sends routine.due; subscribe to it in this chat with setup.prompt. ChatGPT Work chats only; any other client (Codex included) cannot subscribe and uses own_scheduler.

  • webhook: routine.due to the workspace's webhook endpoints (paid plans).

Args: routine_id: For every action but list and create. cadence: {"kind": "weekly", "days": [1..7] (1 = Monday), "time": "09:00", "timezone": "Europe/Madrid"} or {"kind": "every_n_days", "every_days": 2, "time", "timezone"}. mode: "draft" (drafts for the user's approval), "schedule" or "publish" (as the user chose when setting it up). max_posts_per_run: Most posts one run may make (default 3). trigger: {"kind": ..., "fire_url"?, "token"?}. Omit to keep the current one. workspace_id: Workspace ID or name. Optional if user has only one workspace.

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": {
      "action": "<action>"
    },
    "name": "manage_routine"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo
nameNo
briefNo
actionYes
cadenceNo
contextNoThe user's underlying goal for this call, in one sentence without personal details. Used for product analytics only.
triggerNo
llm_modelNoThe model identifier of the calling assistant, or "unknown". Used for product analytics only.
routine_idNo
account_idsNo
workspace_idNo
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
max_posts_per_runNo

Output Schema

NameRequiredDescriptionDefault
_mcp_instructionsNoServer-issued metadata for this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations (destructive, openWorld) it discloses that runs post to real accounts, the mode default of "draft" for user approval, that webhook triggers require paid plans, and that claude_routine needs a fire_url and token only the user can generate. It omits any warning about delete/pause reversibility, which matters for a destructive-flagged tool.

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?

Front-loaded with purpose, then actions, then a sectioned trigger explanation followed by args; nothing is duplicated from the schema verbatim. The trigger-kind block is long and dense, but each bullet conveys a distinct client-specific constraint rather than filler.

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 13-parameter, 8-action, destructive tool it covers the essentials: creation inputs, update semantics, trigger setup paths, and even what every response contains (sentence, setup, autopilotUrl), which pairs well with the existing output schema. The gap is operational safety around delete and run_now, which the annotations flag as destructive but the description never qualifies.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 23%, but the description compensates thoroughly: cadence is spelled out with full JSON shape and Monday=1 convention, mode enumerates all three values with meanings, name and brief carry length limits and content guidance, trigger lists its kind-dependent fields, and workspace_id states when it can be omitted. The remaining parameters (context, llm_model, conversation_id) are the only ones left to the schema, and those already carry descriptions.

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 opening line defines the resource precisely ("Autopilot: routines your AI runs on a schedule") with a concrete example, and the action list enumerates the full operation set (list | get | create | update | pause | resume | delete | run_now). It conceptually separates routines from single-post siblings like schedule_post, though it never names an alternative tool 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 per-action requirements (create needs name, brief, account_ids and cadence; update takes any of them) and explains which trigger kind fits which client, including the explicit exclusion that ChatGPT Work chats are required for chatgpt_events and other clients must use own_scheduler. No guidance ties manage_routine to the post-level siblings, so selection against those 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.