Skip to main content
Glama

Activate a recurring Autopilot plan

activate_autopilot_plan
Idempotent

Turn a plan on so it runs on its schedule and spends AI credits on every run. Needs confirm: true after the user agreed to the estimated credits per run; without it, it is refused with the estimate.

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": {
      "planId": "<planId>"
    },
    "name": "activate_autopilot_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
planIdYesThe plan, from list_autopilot_plans.
confirmNotrue ONLY after the user agreed to the estimated credits per run. Needed to create the plan active, to activate it, and to change a plan that is active.
workspaceIdNoDefaults to the workspace this connection is scoped to.
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this as a non-read-only, non-destructive, idempotent, open-world operation; the description adds information annotations cannot convey, namely that each run consumes AI credits and that a missing confirm is refused with the credit estimate. It says nothing about how activation interacts with an already-active plan or scheduler timing, so it is not exhaustive.

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?

Two sentences, no filler; the operational effect and cost implication come first and the confirm requirement immediately after, so the most decision-relevant facts are 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 four-parameter mutation with full annotation coverage and no output schema, the description covers the essential behavioral facts: cost per run, the confirm gate, and the refusal path. The minor gap is that it does not explain what happens when the plan is already active, though the confirm parameter's schema description partially covers that.

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 coverage is 100%, so planId, confirm, workspaceId and idempotencyKey are all documented in the schema itself. The description restates the confirm gate and adds the refusal consequence, but adds no new syntax or semantics beyond that, so baseline 3 is appropriate.

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 description states a specific verb and resource ('Turn a plan on') plus the concrete consequence ('runs on its schedule and spends AI credits on every run'), which clearly separates it from deactivate_autopilot_plan and delete_autopilot_plan.

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 an explicit precondition (call only after the user agreed to the estimated credits per run) and states the outcome if the precondition is unmet, which is strong when-to-use guidance. It does not name sibling alternatives or contrast activation with re-creating or updating an existing plan, so it stops short of a 5.

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.

Resources