Skip to main content
Glama
session-bridge
by Mahyardana

list_sessions

Retrieve saved coding agent sessions from oh-my-pi and Antigravity, newest first, with IDs, titles, workspace paths, timestamps, and sizes. Filter by source, workspace, query, or result limit.

Instructions

List saved coding agent sessions from oh-my-pi (omp) and/or Antigravity (agy), newest first, with session IDs, titles, workspace paths, timestamps, and sizes.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoOptional workspace path filter (matches sessions in this directory or subdirectories).
limitNoMaximum number of sessions to return.
queryNoOptional substring filter matching session ID, title, or workspace path.
sourceNoWhich tool's sessions to list.all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose useful behavior beyond the name — result ordering ('newest first') and the exact fields returned (IDs, titles, workspace paths, timestamps, sizes), which substitutes for the missing output schema. It says nothing about read-only semantics, whether results are truncated by 'limit', or what happens when both sources are combined.

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?

A single well-formed sentence that front-loads the action, the data sources, the ordering, and the return fields. No filler or redundancy.

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 four-parameter list tool with no output schema and no annotations, the description covers source scope, ordering, and result shape, which is enough to call it correctly. The remaining gap is the lack of any pagination or result-size caveat tied to the 'limit' default.

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 coverage is 100%, so every parameter is already documented, including the enum and the default limit. The description only adds the general 'and/or' framing of the source choice and does not clarify matching semantics beyond what 'cwd' and 'query' already state.

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 ('List') and resource ('saved coding agent sessions') and names the two backing sources (omp/agy). It is reasonably distinguishable from siblings like read_session_turns because it promises metadata fields rather than conversation content, though it never explicitly contrasts itself with them.

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?

Usage is only implied: an agent can infer this is the browsing/discovery step that yields session IDs before calling read_session_turns or the export/import tools. There is no explicit when-to-use or when-not-to-use statement, and no mention of the siblings at all.

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