Skip to main content
Glama
Alex-Shirazi1

AI Switch MCP Server

list_sessions

Retrieve recent coding sessions with filters for project path and status to locate and manage ongoing work across AI assistants.

Instructions

List recent sessions with filters for project path and status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
statusNoall
project_pathNo
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It does not disclose whether the operation is read-only, what 'recent' means, how results are ordered, or any side effects. The description is a bare function statement.

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?

The description is a single concise sentence, front-loaded with the action and resource, and contains no fluff or repetition.

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 simple list tool with three parameters, the description covers the core filtering function but leaves gaps: the limit parameter is not explained, no return format is mentioned (no output schema exists), and 'recent' is undefined. It is adequate but not complete.

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 0%, so the description must compensate. It names project_path and status as filters, adding meaning beyond the schema, but it does not explain the limit parameter or its role in controlling result size.

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?

The description uses the specific verb 'list' with the resource 'sessions' and mentions filters, immediately distinguishing it from siblings like get_session and get_latest_session. It clearly indicates this is a multi-session listing operation.

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 description implies usage for browsing multiple sessions with optional filters, which is clear in context. However, it does not explicitly state when not to use it or name alternatives, so it falls short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Alex-Shirazi1/AISwitchMCPServer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server