Skip to main content
Glama

Approve Jules Session Plan

jules_approve_plan
Destructive

Approve a paused session's plan when explicit approval is required, allowing Jules to proceed with execution.

Instructions

Approve the plan for a session that requires explicit approval.

If you created a session with requirePlanApproval: true, Jules will pause and wait for approval. Call this tool to allow it to proceed.

Args:

  • sessionId (string): The session ID or name (e.g., "sessions/12345" or "12345").

  • response_format ('markdown' | 'json'): Output format (default: 'markdown').

Returns: Status of the approval.

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
sessionIdYesThe session ID or resource name (e.g., 'sessions/12345').
response_formatNoOutput format: 'markdown' or 'json'markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.8/5.0
Behavior3/5

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

Annotations declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is already carried by structured data and the description is not required to restate it. The description does add useful state context (the session pauses pending approval and proceeds afterward) and mentions the return value. However, it omits what the annotation implies is significant: that approval is a non-idempotent, effectively destructive commitment, and it says nothing about whether approval can be revoked or what happens to the session state on approval.

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?

Front-loaded with the purpose sentence, then the triggering condition, then compact Args/Returns blocks. Each section is short and no sentence is filler, though the Args block largely duplicates the schema.

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 two-parameter approval action with no output schema, the definition covers what triggers it, what it does, and that it returns an approval status. The only real gap is the consequence of approving, which the destructive annotation flags but the prose never explains.

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 both parameters are already documented in the schema. The description repeats the sessionId formats ('sessions/12345' or '12345') and the response_format default, adding no semantics beyond what the schema provides; a 3 baseline is correct here.

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 and resource: 'Approve the plan for a session.' The conditional scope ('a session that requires explicit approval') narrows it accurately, so it is distinguishable from the sibling session-management tools without opening any 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?

Gives an explicit trigger condition: 'If you created a session with requirePlanApproval: true, Jules will pause and wait for approval. Call this tool to allow it to proceed.' That tells the agent exactly when this tool is the right call. It does not name any alternative or state what to do if the session does not require approval, so it stops short of full when/when-not guidance.

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