Skip to main content
Glama

KrystalView Analytics

Get Session Detail

get_session_detail
Read-onlyIdempotent

Get full details for a specific visitor session, including pages, events, device context, errors, and friction signals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession primary key from get_sessions.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesDetailed visitor session evidence including pages, events, context, errors, and friction signals.
metaYesSite and rate-limit metadata for the current MCP call.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate readonly, idempotent, non-destructive. The description adds context about the types of data returned, which goes beyond annotations without contradicting them.

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?

Single sentence, front-loaded with key action and resource, no wasted words.

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

Completeness5/5

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

With strong annotations, output schema, and clear description, the tool definition is complete for its purpose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the description for session_id adds meaning by linking it to get_sessions ('Session primary key from get_sessions').

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 states the tool retrieves full details for a session and lists specific data types (pages, events, device context, errors, friction signals), distinguishing it from sibling tools like get_sessions that list sessions.

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 parameter description implies usage after get_sessions, but no explicit guidelines on when to use vs alternatives or when not to use are provided.

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

A4/5.0
Disambiguation5/5

Each tool targets a distinct analytics dimension (anomalies, campaigns, errors, funnels, live visitors, notifications, scroll depth, sessions, site stats) with clear boundaries. Even overlapping concepts (sessions list vs detail vs live) are separated by distinct functionality.

Naming Consistency5/5

All tool names follow the consistent 'get_<resource>' pattern in snake_case, making it predictable for an agent to infer the purpose of each tool from the name alone.

Tool Count5/5

13 tools is well-scoped for an analytics server covering site stats, sessions, funnels, campaigns, errors, and real-time data. Each tool earns its place without redundancy or unnecessary complexity.

Completeness4/5

The set covers the major analytics domains (traffic, engagement, campaigns, errors, funnels, real-time). Minor gaps exist, such as missing tools for goal/conversion tracking beyond funnels, but core workflows are well supported.