Skip to main content
Glama

Approve Jules Execution Plan

jules_approve_plan

Approves a Jules session's execution plan when it is waiting for plan approval. Review the plan first with jules_list_activities, then approve to proceed.

Instructions

Approve the execution plan for a Jules session that has requirePlanApproval=true. Only needed when session state is WAITING_FOR_PLAN_APPROVAL. View the plan first with jules_list_activities.

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": {
      "sessionId": "<sessionId>"
    },
    "name": "jules_approve_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdYesSession ID to approve plan for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It reveals the state precondition and the recommended read-before-write sequence, but says nothing about what approval triggers (e.g. that the session resumes execution), whether the action is idempotent or reversible, or what error results from a wrong-state call.

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?

Three short sentences, front-loaded with the action and its gate, then the prerequisite. Nothing is redundant and no reader time is wasted.

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 one-parameter mutation with no output schema, the definition covers the key things an agent needs: the triggering state and the preceding read step. The remaining gap is post-approval behavior, which is a modest omission given the tool's simplicity.

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?

There is a single parameter with 100% schema description coverage, so the schema already defines sessionId fully. The description adds no format, sourcing, or identification guidance beyond the schema baseline.

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+resource ('Approve the execution plan') and scopes it to a session with requirePlanApproval=true. That is far more precise than the name alone, though it does not explicitly contrast itself with siblings beyond pointing at jules_list_activities as a read step.

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?

'Only needed when session state is WAITING_FOR_PLAN_APPROVAL' gives an explicit condition for invocation, and 'View the plan first with jules_list_activities' supplies a prerequisite step naming a concrete sibling. It stops short of saying what to do if the state is wrong, but the gating guidance is clear.

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