Skip to main content
Glama

fetch_sessions

List sessions with optional time filters to retrieve session data for analysis and monitoring.

Instructions

List sessions with optional time filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
limitNo
projectNo
to_timestampNo
from_timestampNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the burden of explaining behavior. It implies a read-only listing operation, but it does not disclose pagination behavior, default ordering, or whether project filtering is included. These are notable gaps for a tool with five optional parameters, but the description is not misleading.

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 a single concise phrase that is front-loaded and free of unnecessary words. However, it is too terse to convey important details like pagination and project filtering, sacrificing completeness for brevity. It remains appropriately sized but could be expanded without becoming verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with five optional parameters, no annotations, and no parameter descriptions, this description is incomplete. It fails to explain pagination semantics, the meaning of the project filter, or the scope of 'sessions.' The output schema covers return values, but the input behavior is under-specified for reliable agent invocation.

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%, so the description must compensate. It mentions 'time filters,' which covers from_timestamp and to_timestamp, but it says nothing about page, limit, or project parameters. This leaves the majority of parameters unexplained beyond their names and defaults.

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 clearly uses the verb 'List' with the resource 'sessions' and mentions optional time filters, making its purpose obvious. It distinguishes itself from sibling tools like get_session_details (single session details) and analyze_sessions (analysis) by indicating a general listing operation, though it does not explicitly mention the project filter.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives. The description does not mention exclusions, prerequisites, or scenarios where another tool like get_user_sessions or fetch_traces would be more appropriate. This lack of differentiation leaves the agent without context for tool selection.

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/DrishtantKaushal/LangfuseMCP'

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