Skip to main content
Glama

Pirsch Analytics MCP by usefulapi

Get session details

pirsch_get_session
Read-only

All page views and events of one session in time order. Both ids come from pirsch_list_sessions. GET /api/v1/statistics/session/details.

Input Schema

NameRequiredDescriptionDefault
toYesLast day, yyyy-mm-dd, whole day included.
tzNoIANA time zone such as Europe/Berlin. Default: the dashboard's time zone.
fromYesFirst day, yyyy-mm-dd (in the dashboard time zone unless tz is set).
domain_idYesPirsch domain (dashboard) id. Get it from pirsch_list_domains.
session_idYessession_id from pirsch_list_sessions.
visitor_idYesvisitor_id from pirsch_list_sessions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds the useful traits that results are time-ordered and that ids are chained from list_sessions, but says nothing about pagination, limits, or what happens with a large session.

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?

Two short sentences with zero filler; the result content and ordering are front-loaded and the id-source note follows immediately.

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?

With no output schema and a read-only annotation set, the description supplies the essential return expectation (page views plus events, time-ordered) and the prerequisite id source, which is enough for a 5-param drill-down call. Minor gaps around result size or pagination keep it from 5.

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 parameter is already documented in the schema, including tz defaulting and date semantics. The description only adds id provenance, not syntax or format detail beyond the schema, matching the baseline.

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?

States a specific resource (one session) and what it returns (all page views and events in time order), which clearly differentiates it from pirsch_list_sessions. It stops short of explicitly naming the sibling it contrasts with, but the 'one session' scoping makes the distinction inferable.

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

Usage Guidelines4/5

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

'Both ids come from pirsch_list_sessions' tells the agent this is a follow-up drill-down call and where the required identifiers originate. No when-not conditions or exclusions are given, so it falls short of a 5.

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.