Skip to main content
Glama

Propose channel Autopilot switch

set_autopilot_channel_enabled
Idempotent

Stages a version-checked change to Autopilot for one connected channel targetKey obtained from section=autopilot_channels. The setting changes only after the workspace owner applies the returned review proposal.

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": {
      "targetKey": "<targetKey>",
      "enabled": "<enabled>"
    },
    "name": "set_autopilot_channel_enabled"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYes
targetKeyYes

Output Schema

NameRequiredDescriptionDefault
runIdNo
scopeYes
statusYes
enabledYes
replayedNo
reviewUrlNo
targetKeyNo
proposalIdNo
targetLabelNo
proposalKindNo
conversationIdNo
proposalStatusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), so the description's job is to add workflow context, and it does: the change is staged and version-checked, and only takes effect after the workspace owner applies the returned review proposal. That two-phase, concurrency-checked behavior is material and not implied by any annotation. It stops short of saying what a stale version or rejected proposal looks like at call time.

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, with the action and scope front-loaded ahead of the approval caveat. Every clause carries either scope, prerequisite, or behavioral information.

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?

An output schema exists, so return values need not be explained, and the description still flags that a review proposal comes back and must be applied. For a low-complexity two-parameter mutation the coverage is close to sufficient; the only meaningful omission is what happens on a version mismatch or a declined proposal.

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 description coverage is 0%, so the description must carry parameter meaning, and it does for the ambiguous one: targetKey is scoped to one connected channel and sourced from section=autopilot_channels. The 'enabled' boolean is left to its self-evident name, which is acceptable for a two-parameter tool but means the enable/disable direction is never stated outright.

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 states a specific verb and scope: staging a version-checked Autopilot change for exactly one connected channel, keyed by targetKey. That scoping implicitly separates it from the workspace-level sibling (set_autopilot_workspace_enabled), but the sibling is never named, so the agent must infer the distinction from scope wording alone.

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 a concrete prerequisite for the non-obvious input ('targetKey obtained from section=autopilot_channels'), which tells the agent where to source parameters before calling. It also makes clear this is a propose-then-apply flow rather than an immediate flip, though it does not explicitly say when to prefer this over the workspace-level or review-running siblings.

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