Skip to main content
Glama

List Jules Sessions

jules_list_sessions

Lists all Jules sessions and their current states to help you find session IDs or monitor multiple tasks.

Instructions

List all your Jules sessions with their current states. Useful for finding session IDs or checking on multiple tasks.

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
pageSizeNoNumber of sessions per page (default: 10)
pageTokenNoToken for pagination to get next page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read-only listing operation and mentions 'current states', but omits important traits such as pagination behavior, ordering, authentication requirements, and whether the result is a full snapshot or a summary. For a tool with zero annotation coverage, this is a significant gap.

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 description is two short, front-loaded sentences with no wasted words. The second sentence adds useful context without repeating the title. It is appropriately sized for a simple list tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter list tool with full schema coverage and no output schema, the description covers the basic purpose but leaves gaps around what 'current states' actually contains and how pagination should be driven. An agent can call it correctly, but the description does not fully compensate for the absence of an output schema or annotations.

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 pageSize and pageToken are already fully documented in the input schema. The description adds no further semantic detail about pagination defaults, token expiry, or page-size limits. A baseline of 3 is appropriate when the schema does the heavy lifting.

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 uses a specific verb and resource: 'List all your Jules sessions with their current states.' This clearly distinguishes sessions from the sibling list tools (activities, sources) without needing to name them. It stops short of 5 only because it doesn't explicitly contrast itself against every other list tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides a use case ('finding session IDs or checking on multiple tasks'), which gives the agent clear context for when this tool is appropriate. However, there is no guidance on when not to use it and no explicit mention of alternatives such as jules_get_status or jules_list_activities.

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