Skip to main content
Glama

jev_autopilot_decide

Decides whether a coding agent can proceed with a reversible engineering choice or must ask a human a multiple-choice technical question, based on confidence and recent guard warnings.

Instructions

Human-Proxy Autopilot Decision Maker (disabled by default; enabled only when the server runs with JEV_AUTOPILOT=1). Call it before asking the user a multiple-choice technical question. Returns AUTOPILOT_PROCEED only when autopilot is enabled, the choice is a clear reversible engineering decision (P >= 0.65), and jev_guard_action has not returned ASK_USER/BLOCK in this workspace within the last 15 minutes. Otherwise returns ASK_HUMAN with Jev's recommended option to list first.

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": {
      "question": "<question>",
      "options": "<options>"
    },
    "name": "jev_autopilot_decide"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoCurrent project/code context relevant to the decision
optionsYesMap of option_id -> description of each candidate approach or choice
questionYesThe question the coding agent is considering asking the user
min_confidenceNoRaise the minimum probability (0-1) required to auto-decide; values below the 0.65 floor are ignored
working_directoryNoOptional project workspace directory
developer_preferencesNoOptional override for the developer's architectural/taste preferences

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does well: default-disabled state, the JEV_AUTOPILOT=1 enablement condition, the exact AUTOPILOT_PROCEED vs ASK_HUMAN return contract, the 0.65 confidence floor, and the 15-minute guard window are all spelled out. It omits whether the call has any side effects or persistence, which keeps it from a 5.

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 enablement caveat is front-loaded in parentheses before the call-site instruction, which is the right ordering for an agent skimming. The third sentence packs several conjunction-joined conditions into one long clause, making it dense but still single-pass readable.

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 six-parameter tool with a nested options map and no output schema, the description supplies the return values and the decision logic that would otherwise be missing. Remaining gaps (invalid-input behavior, latency, whether options ordering is mutated) are minor for a decision-only tool.

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 100%, so all six parameters already explain themselves; the description only reinforces the meaning of min_confidence by tying it to the 0.65 floor and mentions the recommended-option ordering in the return. It adds little semantic content the schema does not already contain, so the baseline 3 applies.

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 names a specific verb and resource ('Human-Proxy Autopilot Decision Maker') and states exactly what the tool returns and under what condition. It also distinguishes itself from the sibling jev_guard_action by naming it as a gating dependency, so the agent can tell the two apart without opening either schema.

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 call-site instruction ('Call it before asking the user a multiple-choice technical question') and states the precondition chain (autopilot enabled, reversible decision, no recent ASK_USER/BLOCK from jev_guard_action). It does not enumerate when-not-to-use cases beyond the 'clear reversible engineering decision' scope, which is why it falls 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.