Skip to main content
Glama

read_sessions

Read-only

List sessions for application. Filter by interaction types (chat, search, navigation, form_submission, voice), embed types, answer types, tool IDs, or a full-text search query. Each session includes its full history, but document chunks and tool calls are returned as references (IDs + titles) rather than full content.Returns paginated results ordered by start time descending.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
limitNo
tool_idsNoFilter sessions that involved specific tool UUID(s). Only exists for chat sessions.
embed_typesNoFilter by embed type(s) through which sessions were initiated.
time_filterNoTime window for the analytics query. Accepts either: (a) a preset enum value: 'this_month', 'this_year', 'last_month', 'last_30_days' (default), 'last_6_months', 'last_12_months'; or (b) an explicit ISO date range as 'YYYY-MM-DD,YYYY-MM-DD' (inclusive).
answer_typesNoFilter by answer type(s) returned to users. Only exists for chat sessions.
interactionsNo'chat', 'search', 'navigation', 'form_submission', or 'voice'.
search_queryNoFull-text search across session content. Returns all when omitted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, and the description adds meaningful behavioral detail: sessions include full history, document chunks and tool calls are returned as references (IDs + titles) rather than full content, and results are paginated and ordered by start time descending. No contradiction with annotations.

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 concise and front-loaded with the core action and resource. The second sentence is dense but valuable; a minor formatting typo ('content.Returns') slightly detracts from polish.

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?

Given 8 parameters, high schema coverage, an output schema, and readOnly annotations, the description covers the important behavioral gaps: reference-only content, pagination, and ordering. It could mention default time_filter or page/limit behavior, but these are already in the schema.

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 75%, so the schema already documents most parameters, including time_filter formats and enum values. The description restates filters in prose but adds little semantic detail beyond what the schema provides.

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 states a specific verb and resource: 'List sessions for application.' It then enumerates the available filters (interactions, embed types, answer types, tool IDs, full-text search), making the tool's scope immediately clear and distinguishing it from siblings such as read_session_detail.

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?

The description clearly conveys when to use this listing tool and what filtering capabilities it offers, but it does not explicitly contrast it with read_session_detail or other analytics siblings, nor does it state when not to use it. Usage context is implied rather than spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources