Skip to main content
Glama
Exceptionless MCP Server

Exceptionless MCP Server

get-sessions

List user activity sessions with filtering, time ranges, sorting, and pagination to analyze Exceptionless session data.

Instructions

List user activity sessions with filtering and pagination.

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": "get-sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNosummary=minimal fields, full=all fields (uses more tokens)
pageNoPage number for pagination
sortNoSort field (e.g. date, -date). Prefix with - for descending
timeNoTime range (e.g. last hour, last 7 days, last week)
afterNoCursor for pagination (after this ID)
limitNoResults per page (default: 5, max: 100)
beforeNoCursor for pagination (before this ID)
filterNoFilter query (e.g. type:session, user:john@example.com)
offsetNoTimezone offset in minutes
project_idNoProject ID to filter sessions (overrides EXCEPTIONLESS_PROJECT_ID if set)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and mostly fails it: it doesn't state that this is a read-only listing, what the default page size is, how cursor pagination (after/before) interacts with page/offset, or what a 'session' record contains. The only behavioral hint is the generic phrase 'with pagination', which the schema already conveys through the after/before/page/limit parameters.

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?

A single front-loaded sentence with no wasted words or filler. It is efficient, though its brevity comes at the cost of the guidance that would make it more useful.

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?

With ten optional parameters, no annotations, and no output schema, this tool needs far more description than one sentence. Nothing explains the summary-vs-full mode tradeoff, the pagination strategy, or how filtering syntax relates to the other get-* tools, leaving an agent to reconstruct intent from the schema alone.

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 100%, so every one of the ten parameters already has its own description, including the mode token tradeoff and the project_id override. The description adds no parameter meaning beyond the schema, so the baseline 3 applies.

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 states a specific verb plus resource ('List user activity sessions'), which is enough for an agent to distinguish it from the event-oriented siblings like get-events or get-session-events. It stops short of explicitly differentiating itself from those siblings, so it lands at a clear-but-undifferentiated 4.

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?

Mentioning 'filtering and pagination' implies the tool's usage context, but no sentence says when to pick this over get-session-events or get-events, and no prerequisites or exclusions are given. Usage is only inferable from the name and resource.

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