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

TDQS

A3.7/5.0
Behavior4/5

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

Even with readOnlyHint=true and openWorldHint=false in annotations, the description adds meaningful behavioral detail: sessions include full history, document chunks and tool calls are returned as references only, results are paginated, and ordering is by start time descending. This goes beyond the annotations and helps set expectations for the response shape.

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 compact and front-loaded with the core purpose, then lists filters and key output behavior. It is only three sentences and contains no fluff, though there is a minor formatting issue ('content.Returns') and the long filter sentence could be more scannable.

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 read-only list tool with an output schema and eight optional parameters, the description covers the essential behavior: filtering, pagination, ordering, and the reference-vs-full-content distinction. It does not explicitly mention the time_filter parameter in prose, but the schema provides a detailed description for that parameter, so the overall context is sufficient.

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. The description names several filters (interaction types, embed types, answer types, tool IDs, search query) but mostly restates what the schema covers and notably omits time_filter. It does add a little context by grouping the filter options, but does not significantly compensate for the undocumented page/limit parameters.

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 opens with a specific action and resource: 'List sessions for application,' and then enumerates the available filters. It is clearly distinct from siblings like read_session_detail and list_tools because it targets the plural 'sessions' resource with listing behavior, though it does not explicitly name sibling alternatives.

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 implies usage: call this when you need to list or filter sessions, and the note that document chunks and tool calls are only references suggests it is not for fetching full content. However, it never explicitly states when to prefer read_session_detail or read_chat_request_documents/tool_calls, so usage guidance is implied rather than direct.

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.

TDQS

A3.6/5.0
Disambiguation5/5

Each tool targets a distinct resource or metric, and even the closely related analytics tools (e.g. get_top_languages vs get_top_locales, get_top_interaction_sources vs get_top_clicked_urls) are explicitly differentiated in their descriptions. There is no real overlap that would cause an agent to misselect.

Naming Consistency4/5

The verb prefixes create_, get_, list_, read_, and update_ are used predictably, and there is no mixing of camelCase or other conventions. The main inconsistency is that read_sessions is actually a list operation while list_nodes is the equivalent pattern for nodes, and read_session_detail is the singular read.

Tool Count2/5

At 33 tools, this set is well beyond the 16-25 'heavy' range and far above the typical well-scoped 3-15 range. Many of the get_top_* analytics endpoints are individually distinct but could likely be consolidated into fewer parameterized tools to reduce agent selection overhead.

Completeness3/5

The read and analytics side is comprehensive, but the management lifecycle has notable gaps: knowledge nodes support create/read/update but no delete, and data sources/tools lack create/delete operations. Agents can work around some gaps, but content deletion is a clear dead end for a knowledge-base management surface.

Resources