Skip to main content
Glama

gemini_list_sessions

Lists saved sessions newest first, showing session IDs, update times, titles, and related files so you can pick a session ID and continue prior context with other tools.

Instructions

List saved sessions, newest first: session_id, updated time, title and related files.

Pass a session_id from here to any other tool to continue that session.

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": "gemini_list_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose sort order and the shape of what comes back, which is the core behavior for a listing tool, but says nothing about pagination beyond `limit`, whether results are truncated, or what happens when no sessions exist.

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?

Two short sentences, front-loaded with the operation and followed by the payoff instruction. No wasted wording; a brief note on the limit parameter could be added without hurting compactness.

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?

There is no output schema, and the description compensates by naming the returned fields, which is appropriate. However, for a tool whose only knob is a limit, leaving that parameter entirely unexplained is a real omission given zero schema coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter (`limit`, default 20) is never mentioned in the description. The agent gets no meaning for the only input it can supply — no guidance on maximum value, what happens on overflow, or whether 0 means unlimited.

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?

States a specific verb and resource ('List saved sessions') and immediately specifies ordering ('newest first') plus the exact fields returned (session_id, updated time, title, related files). No sibling in the catalog overlaps with session listing, so the agent can route here unambiguously.

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?

The second sentence gives concrete downstream guidance: take a session_id from this result and pass it to any other tool to continue that session. It stops short of explicit when-not-to-use or tiering guidance (e.g., when to list vs. start fresh), so it is clear context without exclusions.

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