Skip to main content
Glama

List Jules Sessions

jules_list_sessions
Read-onlyIdempotent

List Jules sessions to check status, view outputs such as PR links, poll for completion, or find an active session ID. Supports pagination and markdown or JSON output.

Instructions

List your Jules sessions to check their status or view outputs (e.g. PR links).

Use this to poll for the completion of a session or to find an active session ID.

Args:

  • pageSize (number): Maximum results to return (default: 20)

  • pageToken (string): Page token for retrieving the next page

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

Returns: A list of sessions, including their state and any outputs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "jules_list_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageSizeNoMaximum results to return
pageTokenNoPage token for retrieving the next page
response_formatNoOutput format: 'markdown' or 'json'markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world access, so safety is settled. The description adds useful context about polling and returned state/outputs, but it omits pagination semantics beyond the raw parameter list (e.g. whether a next page token is returned), leaving behavioral depth modest.

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?

Core purpose and usage are front-loaded in two sentences, which is the right structure for scanning. The trailing Args/Returns sections duplicate schema and annotation information and could be trimmed without losing meaning.

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?

With no output schema, the description correctly supplies a return summary (list of sessions with state and outputs). For a simple three-optional-parameter read tool with strong annotations, this covers nearly everything an agent needs to call it correctly.

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% and every parameter already carries a description and default, so the Args block largely restates the schema (pageSize default 20, pageToken, response_format). It does not surface the 1-100 bounds on pageSize or explain token lifecycle, so it adds little beyond structured data.

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 opens with a specific verb and resource ('List your Jules sessions') and adds the intent behind it (check status, view outputs such as PR links). It is clearly distinct from siblings like jules_create_session or jules_approve_plan, though it never explicitly names them.

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?

'Use this to poll for the completion of a session or to find an active session ID' gives concrete when-to-use triggers. It does not state any when-not conditions or reference an alternative tool, so it stops short of a full routing instruction.

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